"NullPointerException" Exception Encountered Creating a Sell Shipment With Rates Tied Back to Buy Shipment (Doc ID 1373998.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Management - Version: 6.1.0 to 6.1.4 - Release: 6.1 to 6.1
Information in this document applies to any platform.

Symptoms


When attempting to build a sell side shipment where an accessorial is attached to the buy rate offering and buy side shipment and the accessorial is marked as "flow thru", a null pointer is received.

The null pointer is as follows:
java.lang.NullPointerException
at glog.business.shipment.TShipmentCost.getSShipUnitLineSeq(TShipmentCost.java:412)
at glog.business.rate.rateengine.guts.RACAccessorial.costShipment(RACAccessorial.java:198)
at glog.business.rate.rateengine.RatingEngine.rateIt(RatingEngine.java:850)
at glog.business.rate.rateengine.RatingEngine.findShipmentCost(RatingEngine.java:726)
at glog.business.rate.rateengine.RatingEngine.findShipmentCosts(RatingEngine.java:615)
at glog.business.rate.rateengine.RatingEngine.findShipmentCosts(RatingEngine.java:383)
at glog.business.rate.ratefinder.RateFinder.findShipmentCosts(RateFinder.java:274)
at glog.business.rate.ratefinder.RateFinder.findShipmentCosts(RateFinder.java:190)
at glog.business.rate.ratefinder.RateFinder.findShipmentCosts(RateFinder.java:119)
at glog.business.rate.ratefinder.RateFinder.findCommonFeasibleRateEngineResult(RateFinder.java:546)
at glog.business.shipment.ShipmentBuilder.expandLegOptionOnCosts(ShipmentBuilder.java:3352)
at glog.business.shipment.ShipmentBuilder.calculateAndSetCosts(ShipmentBuilder.java:3237)
at glog.business.shipment.ShipmentBuilder.makeLegOptionsOnTLeg(ShipmentBuilder.java:1405)
at glog.business.shipment.ShipmentBuilder.makeLegOptions(ShipmentBuilder.java:1748)
at glog.business.shipment.ShipmentBuilder.buildBestItineraryOption(ShipmentBuilder.java:1459)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java :1521)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraphCollection(ShipmentBuilder.java:506)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraphCollection(ShipmentBuilder.java:445)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:350)
at glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java:311)
at glog.business.action.OrderActionExecutor.buildShipmentGraph(OrderActionExecutor.java:383)
at glog.business.action.OrderActionExecutor.buildShipments(OrderActionExecutor.java:333)
at glog.business.session.OrderActionSessionBean.buildShipments(OrderActionSessionBean.java:242)
at glog.business.session.OrderActionSessionServerSideEJBWrapper.buildShipments(OrderActionSessionServerSideEJBWrapper.java:140)
at glog.business.session.OrderActionSessionHome_likuwd_EOImpl.buildShipments(OrderActionSessionHome_likuwd_EOImpl.java:3731)
at glog.business.session.gen.OrderActionSessionSkel.buildShipments(OrderActionSessionSkel.java:451)
at glog.business.session.gen.OrderActionSessionSkel.exec(OrderActionSessionSkel.java:132)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:15)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:61)
at glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapper.java:48)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.execDispatch(WrapperSessionHome_a06097_EOImpl.java:61)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:590)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:478)
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:473)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:119)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

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