[
https://issues.jboss.org/browse/DROOLS-1223?page=com.atlassian.jira.plugi...
]
Rodrigo Doria Medina updated DROOLS-1223:
-----------------------------------------
Description:
# Caused by: java.lang.NullPointerException
# at ConditionEvaluator2afa7f52e3ae42c98bf357b4d12bd2f2.evaluate(Unknown Source)
# at
org.drools.core.rule.constraint.MvelConstraint.evaluate(MvelConstraint.java:258)
# at
org.drools.core.rule.constraint.MvelConstraint.isAllowed(MvelConstraint.java:214)
# at org.drools.core.reteoo.AlphaNode.modifyObject(AlphaNode.java:146)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.doPropagateModifyObject(CompositeObjectSinkAdapter.java:504)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateModifyObject(CompositeObjectSinkAdapter.java:434)
# at org.drools.core.reteoo.AlphaNode.modifyObject(AlphaNode.java:147)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.doPropagateModifyObject(CompositeObjectSinkAdapter.java:504)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateModifyObject(CompositeObjectSinkAdapter.java:434)
# at org.drools.core.reteoo.AlphaNode.modifyObject(AlphaNode.java:147)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.doPropagateModifyObject(CompositeObjectSinkAdapter.java:504)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateModifyObject(CompositeObjectSinkAdapter.java:434)
# at org.drools.core.reteoo.AlphaNode.modifyObject(AlphaNode.java:147)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.doPropagateModifyObject(CompositeObjectSinkAdapter.java:504)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateModifyObject(CompositeObjectSinkAdapter.java:434)
# at org.drools.core.reteoo.ObjectTypeNode.modifyObject(ObjectTypeNode.java:359)
# at
org.drools.core.reteoo.EntryPointNode.propagateModify(EntryPointNode.java:249)
# at
org.drools.core.phreak.PropagationEntry$Update.execute(PropagationEntry.java:150)
# at
org.drools.core.phreak.SynchronizedPropagationList.flush(SynchronizedPropagationList.java:78)
# at
org.drools.core.phreak.SynchronizedPropagationList.flush(SynchronizedPropagationList.java:68)
# at
org.drools.core.impl.StatefulKnowledgeSessionImpl.flushPropagations(StatefulKnowledgeSessionImpl.java:2011)
# at org.drools.core.phreak.RuleExecutor.fire(RuleExecutor.java:128)
# at
org.drools.core.phreak.RuleExecutor.evaluateNetworkAndFire(RuleExecutor.java:74)
# at org.drools.core.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:1007)
# at org.drools.core.common.DefaultAgenda.fireLoop(DefaultAgenda.java:1350)
# at org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1288)
# at
org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1306)
# at
org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1297)
# at
org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1278)
This happens when running more than once the same piece of data. (It happens from the
second time).
I have no clue what could that be. When running the first time everything computes as
expected.
Thanks!
was:
All,
I have this issue,
#
# Caused by: java.lang.NullPointerException
# at ConditionEvaluator2afa7f52e3ae42c98bf357b4d12bd2f2.evaluate(Unknown Source)
# at
org.drools.core.rule.constraint.MvelConstraint.evaluate(MvelConstraint.java:258)
# at
org.drools.core.rule.constraint.MvelConstraint.isAllowed(MvelConstraint.java:214)
# at org.drools.core.reteoo.AlphaNode.modifyObject(AlphaNode.java:146)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.doPropagateModifyObject(CompositeObjectSinkAdapter.java:504)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateModifyObject(CompositeObjectSinkAdapter.java:434)
# at org.drools.core.reteoo.AlphaNode.modifyObject(AlphaNode.java:147)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.doPropagateModifyObject(CompositeObjectSinkAdapter.java:504)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateModifyObject(CompositeObjectSinkAdapter.java:434)
# at org.drools.core.reteoo.AlphaNode.modifyObject(AlphaNode.java:147)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.doPropagateModifyObject(CompositeObjectSinkAdapter.java:504)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateModifyObject(CompositeObjectSinkAdapter.java:434)
# at org.drools.core.reteoo.AlphaNode.modifyObject(AlphaNode.java:147)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.doPropagateModifyObject(CompositeObjectSinkAdapter.java:504)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateModifyObject(CompositeObjectSinkAdapter.java:434)
# at org.drools.core.reteoo.ObjectTypeNode.modifyObject(ObjectTypeNode.java:359)
# at
org.drools.core.reteoo.EntryPointNode.propagateModify(EntryPointNode.java:249)
# at
org.drools.core.phreak.PropagationEntry$Update.execute(PropagationEntry.java:150)
# at
org.drools.core.phreak.SynchronizedPropagationList.flush(SynchronizedPropagationList.java:78)
# at
org.drools.core.phreak.SynchronizedPropagationList.flush(SynchronizedPropagationList.java:68)
# at
org.drools.core.impl.StatefulKnowledgeSessionImpl.flushPropagations(StatefulKnowledgeSessionImpl.java:2011)
# at org.drools.core.phreak.RuleExecutor.fire(RuleExecutor.java:128)
# at
org.drools.core.phreak.RuleExecutor.evaluateNetworkAndFire(RuleExecutor.java:74)
# at org.drools.core.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:1007)
# at org.drools.core.common.DefaultAgenda.fireLoop(DefaultAgenda.java:1350)
# at org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1288)
# at
org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1306)
# at
org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1297)
# at
org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1278)
When running more than once the same piece of data. (It happens from the second time).
I have no clue what could that be. When running the first time everything computes as
expected.
Thanks!
java.lang.NullPointerException druing Condition Evaluation
----------------------------------------------------------
Key: DROOLS-1223
URL:
https://issues.jboss.org/browse/DROOLS-1223
Project: Drools
Issue Type: Bug
Reporter: Rodrigo Doria Medina
Assignee: Mark Proctor
# Caused by: java.lang.NullPointerException
# at ConditionEvaluator2afa7f52e3ae42c98bf357b4d12bd2f2.evaluate(Unknown Source)
# at
org.drools.core.rule.constraint.MvelConstraint.evaluate(MvelConstraint.java:258)
# at
org.drools.core.rule.constraint.MvelConstraint.isAllowed(MvelConstraint.java:214)
# at org.drools.core.reteoo.AlphaNode.modifyObject(AlphaNode.java:146)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.doPropagateModifyObject(CompositeObjectSinkAdapter.java:504)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateModifyObject(CompositeObjectSinkAdapter.java:434)
# at org.drools.core.reteoo.AlphaNode.modifyObject(AlphaNode.java:147)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.doPropagateModifyObject(CompositeObjectSinkAdapter.java:504)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateModifyObject(CompositeObjectSinkAdapter.java:434)
# at org.drools.core.reteoo.AlphaNode.modifyObject(AlphaNode.java:147)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.doPropagateModifyObject(CompositeObjectSinkAdapter.java:504)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateModifyObject(CompositeObjectSinkAdapter.java:434)
# at org.drools.core.reteoo.AlphaNode.modifyObject(AlphaNode.java:147)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.doPropagateModifyObject(CompositeObjectSinkAdapter.java:504)
# at
org.drools.core.reteoo.CompositeObjectSinkAdapter.propagateModifyObject(CompositeObjectSinkAdapter.java:434)
# at org.drools.core.reteoo.ObjectTypeNode.modifyObject(ObjectTypeNode.java:359)
# at
org.drools.core.reteoo.EntryPointNode.propagateModify(EntryPointNode.java:249)
# at
org.drools.core.phreak.PropagationEntry$Update.execute(PropagationEntry.java:150)
# at
org.drools.core.phreak.SynchronizedPropagationList.flush(SynchronizedPropagationList.java:78)
# at
org.drools.core.phreak.SynchronizedPropagationList.flush(SynchronizedPropagationList.java:68)
# at
org.drools.core.impl.StatefulKnowledgeSessionImpl.flushPropagations(StatefulKnowledgeSessionImpl.java:2011)
# at org.drools.core.phreak.RuleExecutor.fire(RuleExecutor.java:128)
# at
org.drools.core.phreak.RuleExecutor.evaluateNetworkAndFire(RuleExecutor.java:74)
# at org.drools.core.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:1007)
# at org.drools.core.common.DefaultAgenda.fireLoop(DefaultAgenda.java:1350)
# at org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1288)
# at
org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1306)
# at
org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1297)
# at
org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1278)
This happens when running more than once the same piece of data. (It happens from the
second time).
I have no clue what could that be. When running the first time everything computes as
expected.
Thanks!
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)