[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2232) NullPointerException using drools-persistance-jpa and Drools Flows (WorkItemInfo)

Mark Proctor (JIRA) jira-events at lists.jboss.org
Sun Apr 4 01:36:38 EDT 2010


     [ https://jira.jboss.org/jira/browse/JBRULES-2232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Proctor updated JBRULES-2232:
----------------------------------

    Fix Version/s: 5.1.0.M2
         Assignee: Kris Verlaenen  (was: Mark Proctor)


> NullPointerException using drools-persistance-jpa and Drools Flows (WorkItemInfo)
> ---------------------------------------------------------------------------------
>
>                 Key: JBRULES-2232
>                 URL: https://jira.jboss.org/jira/browse/JBRULES-2232
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-core
>    Affects Versions: 5.1.0.M1
>            Reporter: Noel Keating
>            Assignee: Kris Verlaenen
>             Fix For: 5.1.0.M2
>
>         Attachments: JBRULES-2232-patch.txt
>
>
> 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 and seems to be a result of JBRULES-2149.  When loading a WorkItemInfo from the database a MarshallerReaderContext is created without the ruleBase set, however the MarshallerReaderContext expects the ruleBase to be set.
> In the attached patch I have added a null check and call the super method if it is not set.  This seems to be working correctly and would have been the behaviour before JBRULES-2149.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list