[jboss-jira] [JBoss JIRA] (DROOLS-106) Using the same pattern in and out of a sliding windows causes an NPE if a join is involved

Davide Sottara (JIRA) jira-events at lists.jboss.org
Thu Apr 18 22:58:54 EDT 2013


Davide Sottara created DROOLS-106:
-------------------------------------

             Summary: Using the same pattern in and out of a sliding windows causes an NPE if a join is involved
                 Key: DROOLS-106
                 URL: https://issues.jboss.org/browse/DROOLS-106
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 6.0.0.Beta1, 5.5.0.Final
            Reporter: Davide Sottara
            Assignee: Edson Tirelli


In cases like the following:

$primary : StockTick( $name : company ) over window:length(4)
accumulate (
   $tick : StockTick( company == $name )
   count( $tick ) )

A NPE is raised: 

java.lang.NullPointerException
	at org.drools.core.util.index.RightTupleIndexHashTable.remove(RightTupleIndexHashTable.java:363)
	at org.drools.reteoo.AccumulateNode.retractRightTuple(AccumulateNode.java:318)
	at org.drools.rule.SlidingLengthWindow.assertFact(SlidingLengthWindow.java:116)


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