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

Mario Fusco (JIRA) issues at jboss.org
Mon Jun 5 10:53:00 EDT 2017


Mario Fusco created DROOLS-1604:
-----------------------------------

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