1 Reply Latest reply on Nov 17, 2013 5:53 AM by Maciej Swiderski

    WS async task

    kamilfo kamilfo Newbie

      Hello.

      I try to create WS task. It passes one String parameter to the web service and get back string value. It works fine with Mode="SYNC", but I get NullPointerException in async mode:

       

      java.lang.NullPointerException

      at org.drools.persistence.jpa.JpaPersistenceContext.findWorkItemInfo(JpaPersistenceContext.java:85)

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

      at org.jbpm.process.workitem.webservice.WebServiceWorkItemHandler$1.run(WebServiceWorkItemHandler.java:124)

      at java.lang.Thread.run(Thread.java:744)

      ...

       

      What it can be related to?