[
https://issues.jboss.org/browse/JBRULES-3237?page=com.atlassian.jira.plug...
]
Marco Rietveld commented on JBRULES-3237:
-----------------------------------------
The null pointer is being thrown because:
1. The OutputMarshaller is now writing the InitialFactNode. (See JBRULES-3209).
2. When the InputMarshaller tries to unmarshall a marshalled session that contains one
(InputMarshaller, ll. 231-242), a NPE is thrown because a {{InitialFact_ObjectType}}
ObjectTypeNode can not be found.
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
A marshalled ReteooStatefulSession can not be unmarshalled if it contains an
InitialFactHandle node.
{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