Hi,
I'm getting a NPE exception when using drools-persistence-jpa with Drools Flow (I'm working with the trunk version 28274). It occurs in MarshallerReaderContext (line 78, see link below) and seems to be a result of JBRULES-2149. When loading a WorkItemInfo from the database a MarshallerReaderContext is created without the ruleBase set. For the moment I have added another catch block for the NPE and call super.resolveClass(desc). This seems to be working correctly and would have been the behaviour before JBRULES-2149.
Should I go ahead and create a JIRA issue for this, or what is the prefered way to get the fixed in the trunk?
http://fisheye.jboss.org/browse/JBossRules/trunk/drools-core/src/main/java/org/drools/marshalling/impl/MarshallerReaderContext.java?r=27314
http://fisheye.jboss.org/browse/JBossRules/trunk/drools-persistence-jpa/src/main/java/org/drools/persistence/processinstance/WorkItemInfo.java?r=25448
https://jira.jboss.org/jira/browse/JBRULES-2149
Regards,
Noel Keating
Senior Developer
DeCare Systems Ireland
+353 21 492-5188
nkeating@decaresystems.ie
blog.decaresystems.ie