[jboss-jira] [JBoss JIRA] Commented: (JBRULES-3209) Unmarshalling a marshalled session fails when a fact has been inserted into the session

Marco Rietveld (JIRA) jira-events at lists.jboss.org
Wed Sep 14 23:52:26 EDT 2011


    [ https://issues.jboss.org/browse/JBRULES-3209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628548#comment-12628548 ] 

Marco Rietveld commented on JBRULES-3209:
-----------------------------------------

Ported the test to 5.2.x -- the same problem exists there. 

> 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
>    Affects Versions: 5.2.1.Final, 5.3.0.CR1
>            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

        


More information about the jboss-jira mailing list