-
Bug
-
Resolution: Cannot Reproduce
-
Critical
-
6.0.3
-
None
-
x86_64 Mac OS
Description of problem:
When I import the following BPMN2 process (https://github.com/DuncanDoyle/HowToJBoss-jBPM5_WebServices_integration/blob/master/Simple_jBPM_Process/src/main/resources/jbpm5-process-definitions/org.jboss.ddoyle.howtojboss.jbpm5webservices.simple-webservices-integration-process.v1.bpmn2) into the BPMSuite designer, the process imports successfully and is correctly displayed. When I save the process, the designer shows the "Successfully saved business process" notification. However, there is a NPE stacktrace in the server log and the process is not saved to the Git repository.
12:31:10,450 ERROR [stderr] (http-/0.0.0.0:8080-5) java.lang.NullPointerException
12:31:10,450 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.updateQNamePrefix(XMLHelperImpl.java:1729)
12:31:10,450 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLHelperImpl.convertToString(XMLHelperImpl.java:1613)
12:31:10,451 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.getDatatypeValue(XMLSaveImpl.java:3077)
12:31:10,451 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveDataTypeSingle(XMLSaveImpl.java:1678)
12:31:10,451 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1265)
12:31:10,451 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:2685)
12:31:10,451 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1174)
12:31:10,451 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1035)
12:31:10,451 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedSingle(XMLSaveImpl.java:2372)
12:31:10,452 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1527)
12:31:10,452 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:2685)
12:31:10,453 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1174)
12:31:10,453 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1035)
12:31:10,453 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementFeatureMap(XMLSaveImpl.java:2435)
12:31:10,453 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1498)
12:31:10,453 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:2685)
12:31:10,453 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1174)
12:31:10,454 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1035)
12:31:10,454 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementFeatureMap(XMLSaveImpl.java:2435)
12:31:10,454 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1498)
12:31:10,454 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:2685)
12:31:10,454 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1174)
12:31:10,454 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1035)
12:31:10,455 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedMany(XMLSaveImpl.java:2386)
12:31:10,455 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1533)
12:31:10,455 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:2685)
12:31:10,455 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1174)
12:31:10,455 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElement(XMLSaveImpl.java:1035)
12:31:10,455 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveContainedMany(XMLSaveImpl.java:2386)
12:31:10,456 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveFeatures(XMLSaveImpl.java:1533)
12:31:10,456 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.saveElementID(XMLSaveImpl.java:2685)
12:31:10,456 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.writeTopObject(XMLSaveImpl.java:680)
12:31:10,456 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.traverse(XMLSaveImpl.java:588)
12:31:10,456 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.jbpm.designer.bpmn2.resource.JBPMXMLSaveImpl.traverse(JBPMXMLSaveImpl.java:48)
12:31:10,456 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.save(XMLSaveImpl.java:256)
12:31:10,457 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doSave(XMLResourceImpl.java:206)
12:31:10,457 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:1406)
12:31:10,457 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.jbpm.designer.web.profile.impl.JbpmProfileImpl$1.parseModel(JbpmProfileImpl.java:219)
12:31:10,457 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.jbpm.designer.repository.servlet.AssetServiceServlet.doPost(AssetServiceServlet.java:103)
12:31:10,457 ERROR [stderr] (http-/0.0.0.0:8080-5) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
12:31:10,458 ERROR [stderr] (http-/0.0.0.0:8080-5) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
12:31:10,458 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
12:31:10,458 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
12:31:10,458 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65)
12:31:10,459 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
12:31:10,459 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
12:31:10,459 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74)
12:31:10,459 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
12:31:10,460 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
12:31:10,460 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70)
12:31:10,460 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
12:31:10,460 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
12:31:10,460 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.uberfire.security.server.UberFireSecurityFilter.doFilter(UberFireSecurityFilter.java:266)
12:31:10,460 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
12:31:10,461 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
12:31:10,461 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
12:31:10,461 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
12:31:10,461 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
12:31:10,461 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
12:31:10,462 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
12:31:10,462 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
12:31:10,462 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
12:31:10,462 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
12:31:10,462 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:408)
12:31:10,462 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
12:31:10,463 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
12:31:10,463 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
12:31:10,463 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
12:31:10,463 ERROR [stderr] (http-/0.0.0.0:8080-5) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
12:31:10,463 ERROR [stderr] (http-/0.0.0.0:8080-5) at java.lang.Thread.run(Thread.java:745)
12:31:10,463 ERROR [org.jbpm.designer.repository.servlet.AssetServiceServlet] (http-/0.0.0.0:8080-5) Error storing asset: null
Version-Release number of selected component (if applicable):
JBoss BPMSuite 6.0.3.GA
How reproducible:
Import the following BPMN2 process into the web-designer and save the process: https://github.com/DuncanDoyle/HowToJBoss-jBPM5_WebServices_integration/blob/master/Simple_jBPM_Process/src/main/resources/jbpm5-process-definitions/org.jboss.ddoyle.howtojboss.jbpm5webservices.simple-webservices-integration-process.v1.bpmn2
Steps to Reproduce:
1. Import the following BPMN2 process into the designer https://github.com/DuncanDoyle/HowToJBoss-jBPM5_WebServices_integration/blob/master/Simple_jBPM_Process/src/main/resources/jbpm5-process-definitions/org.jboss.ddoyle.howtojboss.jbpm5webservices.simple-webservices-integration-process.v1.bpmn2
2. Save the process. Notice the 'Successfully saved business process' notification.
3. Inspect the BPMSuite server.log and notice the NPE stacktrace. Notice that the process has not been saved in Git.
Actual results:
Process not saved in Git, but UI gives "Successfully saved business process" notification.
Expected results:
Either the UI should say that the process has not beens stored and give a meaningful error, or the process should be saved correctly in Git.
Additional info: