Null Pointer Exception When Merging Shipments (Doc ID 555705.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Management - Version: 5.5.03.01
This problem can occur on any platform.

Symptoms

-- Problem Statement:
You are trying to force merge two shipments. The shipment that you are merging onto has Actual
Arrival/Departure times that do not fall within the order release Delivery times (i.e. the times are actually infeasible).

It is expected that the merge should fail, however the following NullPointerException is encountered:

java.lang.NullPointerException
at glog.business.rate.rateservice.WaitTimeOptimizer.getTotalWaitTime(WaitTimeOptimizer.java:70)
at glog.business.rate.rateservice.WaitTimeOptimizer.getTotalWaitTime(WaitTimeOptimizer.java:81)
at glog.business.rate.rateservice.WaitTimeOptimizer.minimizeWaitTime(WaitTimeOptimizer.java:216)
at
glog.business.rate.rateservice.RateServiceSession.calculateRateService(RateServiceSession.java:1173)
at
glog.business.action.helper.ShipmentPlanningActionHelper.mergeOntoTShipment(ShipmentPlanningActionHelper.java:801)
at
glog.business.action.ShipmentPlanningActionExecutor.mergeOntoShipment(ShipmentPlanningActionExecutor.java:2131)
at
glog.business.session.ShipmentPlanningActionSessionBean.mergeOntoShipment(ShipmentPlanningActionSessionBean.java:1480)
at
glog.business.session.ShipmentPlanningActionSessionServerSideEJBWrapper.mergeOntoShipment(ShipmentPlanningActionSessionServerSideEJBWrapper.java:1268)
at
glog.business.session.ShipmentPlanningActionSessionServerSideEJBWrapper_7zfvrj_EOImpl.mergeOntoShipment(ShipmentPlanningActionSessionServerSideEJBWrapper_7zfvrj_EOImpl.java:3232)
at
glog.business.session.gen.ShipmentPlanningActionSessionSkel.mergeOntoShipment(ShipmentPlanningActionSessionSkel.java:1284)
at
glog.business.session.gen.ShipmentPlanningActionSessionSkel.exec(ShipmentPlanningActionSessionSkel.java:261)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:15)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:48)
at
glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapper.java:42)
at
glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.execDispatch(WrapperSessionHome_a06097_EOImpl.java:46)
at
glog.server.wrapper.WrapperSessionHome_a06097_EOImpl_WLSkel.invoke(ILweblogic.rmi.spi.InboundRequest;Lweblogic.rmi.spi.OutboundResponse;Ljava.lang.Object;)Lweblogic.rmi.spi.OutboundResponse;(UnknownSource)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

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