[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2300) SingleSessionCommandService revisited: facyHandle is null while insert it in a stateful session

Mark Proctor (JIRA) jira-events at lists.jboss.org
Thu Jul 22 17:40:52 EDT 2010


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

Mark Proctor updated JBRULES-2300:
----------------------------------

    Fix Version/s: 5.2.0.M1
                       (was: 5.1.0.CR1)


> SingleSessionCommandService revisited: facyHandle is null while insert it in a stateful session
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-2300
>                 URL: https://jira.jboss.org/browse/JBRULES-2300
>             Project: Drools
>          Issue Type: Patch
>      Security Level: Public(Everyone can see) 
>          Components: All
>    Affects Versions: 5.1.0.M1
>         Environment: jre 1.5 - jboss 5.0.1.GA - Eclipse with jbossTools
>            Reporter: Francesco Chiarelli
>            Assignee: Kris Verlaenen
>            Priority: Blocker
>             Fix For: 5.2.0.M1
>
>
> I had need to implement a new SingleSessionCommandService (logical mirror of the original unless registerRollbackSync (), which is no longer invoked and JoinTransaction).
> The primary thread creates statefulKnowledgeSession via JPA (JTA). The secondary thread load the session, insert facts, fire rules, startProcess, and dispose.
> In @PreUpdate on SessionInfo, when you create the same snapshot is retrieved correctly, during the insertion of a fact, I get a NPE on org.drools.reteoo.ReteooWorkingMemory at 245: factHandle is null. In debugging I verified that the method throws the exception FromNode.evaluateAndPropagate captured by the command.

-- 
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