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

Kris Verlaenen (JIRA) jira-events at lists.jboss.org
Thu Apr 21 18:48:18 EDT 2011


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

Kris Verlaenen resolved JBRULES-2300.
-------------------------------------

    Fix Version/s:     (was: 5.2.0.M1)
       Resolution: Cannot Reproduce Bug


> SingleSessionCommandService revisited: facyHandle is null while insert it in a stateful session
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBRULES-2300
>                 URL: https://issues.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
>              Labels: jpa, persistence
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list