[jboss-jira] [JBoss JIRA] (DROOLS-1604) Missing clone for indexing declaration in MvelConstraint

Kris Verlaenen (JIRA) issues at jboss.org
Tue Jun 6 07:24:02 EDT 2017


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

Kris Verlaenen updated DROOLS-1604:
-----------------------------------
    Sprint: 2017 Week 22-23  (was: 2017 Week 22-23)


> Missing clone for indexing declaration in MvelConstraint
> --------------------------------------------------------
>
>                 Key: DROOLS-1604
>                 URL: https://issues.jboss.org/browse/DROOLS-1604
>             Project: Drools
>          Issue Type: Bug
>          Components: core engine
>            Reporter: Mario Fusco
>            Assignee: Mario Fusco
>
> Indexing declaration in MvelConstraint is not cloned when a 'or' is processed and this in turn causes that the wrong field is indexed for a branch of the 'or' or even that it attempts to index on a not existing causing the following NPE:
> {code}
> java.lang.NullPointerException
> 	at org.drools.core.reteoo.BaseLeftTuple.getObject(BaseLeftTuple.java:629)
> 	at org.drools.core.reteoo.BaseTuple.getObject(BaseTuple.java:48)
> 	at org.drools.core.util.AbstractHashTable$FieldIndex.hashCodeOf(AbstractHashTable.java:333)
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list