Bug 1329092 - Setting the planning variable nullable in nurserostering examples causes NPE
Summary: Setting the planning variable nullable in nurserostering examples causes NPE
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: OptaPlanner
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Mario Fusco
QA Contact: Jiri Locker
URL:
Whiteboard:
Depends On:
Blocks: 1332223 1333893
TreeView+ depends on / blocked
 
Reported: 2016-04-21 08:03 UTC by Martin Weiler
Modified: 2020-03-27 19:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1332223 (view as bug list)
Environment:
Last Closed: 2020-03-27 19:02:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker PLANNER-488 0 Critical Resolved Setting the planning variable nullable in nurserostering examples causes Drools NPE 2016-06-13 14:42:51 UTC

Description Martin Weiler 2016-04-21 08:03:52 UTC
Description of problem:
Platform issue for https://issues.jboss.org/browse/PLANNER-488

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
See steps listed in JIRA

Actual results:
NPE during the solver execution

Expected results:
Solve runs without exception

Additional info:

Comment 2 Geoffrey De Smet 2016-04-27 11:57:18 UTC
Jiri Locker (QA) has isolated a reproducer (from a few billion to a few dozen calls).
Mario has just reproduced on an even smaller case in drools proper.
Once he fixes it, we 'll want permission to backport this urgent fix.

Comment 5 JBoss JIRA Server 2016-05-02 13:35:06 UTC
Mario Fusco <mario.fusco> updated the status of jira PLANNER-488 to Resolved

Comment 6 Mario Fusco 2016-05-02 14:22:40 UTC
Fixed on master by https://github.com/droolsjbpm/drools/commit/11c04ff34

Comment 8 Geoffrey De Smet 2016-05-11 10:20:48 UTC
For reference, here's the 6.4.x backport for BRMS 6.3.1:
https://github.com/droolsjbpm/drools/commit/c2353ba27967a3120cab878a2aff074633e804af

Comment 9 Mario Fusco 2016-05-18 07:31:39 UTC
This fix requires an additional commit that has been backported to branch 6.4.x here https://github.com/droolsjbpm/drools/commit/d2d0442d8


Note You need to log in before you can comment on or make changes to this bug.