"java.lang.NullPointerException" When Attempting to Merge Shipments (Doc ID 1676950.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Operational Planning - Version 6.3.2 to 6.3.5 [Release 6.3]
Information in this document applies to any platform.

Symptoms

When attempting to merge single shipments (i.e. shipments which are not part of a shipment chain). OTM is trying to find downstream shipments even though there aren't any, the following error occurs.

 -- Error
java.lang.NullPointerException
  at glog.business.action.helper.ShipmentPlanningActionHelper.combineDownstreamShipmentNodes(ShipmentPlanningActionHelper.java:1267)
  at glog.business.action.helper.ShipmentPlanningActionHelper.combineShipmentNodes(ShipmentPlanningActionHelper.java:1477)
  at glog.business.action.shipment.MergeShipmentsAction.mergeShipments(MergeShipmentsAction.java:304)
  at glog.business.session.ShipmentPlanningActionSessionBean.combineShipments(ShipmentPlanningActionSessionBean.java:1994)
  at glog.business.session.ShipmentPlanningActionSessionServerSideEJBWrapper.combineShipments(ShipmentPlanningActionSessionServerSideEJBWrapper.java:1707)
  at glog.business.session.ShipmentPlanningActionSessionServerSideEJBWrapper_7zfvrj_EOImpl.__WL_invoke(Unknown Source)
  at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
  at glog.business.session.ShipmentPlanningActionSessionServerSideEJBWrapper_7zfvrj_EOImpl.combineShipments(Unknown Source)
  at glog.business.session.gen.ShipmentPlanningActionSessionSkel.combineShipments(ShipmentPlanningActionSessionSkel.java:1322)
  at glog.business.session.gen.ShipmentPlanningActionSessionSkel.exec(ShipmentPlanningActionSessionSkel.java:257)
  at glog.webserver.wrapper.SkelImpl.execDispatch(SkelImpl.java:16)
  at glog.server.wrapper.WrapperSessionBean.execDispatch(WrapperSessionBean.java:62)
  at glog.server.wrapper.WrapperSessionServerSideEJBWrapper.execDispatch(WrapperSessionServerSideEJBWrapper.java:50)
  at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.__WL_invoke(UnknownSource)
  at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
  at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl.execDispatch(UnknownSource)
  at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl_WLSkel.invoke(Unknown Source)
  at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
  at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
  at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
  at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
  at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
  at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
  atweblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
  at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
  at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

 -- Steps
 The issue can be reproduced at will with the following steps.

1. Select two shipments
2. Run action Operational Planning > Change Shipment Route > Merge Shipments
3. Select Consolidate=TRUE
6. Select Equipment Group
7. Click Optimize
8. Error is received.

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