Re: [rules-users] Drools Flow : Persistence :- Getting Null Pointer Exception in JPAWorkItemManager.java

2009-11-10 Thread Pardeep . Ruhil
uhil Kris Verlaenen 11/09/2009 05:23 PM To Rules Users List , cc Subject Re: [rules-users] Drools Flow : Persistence :- Getting Null Pointer Exception in JPAWorkItemManager.java How are you calling completeWorkItem (could you show me the entire stack trace)? When you use persistence,

Re: [rules-users] Drools Flow : Persistence :- Getting Null Pointer Exception in JPAWorkItemManager.java

2009-11-09 Thread Kris Verlaenen
How are you calling completeWorkItem (could you show me the entire stack trace)? When you use persistence, you must make sure all (asynchronous) invocations to the engine go through the session (as that will make sure the entity manager is created and changes get persisted afterwards). As a resul

[rules-users] Drools Flow : Persistence :- Getting Null Pointer Exception in JPAWorkItemManager.java

2009-11-09 Thread Pardeep . Ruhil
Hi, When I try to run a sample test case using drools-persistence.jar it works successfully. But when I try to include the persistence in my OFBiz application, I am getting null pointer exception in class JPAWorkItemManager.java. java.lang.NullPointerException at org.drools.persistence.proces