Convert Multistop to Pool Causes NullPointerException When No Rate Found (Doc ID 470213.1)

Last updated on JULY 09, 2014

Applies to:

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

Symptoms

-- Problem Statement:
Using the "Manage Pool Shipment > Convert MultiStop to Pool" shipment action on a multistop shipment in order to move one stop to a pool drop.

When doing this and it is found that there is no rate found for the Pool Shipment, instead of presenting an informative error, the following NullPointer is thrown:

java.lang.NullPointerException
at glog.business.shipmentstructure.ShipmentNode.(ShipmentNode.java:217)
at glog.business.consolidation.bulkplan.PoolDropSwapper.buildPoolHandlingAndDropShipments(PoolDropSwapper.java:1137)
at glog.business.consolidation.bulkplan.PoolDropSwapper.changeTLStopOffToPoolDrop(PoolDropSwapper.java:669)
at glog.business.action.ShipmentPlanningActionExecutor.convertToDropoff(ShipmentPlanningActionExecutor.java:3586)
at glog.business.session.ShipmentPlanningActionSessionBean.convertToDropoff(ShipmentPlanningActionSessionBean.java:2005)
at glog.business.session.ShipmentPlanningActionSessionServerSideEJBWrapper.convertToDropoff(ShipmentPlanningActionSessionServerSideEJBWrapper.java:1844)
at glog.business.session.ShipmentPlanningActionSessionServerSideEJBWrapper_7zfvrj_EOImpl.convertToDropoff(ShipmentPlanningActionSessionServerSideEJBWrapper_7zfvrj_EOImpl.java:2422)
at glog.business.session.gen.ShipmentPlanningActionSessionSkel.convertToDropoff(ShipmentPlanningActionSessionSkel.java:1698)
at glog.business.session.gen.ShipmentPlanningActionSessionSkel.exec(ShipmentPlanningActionSessionSkel.java:334)
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;(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:112)
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:369)
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