[rules-users] NPE in RightTuple

Evans, Jess JEvans at collegeboard.org
Wed Jan 14 16:29:43 EST 2009


Does anyone know what this would be indicative of?  I've seen it occur periodically at which point I have to discard the session.  I flatten and assert my data, run the rules, and then retract the handles collected on assertion.  I've ensured the fact handle parameter is never null.  I have the stateful session wrapped in a synchronized business façade, so I don't think it should be a concurrency issue (unless I have a bug of course).  I'm running Drools 5 M4.

 

java.lang.NullPointerException

        at org.drools.util.RightTupleIndexHashTable.remove(RightTupleIndexHashTable.java:224)

        at org.drools.reteoo.JoinNode.retractRightTuple(JoinNode.java:204)

        at org.drools.reteoo.ObjectTypeNode.retractObject(ObjectTypeNode.java:210)

        at org.drools.reteoo.EntryPointNode.retractObject(EntryPointNode.java:190)

        at org.drools.common.AbstractWorkingMemory.retract(AbstractWorkingMemory.java:1078)

        at org.drools.common.AbstractWorkingMemory.retract(AbstractWorkingMemory.java:1045)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090114/9cc78226/attachment.html 


More information about the rules-users mailing list