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:
Hi Duncan, I haven't been able to reproduce this bug. Here's what I have tried: 1. Install bpms6.0.3-GA using the file jboss-bpms-installer-6.0.3.GA-redhat-1.jar 2. Login to http://localhost:8080/business-central 3. Go to Authoring -> Project Authoring 4. Select menu option New Item -> Business Process 5. Create a new BP with either a random name or called "simple-webservices-integration-process" 6. In the BP editor, select the menu option "Import from BPMN2" 7. Either browse to a file in which I saved your BP, or copy/paste the BP from https://raw.githubusercontent.com/DuncanDoyle/HowToJBoss-jBPM5_WebServices_integration/master/Simple_jBPM_Process/src/main/resources/jbpm5-process-definitions/org.jboss.ddoyle.howtojboss.jbpm5webservices.simple-webservices-integration-process.v1.bpmn2 8. Save the BP 9. There is no error in the log and when I close then re-open the BP, it looks OK. Can you tell me if you're doing something different to import the bpmn2? Thanks Jeremy
Hi Duncan, I can't reproduce this (see Comment 2). Can you give very detailed reproduction instructions? Thanks Jeremy
I have got same results as Jeremy.
I got same results as Sona and Jeremy. Process is saved without any problem, no error in log. Duncan, can you please try to reproduce it?
Three people cannot reproduce this issue (comment #4, comment #6 and comment #7). Duncan's last comment is more than two month old. The "needinfo" flag was set month ago. There is nothing to verify (no commit on github). This is a reason why I close this issue as NOTABUG. Duncan, please feel free to reopen this issue if the problem still persist. We need one instance of BPM Suite where the problem occurs.
Bugzilla seems to still require my comment. As 3 people have not been able to reproduce, looked like a glitch in the Matrix.