My Oracle Support Banner

RP Plan Failure with java.lang.NullPointerException when Safety Stock is enabled (Doc ID 2128445.1)

Last updated on AUGUST 19, 2019

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(
at oracle.apps.msc.orp.engine.solver.SafetyStockManager.getCumDemandQtyPerDayLBL(
at oracle.apps.msc.orp.engine.solver.SafetyStockManager.generateSSdemandsForItem(
at oracle.apps.msc.orp.engine.solver.SafetyStockManager.LBLSafetyStockProcessing(
at oracle.apps.msc.orp.engine.solver.LBL.LBLPlanner.planRequest(
at oracle.apps.msc.orp.engine.solver.LBL.LBLPlanner.plan(

-- 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.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.