"java.lang.NullPointerException" Exception When Retendering a Shipment Planned with Commitment Allocation (Doc ID 1913605.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Management - Version 6.2.0 to 6.3.5 [Release 6.2 to 6.3]
Information in this document applies to any platform.

Symptoms


When retendering a shipment that was planned with Commitment Allocation, the following exception is encountered:

java.lang.NullPointerException
at glog.business.serviceprovider.SPDataManager.decreaseCommitmentAllocationForShipment(SPDataManager.java:600)
at glog.business.serviceprovider.ServiceProviderEngine.adjustDataForExistingShipments(ServiceProviderEngine.java:2247)
at glog.business.serviceprovider.ServiceProviderEngine.optimize(ServiceProviderEngine.java:660)
at glog.business.serviceprovider.ServiceProviderEngine.optimize(ServiceProviderEngine.java:288)
at glog.business.serviceprovider.ServiceProviderAssigner.assignCommitBasedServiceProviderUsingRateEngineResults(ServiceProviderAssigner.java:1215)
at glog.business.serviceprovider.ServiceProviderAssigner.assignLeastCostServiceProviderForRetender(ServiceProviderAssigner.java:351)
at glog.business.action.ShipmentExecutionActionExecutor.assignServprovForRetender(ShipmentExecutionActionExecutor.java:418)
at glog.business.action.ShipmentExecutionActionExecutor.assignProviderForRetender(ShipmentExecutionActionExecutor.java:332)
at glog.business.session.ShipmentExecutionActionSessionBean.assignProviderForRetender(ShipmentExecutionActionSessionBean.java:112)
at glog.business.session.ShipmentExecutionActionSessionServerSideEJBWrapper.assignProviderForRetender(ShipmentExecutionActionSessionServerSideEJBWrapper.java:116)
at glog.business.session.ShipmentExecutionActionSessionServerSideEJBWrapper_idwxv7_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.business.session.ShipmentExecutionActionSessionServerSideEJBWrapper_idwxv7_EOImpl.assignProviderForRetender(Unknown Source)
at glog.server.workflow.tender.RetenderShipment$Redrive.perform(RetenderShipment.java:341)
at glog.server.workflow.Workflow.executeBody(Workflow.java:79)
at glog.server.workflow.Workflow.execute(Workflow.java:51)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at glog.server.workflow.WorkflowSessionServerSideEJBWrapper.execute(WorkflowSessionServerSideEJBWrapper.java:38)
at glog.server.workflow.WorkflowSessionServerSideEJBWrapper_61kh96_EOImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at glog.server.workflow.WorkflowSessionServerSideEJBWrapper_61kh96_EOImpl.execute(Unknown Source)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:352)
at glog.server.workflow.Trigger.trigger(Trigger.java:122)
at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:145)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:100)
at glog.util.event.EventThread.run(EventThread.java:86)
at java.lang.Thread.run(Thread.java:662)

Cause

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