[jboss-jira] [JBoss JIRA] (JBRULES-3237) Unmarshalling a marshalled session fails when a fact has been inserted into the session
Marco Rietveld (Updated) (JIRA)
jira-events at lists.jboss.org
Thu Oct 6 08:29:16 EDT 2011
[ https://issues.jboss.org/browse/JBRULES-3237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marco Rietveld updated JBRULES-3237:
------------------------------------
Attachment: UnmarshallingTest.java
The attached UnmarshallingTest test can be run in the drools-compiler module.
It's a copy of the MarshallingTest with some minor modifications to illustrate this bug.
> Unmarshalling a marshalled session fails when a fact has been inserted into the session
> ---------------------------------------------------------------------------------------
>
> Key: JBRULES-3237
> URL: https://issues.jboss.org/browse/JBRULES-3237
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Marco Rietveld
> Assignee: Marco Rietveld
> Attachments: UnmarshallingTest.java
>
>
> A marshalled ReteooStatefulSession can not be unmarshalled if it contains an InitialFactHandle node.
> A NullPointerException is thrown here:
> {code}
> ConcurrentNodeMemories.getNodeMemory(NodeMemory) line: 65
> ReteooStatefulSession(AbstractWorkingMemory).getNodeMemory(NodeMemory) line: 1018
> InputMarshaller.readSession(ReteooStatefulSession, DefaultAgenda, long, boolean, MarshallerReaderContext) line: 237
> InputMarshaller.readSession(MarshallerReaderContext, int, ExecutorService, Environment, SessionConfiguration) line: 209
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list