org.jbpm.workflow.instance.WorkflowRuntimeException: [subscription:1 - Load Case:4] -- [subscription:1 - Case Partages / Manuel:5] -- Exception when trying to evaluate constraint Partages in split Case Partages / Manuel

Google Groups | Jérôme Gisson | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ProcessEventListener doesn't set process variable

    Google Groups | 5 months ago | Jérôme Gisson
    org.jbpm.workflow.instance.WorkflowRuntimeException: [subscription:1 - Load Case:4] -- [subscription:1 - Case Partages / Manuel:5] -- Exception when trying to evaluate constraint Partages in split Case Partages / Manuel

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.tests.Process_org$u46$tests$u46$subscription341203229.returnValueEvaluator2()
    2. org.tests
      Process_org$u46$tests$u46$subscription341203229ReturnValueEvaluator2Invoker.evaluate
      1. org.tests.Process_org$u46$tests$u46$subscription341203229.returnValueEvaluator2(Process_org$u46$tests$u46$subscription341203229.java:21)
      2. org.tests.Process_org$u46$tests$u46$subscription341203229ReturnValueEvaluator2Invoker.evaluate(Process_org$u46$tests$u46$subscription341203229ReturnValueEvaluator2Invoker.java:15)
      2 frames
    3. org.jbpm.process
      ReturnValueConstraintEvaluator.evaluate
      1. org.jbpm.process.instance.impl.ReturnValueConstraintEvaluator.evaluate(ReturnValueConstraintEvaluator.java:129)
      1 frame
    4. org.jbpm.workflow
      WorkflowProcessInstanceImpl.signalEvent
      1. org.jbpm.workflow.instance.node.SplitInstance.executeStrategy(SplitInstance.java:86)
      2. org.jbpm.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:63)
      3. org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:173)
      4. org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:366)
      5. org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:325)
      6. org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:44)
      7. org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:341)
      8. org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:318)
      9. org.jbpm.workflow.instance.node.WorkItemNodeInstance.triggerCompleted(WorkItemNodeInstance.java:323)
      10. org.jbpm.workflow.instance.node.WorkItemNodeInstance.workItemCompleted(WorkItemNodeInstance.java:385)
      11. org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:361)
      12. org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:484)
      12 frames
    5. Drools :: Persistence :: JPA
      JPAWorkItemManager.completeWorkItem
      1. org.drools.persistence.jpa.processinstance.JPAWorkItemManager.completeWorkItem(JPAWorkItemManager.java:147)
      1 frame
    6. jBPM :: WorkItems
      ServiceTaskHandler.executeWorkItem
      1. org.jbpm.process.workitem.bpmn2.ServiceTaskHandler.executeJavaWorkItem(ServiceTaskHandler.java:261)
      2. org.jbpm.process.workitem.bpmn2.ServiceTaskHandler.executeWorkItem(ServiceTaskHandler.java:175)
      2 frames
    7. Drools :: Persistence :: JPA
      JPAWorkItemManager.internalExecuteWorkItem
      1. org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalExecuteWorkItem(JPAWorkItemManager.java:69)
      1 frame
    8. org.jbpm.workflow
      NodeInstanceImpl.trigger
      1. org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:138)
      2. org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:173)
      3. org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:366)
      4. org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:325)
      5. org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:73)
      6. org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:44)
      7. org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:173)
      7 frames
    9. org.jbpm.ruleflow
      RuleFlowProcessInstance.internalStart
      1. org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)
      1 frame
    10. org.jbpm.process
      ProcessInstanceImpl.start
      1. org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:236)
      1 frame
    11. org.jbpm.workflow
      WorkflowProcessInstanceImpl.start
      1. org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:439)
      1 frame
    12. org.jbpm.process
      ProcessRuntimeImpl.startProcess
      1. org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:208)
      2. org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:191)
      3. org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:183)
      3 frames
    13. Drools :: Core
      AbstractInterceptor.executeNext
      1. org.drools.core.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:1807)
      2. org.drools.core.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:122)
      3. org.drools.core.command.runtime.process.StartProcessCommand.execute(StartProcessCommand.java:40)
      4. org.drools.core.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36)
      5. org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)
      5 frames
    14. Drools :: Persistence :: JPA
      SingleSessionCommandService$TransactionInterceptor.execute
      1. org.drools.persistence.SingleSessionCommandService$TransactionInterceptor.execute(SingleSessionCommandService.java:592)
      1 frame
    15. Drools :: Core
      AbstractInterceptor.executeNext
      1. org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)
      1 frame
    16. Drools :: Persistence :: JPA
      OptimisticLockRetryInterceptor.execute
      1. org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:82)
      1 frame
    17. Drools :: Core
      AbstractInterceptor.executeNext
      1. org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41)
      1 frame
    18. Drools :: Persistence :: JPA
      SingleSessionCommandService.execute
      1. org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:73)
      2. org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:385)
      2 frames
    19. Drools :: Core
      CommandBasedStatefulKnowledgeSession.startProcess
      1. org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.startProcess(CommandBasedStatefulKnowledgeSession.java:256)
      1 frame
    20. org.tests.bpmn
      SubscriptionProcessTest.testCaseComplete
      1. org.tests.bpmn.SubscriptionProcessTest.startProcessForManualCase(SubscriptionProcessTest.java:76)
      2. org.tests.bpmn.SubscriptionProcessTest.testCaseComplete(SubscriptionProcessTest.java:54)
      2 frames
    21. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    22. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      7. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
      8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
      9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      15. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      15 frames
    23. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
      1 frame
    24. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      5 frames