[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

Mario Fusco (JIRA) jira-events at lists.jboss.org
Mon May 13 03:51:06 EDT 2013


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

Mario Fusco reassigned DROOLS-106:
----------------------------------

    Assignee: Mario Fusco  (was: Edson Tirelli)

    
> 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: 5.5.0.Final, 6.0.0.Beta1
>            Reporter: Davide Sottara
>            Assignee: Mario Fusco
>
> 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