0 Replies Latest reply on Jun 14, 2013 6:45 AM by Prabakaran Kamaraj

    When trying to complete task getting NullPointerException at WorkItemNodeInstance.java:298

    Prabakaran Kamaraj Newbie

      Hi all,

       

      We are using JBPM 5.2, when When trying to complete Human task, we are getting below error

       

      java.lang.NullPointerException

      at org.jbpm.workflow.instance.node.WorkItemNodeInstance.workItemCompleted(WorkItemNodeInstance.java:298)

      at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:277)

      at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:326)

      at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.completeWorkItem(JPAWorkItemManager.java:119)

      at org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:69)

      at org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:32)

      at org.drools.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36)

      at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:345)

      at org.drools.command.impl.CommandBasedStatefulKnowledgeSession$1.completeWorkItem(CommandBasedStatefulKnowledgeSession.java:150)

       

      if any has faced same issue and knows the solution, please provide.

       

      Thanks and Regards,

      Praba