My Oracle Support Banner

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

Last updated on FEBRUARY 03, 2019

Applies to:

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

Symptoms

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

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

Cause

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
Symptoms
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.