Move Order To Existing Shipment Throws Java Nullpointer Exception (Doc ID 558081.1)

Last updated on JULY 09, 2014

Applies to:

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

Symptoms

-- Problem Statement:
When using the action "Move Order to Existing Shipment" for a order release and selecting a shipment that was manually created using the action "Create Buy Shipment -> Manual", the following exception is encountered:

java.lang.NullPointerException
at
glog.business.consolidation.multistop.MultiStopShipmentHelper.isModeCompatible(MultiStopShipmentHelper.java:254)
at
glog.business.consolidation.multistop.MultiStopShipmentBuilder.isPairable(MultiStopShipmentBuilder.java:454)
at
glog.business.consolidation.multistop.MultiStopShipmentBuilder.generateTShipmentPairs(MultiStopShipmentBuilder.java:230)
at
glog.business.consolidation.multistop.PairableTShipment.createTShipmentPair(PairableTShipment.java:285)
at glog.business.consolidation.multistop.PairableTShipment.findSavings(PairableTShipment.java:198)
at glog.optimization.merge.savingsmerge.SavingsMerge.calculateSavings(SavingsMerge.java:412)
at glog.optimization.merge.savingsmerge.SavingsMerge.calculateSavings(SavingsMerge.java:390)
at glog.optimization.merge.savingsmerge.SavingsMerge.calculateSavings(SavingsMerge.java:374)
at glog.optimization.merge.savingsmerge.SavingsMerge.concurrentSavings(SavingsMerge.java:226)
at glog.optimization.merge.savingsmerge.SavingsMerge.solve(SavingsMerge.java:133)
at
glog.business.consolidation.multistop.MultiStopShipmentBuilder.mergePairableTShipments(MultiStopShipmentBuilder.java:1376)
at
glog.business.consolidation.multistop.MultiStopShipmentBuilder.mergeTShipments(MultiStopShipmentBuilder.java:1248)
at
glog.business.consolidation.multistop.MultiStopShipmentBuilder.combineTShipments(MultiStopShipmentBuilder.java:1165)
at
glog.business.consolidation.multistop.MultiStopShipmentBuilder.combineTShipments(MultiStopShipmentBuilder.java:1056)
at
glog.business.action.helper.ShipmentPlanningActionHelper.combineTShipments(ShipmentPlanningActionHelper.java:1069)
at glog.business.action.OrderActionExecutor.moveOrdersToShipment(OrderActionExecutor.java:1488)
at glog.business.action.OrderActionExecutor.moveOrdersToShipment(OrderActionExecutor.java:1168)
at
glog.business.session.OrderActionSessionBean.moveOrdersToShipment(OrderActionSessionBean.java:845)
at
glog.business.session.OrderActionSessionServerSideEJBWrapper.moveOrdersToShipment(OrderActionSessionServerSideEJBWrapper.java:670)
at
glog.business.session.OrderActionSessionHome_likuwd_EOImpl.moveOrdersToShipment(OrderActionSessionHome_likuwd_EOImpl.java:2638)
at
glog.business.session.gen.OrderActionSessionSkel.moveOrdersToShipment(OrderActionSessionSkel.java:839)
at glog.business.session.gen.OrderActionSessionSkel.exec(OrderActionSessionSkel.java:195)
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: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:415)

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