[
https://issues.jboss.org/browse/DROOLS-1186?page=com.atlassian.jira.plugi...
]
Jiri Locker reopened DROOLS-1186:
---------------------------------
Hi, I hit the NPE again while working on DROOLS-1187. I've isolated as much as
possible. There is only a single rule in score DRL and 13 facts inserted into WM. The
exception occurs in move 29 and depends on move 28, the previous 28 moves are skipped (not
evaluated).
Please take a look at
https://github.com/yurloc/optaplanner/tree/drools-1187-NPE. The
README contains steps to reproduce and also the test output.
Setting the planning variable nullable in nurserostering examples
causes Drools NPE
-----------------------------------------------------------------------------------
Key: DROOLS-1186
URL:
https://issues.jboss.org/browse/DROOLS-1186
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 6.2.0.Final, 6.3.0.Final
Environment: Windows 7 x 64, JDK 8u66, IDE netbeans 8.0.1.
Reporter: Julio Bellon Aguilera
Assignee: Mario Fusco
Priority: Critical
Fix For: 7.0.0.Beta1
Attachments: PLANNER_488.patch
If you set the planning variable to "nullable=true", firstable, causes a
IllegalStateException.
fixed that, causes the first NPE, and fixed that, causes other NPE unfixed:
Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException:
Caused by: java.lang.NullPointerException
at
org.drools.core.phreak.RuleNetworkEvaluator.deleteChildLeftTuple(RuleNetworkEvaluator.java:778)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)