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

Kris Verlaenen (JIRA) jira-events at lists.jboss.org
Mon May 31 21:33:51 EDT 2010


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

Kris Verlaenen resolved JBRULES-2232.
-------------------------------------

    Resolution: Out of Date


Already fixed as part of JBRULES-2485

> NullPointerException using drools-persistance-jpa and Drools Flows (WorkItemInfo)
> ---------------------------------------------------------------------------------
>
>                 Key: JBRULES-2232
>                 URL: https://jira.jboss.org/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.CR1
>
>         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/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list