[jboss-jira] [JBoss JIRA] (DROOLS-202) RuntimeDroolsException appears randomly

Davide Sottara (JIRA) jira-events at lists.jboss.org
Tue Sep 17 13:41:03 EDT 2013


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

Davide Sottara commented on DROOLS-202:
---------------------------------------

Were you able to create a test case?
Thanks
Davide
                
> RuntimeDroolsException appears randomly
> ---------------------------------------
>
>                 Key: DROOLS-202
>                 URL: https://issues.jboss.org/browse/DROOLS-202
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 5.5.0.Final
>         Environment: JBoos 5.4
> Linux Ubuntu
> JDK 1.6
>            Reporter: Nedo Nedic
>            Assignee: Mark Proctor
>              Labels: Drools
>
> From time to time I see that the following exception is thrown when inserting facts into working memory. Full stack trace:
> org.drools.RuntimeDroolsException: Unexpected exception executing action org.drools.rule.SlidingTimeWindow$BehaviorExpireWMAction at 5f86946e
> 	at org.drools.common.AbstractWorkingMemory.executeQueuedActions(AbstractWorkingMemory.java:979)
> 	at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:322)
> 	at org.drools.common.NamedEntryPoint.insert(NamedEntryPoint.java:298)
> 	at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:888)
> 	at org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:847)
> 	at org.drools.impl.StatefulKnowledgeSessionImpl.insert(StatefulKnowledgeSessionImpl.java:269)
> 	at com.comp.impl.AbstractCorrelator.insertFact(AbstractCorrelator.java:297)
> 	at com.comp.impl.TemporalCorrelatorServiceImpl.insertFact(TemporalCorrelatorServiceImpl.java:72)
> 	at com.comp.impl.AbstractCorrelator.processMessage(AbstractCorrelator.java:467)
> 	at com.comp.jms.JmsMessageListenerImpl.onMessage(JmsMessageListenerImpl.java:75)
> 	at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1088)
> 	at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:127)
> 	at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:197)
> 	at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
> 	at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.NullPointerException
> 	at org.drools.core.util.RightTupleIndexHashTable.remove(RightTupleIndexHashTable.java:372)
> 	at org.drools.reteoo.AccumulateNode.retractRightTuple(AccumulateNode.java:318)
> 	at org.drools.rule.SlidingTimeWindow.expireFacts(SlidingTimeWindow.java:185)
> 	at org.drools.rule.SlidingTimeWindow$BehaviorExpireWMAction.execute(SlidingTimeWindow.java:479)
> 	at org.drools.common.AbstractWorkingMemory.executeQueuedActions(AbstractWorkingMemory.java:977)
> 	... 17 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list