When Using a Copied Route Template, a NullPointerException is Encountered (Doc ID 558164.1)

Last updated on JULY 09, 2014

Applies to:

Oracle Transportation Operational Planning - Version: 5.5.04
This problem can occur on any platform.

Symptoms

-- Problem Statement:
A Route Template that was used for a shipment is copied. The rate used for the original shipment is dependent on the Route Template ID (therefore not applicable to the copied template). When unassigning the shipment assigned to the original template and replanning, the following exception is encountered:

java.lang.NullPointerException
at
glog.business.routeexecution.RouteExecutionOptimizer.updateNodesForSimilarInstances(RouteExecutionOptimizer.java:553)
at
glog.business.routeexecution.RouteExecutionOptimizer.optimizeRouteInstanceAssignments(RouteExecutionOptimizer.java:122)
at glog.business.routeexecution.RouteExecutionEngine.optimize(RouteExecutionEngine.java:172)
at glog.business.routeexecution.RouteExecutionEngine.optimize(RouteExecutionEngine.java:221)
at glog.business.action.OrderActionExecutor.buildShipmentGraph(OrderActionExecutor.java:371)
at glog.business.action.OrderActionExecutor.buildShipments(OrderActionExecutor.java:316)
at glog.business.session.OrderActionSessionBean.buildShipments(OrderActionSessionBean.java:190)
at
glog.business.session.OrderActionSessionServerSideEJBWrapper.buildShipments(OrderActionSessionServerSideEJBWrapper.java:130)
at
glog.business.session.OrderActionSessionHome_likuwd_EOImpl.buildShipments(OrderActionSessionHome_likuwd_EOImpl.java:2314)
at glog.business.session.gen.OrderActionSessionSkel.buildShipments(OrderActionSessionSkel.java:443)
at glog.business.session.gen.OrderActionSessionSkel.exec(OrderActionSessionSkel.java:128)
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