{"record":{"id":"b38921255a02d498","repo":"flowable/flowable-engine","slug":"error-parsing-input-values","errorCode":null,"errorMessage":"Error parsing input values","messagePattern":"Error parsing input values","errorType":"console","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"modules/flowable-dmn-xml-converter/src/main/java/org/flowable/dmn/converter/child/InputValuesParser.java","lineNumber":57,"sourceCode":"\n        UnaryTests inputValues = new UnaryTests();\n\n        boolean readyWithInputValues = false;\n        try {\n            while (!readyWithInputValues && xtr.hasNext()) {\n                xtr.next();\n                if (xtr.isStartElement() && ELEMENT_TEXT.equalsIgnoreCase(xtr.getLocalName())) {\n                    String inputValuesText = xtr.getElementText();\n                    inputValues.setText(inputValuesText);\n\n                    List<Object> splitInputValues = splitAndFormatInputOutputValues(inputValuesText);\n                    inputValues.setTextValues(splitInputValues);\n                } else if (xtr.isEndElement() && getElementName().equalsIgnoreCase(xtr.getLocalName())) {\n                    readyWithInputValues = true;\n                }\n            }\n        } catch (Exception e) {\n            LOGGER.warn(\"Error parsing input values\", e);\n        }\n\n        clause.setInputValues(inputValues);\n    }\n}\n","sourceCodeStart":39,"sourceCodeEnd":63,"githubUrl":"https://github.com/flowable/flowable-engine/blob/d6d39ce1c69ff244f2d9dc6af756a9b95e865586/modules/flowable-dmn-xml-converter/src/main/java/org/flowable/dmn/converter/child/InputValuesParser.java#L39-L63","documentation":"Warning logged by InputValuesParser.parseChildElement when an exception is thrown while parsing the <inputValues> element (allowed input values list) of a DMN input clause. The exception is swallowed; the clause keeps a null or partial inputValues, so validation of input entry values against allowed values is skipped for that column.","triggerScenarios":"Parsing <inputValues> contents where splitInputValues processing or the XMLStreamReader itself throws (malformed XML, unexpected token, bad CDATA/text structure) before the </inputValues> end element is reached.","commonSituations":"Malformed comma-separated value lists in .dmn XML edited by hand; exporter quirks nesting <text> differently than expected; corrupted or truncated files.","solutions":["Check the attached stack trace for the concrete parsing exception.","Fix the <inputValues> block: values should be a comma-separated list inside <text>, e.g. <text>\"A\",\"B\"</text>.","Validate the .dmn against the DMN XSD before deployment.","Re-export from the DMN tool to regenerate standard XML."],"exampleFix":"<!-- before -->\n<inputValues><text></text></inputValues> <!-- malformed/unclosed structure -->\n<!-- after -->\n<inputValues><text>\"standard\",\"premium\"</text></inputValues>","handlingStrategy":"validation","validationCode":"// check inputValues format before deployment\nString text = inputValuesText.trim();\nif (!text.isEmpty() && !Pattern.compile(\"^(\\\\\\\"[^\\\"]*\\\\\\\"|[^,\\\\\\\"]+)(\\\\s*,\\\\s*(\\\\\\\"[^\\\"]*\\\\\\\"|[^,\\\\\\\"]+))*$\").matcher(text).matches()) {\n  throw new IllegalArgumentException(\"inputValues must be a comma-separated list: \" + text);\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Write allowed values as comma-separated quoted strings inside <text>","XSD-validate .dmn files in CI","Verify clause.getInputValues() after parsing when validation of entries depends on it","Regenerate files from the DMN tool after any manual edit"],"tags":["flowable","dmn","xml-parsing"],"backgroundTag":"schema-validation-failed","analyzedSha":"d6d39ce1c69ff244f2d9dc6af756a9b95e865586","analyzedAt":"2026-09-11T06:41:19.413Z","contentChangedAt":"2026-09-11T06:41:19.413Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}