[
https://issues.jboss.org/browse/JBRULES-3209?page=com.atlassian.jira.plug...
]
Marco Rietveld updated JBRULES-3209:
------------------------------------
Summary: Unmarshalling a marshalled session fails when a fact has been inserted
into the session (was: ReloadSessionTest fails when trying to unmarshall FactHandle)
Description:
Unmarshalling a marshalled session fails when a fact has been inserted into the session.
This can be seen in the org.drools.persistence.session.ReloadSessionTest, which fails at
the moment.
An npe is thrown here:
{code}
ConcurrentNodeMemories.getNodeMemory(NodeMemory) line: 65
ReteooStatefulSession(AbstractWorkingMemory).getNodeMemory(NodeMemory) line: 1040
InputMarshaller.readFactHandles(MarshallerReaderContext) line: 373
InputMarshaller.readSession(MarshallerReaderContext, int, ExecutorService, Environment,
SessionConfiguration) line: 255
DefaultMarshaller.unmarshall(InputStream, KnowledgeSessionConfiguration, Environment)
line: 92
SessionMarshallingHelper.loadSnapshot(byte[], StatefulKnowledgeSession) line: 91
SingleSessionCommandService.initKsession(Integer, KnowledgeBase,
KnowledgeSessionConfiguration) line: 221
{code}
was:
Unmarshalling a marshalled session fails when a Fact has been inserted into the session.
This can be seen in the org.drools.persistence.session.ReloadSessionTest, which fails at
the moment.
An npe is thrown here:
{code}
ConcurrentNodeMemories.getNodeMemory(NodeMemory) line: 65
ReteooStatefulSession(AbstractWorkingMemory).getNodeMemory(NodeMemory) line: 1040
InputMarshaller.readFactHandles(MarshallerReaderContext) line: 373
InputMarshaller.readSession(MarshallerReaderContext, int, ExecutorService, Environment,
SessionConfiguration) line: 255
DefaultMarshaller.unmarshall(InputStream, KnowledgeSessionConfiguration, Environment)
line: 92
SessionMarshallingHelper.loadSnapshot(byte[], StatefulKnowledgeSession) line: 91
SingleSessionCommandService.initKsession(Integer, KnowledgeBase,
KnowledgeSessionConfiguration) line: 221
{code}
Unmarshalling a marshalled session fails when a fact has been
inserted into the session
---------------------------------------------------------------------------------------
Key: JBRULES-3209
URL:
https://issues.jboss.org/browse/JBRULES-3209
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-core
Reporter: Marco Rietveld
Assignee: Marco Rietveld
Unmarshalling a marshalled session fails when a fact has been inserted into the session.
This can be seen in the org.drools.persistence.session.ReloadSessionTest, which fails at
the moment.
An npe is thrown here:
{code}
ConcurrentNodeMemories.getNodeMemory(NodeMemory) line: 65
ReteooStatefulSession(AbstractWorkingMemory).getNodeMemory(NodeMemory) line: 1040
InputMarshaller.readFactHandles(MarshallerReaderContext) line: 373
InputMarshaller.readSession(MarshallerReaderContext, int, ExecutorService, Environment,
SessionConfiguration) line: 255
DefaultMarshaller.unmarshall(InputStream, KnowledgeSessionConfiguration, Environment)
line: 92
SessionMarshallingHelper.loadSnapshot(byte[], StatefulKnowledgeSession) line: 91
SingleSessionCommandService.initKsession(Integer, KnowledgeBase,
KnowledgeSessionConfiguration) line: 221
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira