NullPointerException in ObjectFactory$ObjectEqualEvaluator in 4.0.7
-------------------------------------------------------------------
Key: JBRULES-2547
URL:
https://jira.jboss.org/browse/JBRULES-2547
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.0.7
Reporter: Eduardo Oré
Assignee: Mark Proctor
I have a NullPointerException in ObjectEqualEvaluator.evaluate() when trying to make a
retract.
Caused by: java.lang.NullPointerException
at
org.drools.base.com.amadeus.jcp.standard.business.ruleservice.policyapplication.facts.hotel.PreferredRoom22074433$getRoom.getValue(Unknown
Source)
at org.drools.base.ClassFieldExtractor.getValue(ClassFieldExtractor.java:127)
at
org.drools.base.evaluators.ObjectFactory$ObjectEqualEvaluator.evaluate(ObjectFactory.java:130)
at
org.drools.util.AbstractHashTable$DoubleCompositeIndex.equal(AbstractHashTable.java:669)
at
org.drools.util.FactHandleIndexHashTable$FieldIndexEntry.matches(FactHandleIndexHashTable.java:379)
at org.drools.util.FactHandleIndexHashTable.remove(FactHandleIndexHashTable.java:200)
at org.drools.reteoo.JoinNode.retractObject(JoinNode.java:180)
at
org.drools.reteoo.CompositeObjectSinkAdapter.propagateRetractObject(CompositeObjectSinkAdapter.java:375)
at org.drools.reteoo.ObjectTypeNode.retractObject(ObjectTypeNode.java:189)
at org.drools.reteoo.Rete.retractObject(Rete.java:215)
at org.drools.reteoo.ReteooRuleBase.retractObject(ReteooRuleBase.java:211)
at org.drools.reteoo.ReteooWorkingMemory.doRetract(ReteooWorkingMemory.java:79)
at org.drools.common.AbstractWorkingMemory.retract(AbstractWorkingMemory.java:1023)
at org.drools.base.DefaultKnowledgeHelper.retract(DefaultKnowledgeHelper.java:122)
at
com.amadeus.act.hotel.Rule_Company_policy__preferred_Room_without_rate_code_policies_0.consequence(Rule_Company_policy__preferred_Room_without_rate_code_policies_0.java:18)
at
com.amadeus.act.hotel.Rule_Company_policy__preferred_Room_without_rate_code_policies_0ConsequenceInvoker.evaluate(Rule_Company_policy__preferred_Room_without_rate_code_policies_0ConsequenceInvoker.java:25)
at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:554)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira