[rules-users] Help with troubleshooting rules/Drools

Robert Crawford crawford at kloognome.com
Tue Nov 1 12:57:03 EDT 2011


I knew I spoke too soon. Now, from 5.2:


12:49:52,625 ERROR [STDERR] org.drools.RuntimeDroolsException: Unexpected
exception executing action
org.drools.reteoo.ReteooWorkingMemory$WorkingMemoryReteExpireAction at 554af19c
12:49:52,625 ERROR [STDERR]     at
org.drools.common.AbstractWorkingMemory.executeQueuedActions(AbstractWorkingMemory.java:996)
12:49:52,625 ERROR [STDERR]     at
org.drools.common.DefaultAgenda.fireUntilHalt(DefaultAgenda.java:1037)
12:49:52,625 ERROR [STDERR]     at
org.drools.common.AbstractWorkingMemory.fireUntilHalt(AbstractWorkingMemory.java:777)
12:49:52,625 ERROR [STDERR]     at
org.drools.common.AbstractWorkingMemory.fireUntilHalt(AbstractWorkingMemory.java:753)
12:49:52,625 ERROR [STDERR]     at
org.drools.impl.StatefulKnowledgeSessionImpl.fireUntilHalt(StatefulKnowledgeSessionImpl.java:234)
12:49:52,625 ERROR [STDERR]     at
com.kroger.tempmonitor.app.service.RuleService$1.run(RuleService.java:214)
12:49:52,625 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:662)
12:49:52,625 ERROR [STDERR] Caused by: java.lang.NullPointerException
12:49:52,625 ERROR [STDERR]     at
org.drools.reteoo.AccumulateNode.removeMatch(AccumulateNode.java:838)
12:49:52,626 ERROR [STDERR]     at
org.drools.reteoo.AccumulateNode.removePreviousMatchesForRightTuple(AccumulateNode.java:908)
12:49:52,626 ERROR [STDERR]     at
org.drools.reteoo.AccumulateNode.retractRightTuple(AccumulateNode.java:308)
12:49:52,626 ERROR [STDERR]     at
org.drools.reteoo.ObjectTypeNode.retractObject(ObjectTypeNode.java:235)
12:49:52,626 ERROR [STDERR]     at
org.drools.reteoo.ReteooWorkingMemory$WorkingMemoryReteExpireAction.execute(ReteooWorkingMemory.java:464)
12:49:52,626 ERROR [STDERR]     at
org.drools.common.AbstractWorkingMemory.executeQueuedActions(AbstractWorkingMemory.java:994)
12:49:52,626 ERROR [STDERR]     ... 6 more

I have a couple custom accumulate functions; I think the solution here may
just be to have them return false for supportsReverse().



--
View this message in context: http://drools.46999.n3.nabble.com/Help-with-troubleshooting-rules-Drools-tp3469285p3471226.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list