Collapse Order Movement Gets Null Pointer Exception: java.lang.NullPointerException at glog.business.shipment.ShipmentLinkManager.getCloseShipmentLinks (ShipmentLinkManager.java:1272) (Doc ID 1406576.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 6.2.3 to 6.2.5 - Release: 6.2 to 6.2
Information in this document applies to any platform.

Symptoms

On OTM version 6.2.3 version, Collapse Order Movement no longer works.

ERROR
-----------------------
java.lang.NullPointerException

java.lang.NullPointerException
at glog.business.shipment.ShipmentLinkManager.getCloseShipmentLinks(ShipmentLinkManager.java:1272)
at glog.business.shipment.ShipmentLinkManager.constructRelatedShipmentGraph(ShipmentLinkManager.java:2588)
at glog.business.shipment.ShipmentLinkManager.getRelatedShipmentGraph(ShipmentLinkManager.java:2522)
at glog.business.shipment.ShipmentLinkManager.getRelatedShipmentGraph(ShipmentLinkManager.java:2506)
at glog.business.shipment.ShipmentLinkManager.getRelatedShipmentGraph(ShipmentLinkManager.java:2498)
at glog.business.action.ordermovement.AbstractOrderMovementPlanningAction.loadShipmentGraph(AbstractOrderMovementPlanningAction.java:68)
at glog.business.action.ordermovement.AbstractOrderMovementPlanningAction.load(AbstractOrderMovementPlanningAction.java:45)
at glog.business.action.shipment.AbstractShipmentPlanningAction.perform(AbstractShipmentPlanningAction.java:119)
at glog.business.session.OrderMovementActionSessionBean.collapseOrderMovementsGetInput(OrderMovementActionSessionBean.java:867)
at glog.business.session.OrderMovementActionSessionServerSideEJBWrapper.collapseOrderMovementsGetInput(OrderMovementActionSessionServerSideEJBWrapper.java:734)
at glog.business.session.OrderMovementActionSessionServerSideEJBWrapper_ak3ax7_EOImpl.collapseOrderMovementsGetInput(OrderMovementActionSessionServerSideEJBWrapper_ak3ax7_EOImpl.java:1299)
at glog.business.session.gen.OrderMovementActionSessionSkel.collapseOrderMovementsGetInput(OrderMovementActionSessionSkel.java:532)
at glog.business.session.gen.OrderMovementActionSessionSkel.exec(OrderMovementActionSessionSkel.java:138)
at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:15)
at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:62)
at glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapper.java:48)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.execDispatch(WrapperSessionHome_a06097_EOImpl.java:58)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
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:118)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)




STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1 - Log on to an OTM 6.2.3 system.

2 - Create an Order Release.

3 - From the Order Release created the Order Movement.

4 - Navigate to: Order Management > Order Movement > Order Movement.

5 - Search for and select (tick) the Order Movement.

6 - Click: Actions > Order Management > Change Order > Create Relay Order Movement

7 - Enter a Relay Location I.

8 - Click OK.

9 - Note locations are not updated as expected, destination and start of the Order Movements do not match.

10 - Return to the Order Movements results screen.

11 - Select the same order movement as previously created.

12 - Click Actions > Order Management > Change Order > Collapse Order Movement.

13 - The error is shown:

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