[
https://issues.jboss.org/browse/DROOLS-1687?page=com.atlassian.jira.plugi...
]
Jiri Locker commented on DROOLS-1687:
-------------------------------------
[~mfusco] The reproducer could be simplified even more to do without the custom classes.
Feel free to do that or ask me to do that. I just thought it might be useful to preserve
part of the rule meaning by using the original domain instead of making it completely
artificial.
NPE in JavaAccumulatorFunctionContext.getAccumulatedObjects
-----------------------------------------------------------
Key: DROOLS-1687
URL:
https://issues.jboss.org/browse/DROOLS-1687
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 7.1.0.Final
Reporter: Jiri Locker
Assignee: Mario Fusco
Attachments: DroolsReproducerTest.java
{code}
Exception executing consequence for rule "requiredCpuPowerTotal" in testpkg:
java.lang.NullPointerException
at
org.drools.core.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:39)
...
Caused by: java.lang.NullPointerException
at
org.drools.core.base.accumulators.JavaAccumulatorFunctionExecutor$JavaAccumulatorFunctionContext.getAccumulatedObjects(JavaAccumulatorFunctionExecutor.java:208)
at
org.drools.core.reteoo.FromNodeLeftTuple.getAccumulatedObjects(FromNodeLeftTuple.java:94)
at org.drools.core.common.AgendaItem.getObjectsDeep(AgendaItem.java:79)
at
org.drools.core.reteoo.RuleTerminalNodeLeftTuple.getObjectsDeep(RuleTerminalNodeLeftTuple.java:359)
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)