You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "martinweiler (via GitHub)" <gi...@apache.org> on 2025/10/08 14:15:22 UTC

[I] ProcessCodegen failing when text-annotation is present in bpmn file [incubator-kie-issues]

martinweiler opened a new issue, #2137:
URL: https://github.com/apache/incubator-kie-issues/issues/2137

   In a bpmn file, when there is a `<textAnnotation>` after any node element, inside `<process>`, the build is failing with below error:
   ```
   Caused by: org.kie.kogito.codegen.process.ProcessCodegenException: Processes with errors are Invalid process: 'testtextannotation.bpmn'. Found error: org.xml.sax.SAXParseException; lineNumber: 12; columnNumber: 93; <textAnnotation> is after an invalid element: org.jbpm.compiler.xml.Handler
       at org.jbpm.compiler.xml.core.ExtensibleXmlParser.validate (ExtensibleXmlParser.java:515)
       at org.jbpm.compiler.xml.core.ExtensibleXmlParser.startElement (ExtensibleXmlParser.java:411)
   ```
   If  `<textAnnotation>` is at the starting of `<process>` (before node elements) then working as expected.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [I] ProcessCodegen failing when text-annotation is present in bpmn file [incubator-kie-issues]

Posted by "martinweiler (via GitHub)" <gi...@apache.org>.
martinweiler closed issue #2137: ProcessCodegen failing when text-annotation is present in bpmn file
URL: https://github.com/apache/incubator-kie-issues/issues/2137


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org