-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
False
-
None
-
False
-
NEW
-
NEW
-
---
-
---
-
-
~~~
INFO [org.drools.compiler.kie.builder.impl.KieContainerImpl] (main) // Start creation of KieBase: ProcessDefinitionId
java.lang.NullPointerException
at org.jbpm.bpmn2.xml.BoundaryEventHandler.end(BoundaryEventHandler.java:62)
at org.drools.core.xml.ExtensibleXmlParser.endElement(ExtensibleXmlParser.java:441)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:598)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:673)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1645)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:875)
at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:798)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1198)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:564)
at org.apache.xerces.jaxp.SAXParserImpl.parse(SAXParserImpl.java:298)
at org.drools.core.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:318)
at org.drools.core.xml.ExtensibleXmlParser.read(ExtensibleXmlParser.java:181)
at org.jbpm.compiler.xml.XmlProcessReader.read(XmlProcessReader.java:78)
at org.jbpm.compiler.ProcessBuilderImpl.addProcessFromXml(ProcessBuilderImpl.java:292)
at org.jbpm.assembler.AbstractProcessAssembler.addResourceAfterRules(AbstractProcessAssembler.java:47)
at org.kie.internal.services.KieAssemblersImpl.addResourceAfterRules(KieAssemblersImpl.java:59)
~~~
In version 2.7.0, boundary events have the attribute cancelActivity="true" specified, while in version 3.2.0 web editors omitted these parameter . That is the reason for the NPE.Its not expected to return null by element.getAttributeNode("cancelActivity") when the attribute "cancelActivity" is not specified.
- clones
-
RHPAM-4801 NPE while parsing BPMN process after modifying from RHPAM 7.13.2 web designer
- Closed