Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-4514

Null Pointer exception occurs for Business Process with empty Embedded SubProcess

XMLWordPrintable

    • Release Notes
    • RC2
    • CR1
    • Hide

      1. Create simple Business Process: Start Event -> (Empty) Embedded Subprocess -> End Event
      2. Start Simulation

      Actual Result:
      Error notification is shown with "Null Pointer" message (see )

      Expected Result:
      Simulation is started successfully or description of an process error will be shown.

      Show
      1. Create simple Business Process: Start Event -> (Empty) Embedded Subprocess -> End Event 2. Start Simulation Actual Result: Error notification is shown with "Null Pointer" message (see ) Expected Result: Simulation is started successfully or description of an process error will be shown.

      If you start Simulation for process with empty Embedded Subprocess no warnings will be shown (as for example for "The sum of probability values" error), but Null Pointer message shown.

      Additional Info:
      Server log contains exception:

      13:17:56,252 ERROR [org.jbpm.designer.web.server.SimulationServlet] (http-127.0.0.1:8080-1) Error during simulation: java.lang.IllegalArgumentException: Process is not valid for simulation - use validation to find errors
      	at org.jbpm.simulation.converter.SimulationFilterPathFormatConverter.convert(SimulationFilterPathFormatConverter.java:87) [jbpm-simulation-6.4.0.Final-redhat-8.jar:6.4.0.Final-redhat-8]
      	at org.jbpm.simulation.converter.SimulationFilterPathFormatConverter.convert(SimulationFilterPathFormatConverter.java:49) [jbpm-simulation-6.4.0.Final-redhat-8.jar:6.4.0.Final-redhat-8]
      	at org.jbpm.simulation.impl.BPMN2PathFinderImpl.findPaths(BPMN2PathFinderImpl.java:149) [jbpm-simulation-6.4.0.Final-redhat-8.jar:6.4.0.Final-redhat-8]
      	at org.jbpm.simulation.SimulationRunner.runSimulation(SimulationRunner.java:83) [jbpm-simulation-6.4.0.Final-redhat-8.jar:6.4.0.Final-redhat-8]
      	at org.jbpm.simulation.SimulationRunner.runSimulation(SimulationRunner.java:73) [jbpm-simulation-6.4.0.Final-redhat-8.jar:6.4.0.Final-redhat-8]
      	at org.jbpm.designer.web.server.SimulationServlet.doPost(SimulationServlet.java:253) [jbpm-designer-backend-6.4.0.Final-redhat-8.jar:6.4.0.Final-redhat-8]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.15.Final-redhat-1.jar:7.5.15.Final-redhat-1]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.15.Final-redhat-1.jar:7.5.15.Final-redhat-1]
      	at org.uberfire.ext.security.server.SecureHeadersFilter.doFilter(SecureHeadersFilter.java:69) [uberfire-servlet-security-0.8.0.Final-redhat-8.jar:0.8.0.Final-redhat-8]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.15.Final-redhat-1.jar:7.5.15.Final-redhat-1]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.15.Final-redhat-1.jar:7.5.15.Final-redhat-1]
      	at org.uberfire.ext.security.server.SecurityIntegrationFilter.doFilter(SecurityIntegrationFilter.java:61) [uberfire-servlet-security-0.8.0.Final-redhat-8.jar:0.8.0.Final-redhat-8]
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.15.Final-redhat-1.jar:7.5.15.Final-redhat-1]
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.15.Final-redhat-1.jar:7.5.15.Final-redhat-1]
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.15.Final-redhat-1.jar:7.5.15.Final-redhat-1]
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.15.Final-redhat-1.jar:7.5.15.Final-redhat-1]
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:512) [jbossweb-7.5.15.Final-redhat-1.jar:7.5.15.Final-redhat-1]
      	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.7.Final-redhat-3.jar:7.5.7.Final-redhat-3]
      	at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.5.7.Final-redhat-3.jar:7.5.7.Final-redhat-3]
      	at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.7.Final-redhat-3.jar:7.5.7.Final-redhat-3]
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150) [jbossweb-7.5.15.Final-redhat-1.jar:7.5.15.Final-redhat-1]
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.15.Final-redhat-1.jar:7.5.15.Final-redhat-1]
      	at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:419) [jbossweb-7.5.15.Final-redhat-1.jar:7.5.15.Final-redhat-1]
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.15.Final-redhat-1.jar:7.5.15.Final-redhat-1]
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.5.15.Final-redhat-1.jar:7.5.15.Final-redhat-1]
      	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.15.Final-redhat-1.jar:7.5.15.Final-redhat-1]
      	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [jbossweb-7.5.15.Final-redhat-1.jar:7.5.15.Final-redhat-1]
      	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.15.Final-redhat-1.jar:7.5.15.Final-redhat-1]
      	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_45]
      

              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              kgaevski@redhat.com Kirill Gaevskii
              Jan Hrcek Jan Hrcek (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: