Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-3318

Subprocess with end parsing exception

    XMLWordPrintable

    Details

      Description

      When I load tha attached definition in a knowledge base, I have this error:

      java.lang.IllegalArgumentException: Could not find source node for connection:SubProcess_1

      at org.jbpm.bpmn2.xml.ProcessHandler.linkConnections(ProcessHandler.java:164)

      at org.jbpm.bpmn2.xml.SubProcessHandler.handleCompositeContextNode(SubProcessHandler.java:97)

      at org.jbpm.bpmn2.xml.SubProcessHandler.end(SubProcessHandler.java:83)

      at org.drools.xml.ExtensibleXmlParser.endElement(ExtensibleXmlParser.java:414)

      at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)

      at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(Unknown Source)

      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)

      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

      at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

      at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

      at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

      at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)

      at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)

      at org.drools.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:293)

      at org.drools.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:172)

      at org.jbpm.compiler.xml.XmlProcessReader.read(XmlProcessReader.java:46)

      at org.jbpm.compiler.ProcessBuilderImpl.addProcessFromXml(ProcessBuilderImpl.java:249)

      at org.drools.compiler.PackageBuilder.addProcessFromXml(PackageBuilder.java:516)

      at org.drools.compiler.PackageBuilder.addKnowledgeResource(PackageBuilder.java:560)

      at org.drools.builder.impl.KnowledgeBuilderImpl.add(KnowledgeBuilderImpl.java:28)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                swiderski.maciej Maciej Swiderski
                Reporter:
                mpiraccini Marco Piraccini
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: