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

Process Simulation fails if the process contains a series of complex XOR and AND gateways and numerous branches

    Details

    • Target Release:
    • Affects:
      User Experience

      Description

      • It has been observed that users can't run Process Simulation on a complex BPMN2 process from Business Central (using "Run Process Simulation" feature from the Web Designer) , if the process has got a complex series of XOR and AND gateways , which result in numerous combination of possible paths for the flow.
      • When we try to start the simulation it does not work and results the following message in the screen "Unable to perform simulation:undefined" .
      • It does not log anything relevant for process simulation in server.log file , even after running the entire server with DEBUG logging enabled.
      • Thread dumps collected during the time when the issue takes place suggests as if the stack trace was going in an infinite loop. Although it doesn't result in stackoverflow but keep spinning.
        ~~~
        "http-localhost.localdomain/127.0.0.1:8080-6" daemon prio=10 tid=0x00007ff3dc09a000 nid=0x67a2 runnable [0x00007ff35a7fb000]
        java.lang.Thread.State: RUNNABLE
        at org.jbpm.simulation.PathContextManager.addToPath(PathContextManager.java:82)
        at org.jbpm.simulation.handler.MainElementHandler.handle(MainElementHandler.java:43)
        at org.jbpm.simulation.handler.GatewayElementHandler.handleExclusiveGateway(GatewayElementHandler.java:68)
        at org.jbpm.simulation.handler.GatewayElementHandler.handle(GatewayElementHandler.java:41)
        at org.jbpm.simulation.handler.MainElementHandler.handle(MainElementHandler.java:54)
        at org.jbpm.simulation.handler.DefaultElementHandler.handle(DefaultElementHandler.java:34)
        at org.jbpm.simulation.handler.ActivityElementHandler.handle(ActivityElementHandler.java:61)
        at org.jbpm.simulation.handler.MainElementHandler.handle(MainElementHandler.java:63)
        at org.jbpm.simulation.handler.DefaultElementHandler.handle(DefaultElementHandler.java:34)
        at org.jbpm.simulation.handler.MainElementHandler.handle(MainElementHandler.java:59)
        at org.jbpm.simulation.handler.DefaultElementHandler.handle(DefaultElementHandler.java:34)
        at org.jbpm.simulation.handler.ActivityElementHandler.handle(ActivityElementHandler.java:61)
        at org.jbpm.simulation.handler.MainElementHandler.handle(MainElementHandler.java:63)
        at org.jbpm.simulation.handler.DefaultElementHandler.handle(DefaultElementHandler.java:34)
        at org.jbpm.simulation.handler.MainElementHandler.handle(MainElementHandler.java:59)
        at org.jbpm.simulation.handler.GatewayElementHandler.handleExclusiveGateway(GatewayElementHandler.java:68)
        at org.jbpm.simulation.handler.GatewayElementHandler.handle(GatewayElementHandler.java:41)
        at org.jbpm.simulation.handler.MainElementHandler.handle(MainElementHandler.java:54)
        at org.jbpm.simulation.handler.DefaultElementHandler.handle(DefaultElementHandler.java:34)
        at org.jbpm.simulation.handler.ActivityElementHandler.handle(ActivityElementHandler.java:61)
        at org.jbpm.simulation.handler.MainElementHandler.handle(MainElementHandler.java:63)
        at org.jbpm.simulation.handler.DefaultElementHandler.handle(DefaultElementHandler.java:34)
        ...
        ~~~

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tsurdilovic Tihomir Surdilovic
                  Reporter:
                  mhussain Musharraf Hussain
                  Tester:
                  Kirill Gaevskii
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: