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

This e-mail and any files transmitted with it are intended solely for the individual or entity to whom they are addressed. 
This communication may contain material that is privileged, confidential and protected from disclosure under the law. 
If you are not the intended recipient, any disclosure, distribution, copying, or use of this information is strictly prohibited and may be unlawful.


If you have received this e-mail in error, please reply immediately to the sender and delete it.


Registered Address:
DeCare Systems Ireland Ltd, 
Building 1, 
University Technology Centre, 
Curraheen Road, 
Cork, 
Ireland. 
Company Registration Number:  278462