Bug 1329092

Summary: Setting the planning variable nullable in nurserostering examples causes NPE
Product: [Retired] JBoss BRMS Platform 6 Reporter: Martin Weiler <mweiler>
Component: OptaPlannerAssignee: Mario Fusco <mfusco>
Status: CLOSED EOL QA Contact: Jiri Locker <jlocker>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: alazarot, gdesmet
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1332223 (view as bug list) Environment:
Last Closed: 2020-03-27 19:02:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1332223, 1333893    

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