Salesforce

Calculate Plan process failing with Null pointer Exception - Case SchedRcpt considered as invalid input

« Go Back

Information

 
TitleCalculate Plan process failing with Null pointer Exception - Case SchedRcpt considered as invalid input
SummaryCalculate Plan process failing with Null pointer Exception when using InputsToBeIgnored Node configuration property.
URL NameCalculate-Plan-process-failing-with-Null-pointer-Exception
Resolution
1. Remove SCHEDRCPTS from the list of Input tables to be ignored (modify SRE_NODE_CONFIG_PROPS table specified at resolution section).

2. Restart node pool and run previously failed Calculate Plan. 
 
ProductsFulfillment
ModuleCalculate Plan
Version9.0.1.0
Error Message Code
ERROR [pipeline--thread-2] com.manu.webservices.sre.pipeline.StepExecution Error :  [run:138 {}]
java.lang.NullPointerException
        at com.manu.scpoweb.fulfillment.resload.buslogic.ResLoadCalculator.calcLoad(ResLoadCalculator.java:202) ~[fulfillment.jar:?]
        at com.manu.scpoweb.fulfillment.planalg.dao.publisher.ResLoadPublisherDAO.getResLoadsForItem(ResLoadPublisherDAO.java:169) ~[fulfillment.jar:?]
        at com.manu.scpoweb.fulfillment.planalg.dao.publisher.ResLoadPublisherDAO.processItem(ResLoadPublisherDAO.java:84) ~[fulfillment.jar:?]
        at com.manu.scpoweb.fulfillment.planalg.dao.publisher.PlanAlgPublisherDAO.publishAction(PlanAlgPublisherDAO.java:61) ~[fulfillment.jar:?]
        at com.manu.webservices.sre.pipeline.PublisherRunner.processAction(PublisherRunner.java:71) ~[webworks.jar:?]
        at com.manu.webservices.sre.pipeline.StepExecution.run(StepExecution.java:108) [webworks.jar:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_75]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_75]
        at java.lang.Thread.run(Thread.java:745) [?:1.7.0_75]
 

 
Cause
SCHEDRCPTS is included in SRE_NODE_CONFIG_PROPS.PROP_VALUE for SRE_NODE_CONFIG_PROPS.PROP_NAME=InputsToBeIgnored and SERVICE_NAME=Fulfillment.Plan
Additional Information
Publication StatusPublished

Powered by