RP Plan Failure with java.lang.NullPointerException when Safety Stock is enabled

(Doc ID 2128445.1)

Last updated on DECEMBER 18, 2017

Applies to:

Oracle Rapid Planning - Version 12.2.5 and later
Information in this document applies to any platform.


Using Rapid Planning / Planning Engine
When attempting to run a Rapid Plan with Safety Stock enabled,
the following error occurs:

********** START OF planner_.planRequests() *******
  2 Sat Mar 19 01:14:09 PDT 2016 java.lang.NullPointerException
at java.util.Collections.sort(Collections.java:216)
at oracle.apps.msc.orp.engine.solver.SafetyStockManager.getCumDemandQtyPerDayLBL(SafetyStockManager.java:169)
at oracle.apps.msc.orp.engine.solver.SafetyStockManager.generateSSdemandsForItem(SafetyStockManager.java:281)
at oracle.apps.msc.orp.engine.solver.SafetyStockManager.LBLSafetyStockProcessing(SafetyStockManager.java:51)
at oracle.apps.msc.orp.engine.solver.LBL.LBLPlanner.planRequest(LBLPlanner.java:168)
at oracle.apps.msc.orp.engine.solver.LBL.LBLPlanner.plan(LBLPlanner.java:789)

-- Steps To Reproduce:

Customer states the issue can be reproduced at will at customer site with the following steps:
1. (R) Supply Chain Simulation Planner
2. Run an RP plan with Safety Stock enabled,
3. Inspect the rpengine####.log
4. Observe the noted error.

Disabling Safety Stock planning avoids the error.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms