My Oracle Support Banner

When Trying To "Build Buy Side Shipment" the Following Error is Shown: java.lang.NullPointerException at glog.business.order.TOrderMovement.getSeqNo(TOrderMovement.java:3102) (Doc ID 1561045.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

On OTM version 6.2.5 when attempting to Build a Buy Shipment from a Sell Shipment using the Brokerage and Forwarding Actions, the following error occurs.

ERROR
-----------------------
java.lang.NullPointerException
at glog.business.order.TOrderMovement.getSeqNo(TOrderMovement.java:3102)
at glog.business.action.ShipmentBuyFromSellActionExecutor.getSequencedTOrderMovements(ShipmentBuyFromSellActionExecutor.java:1020)
at glog.business.action.ShipmentBuyFromSellActionExecutor.addBuyOrderMovementsToGraph(ShipmentBuyFromSellActionExecutor.java:881)
at glog.business.action.ShipmentBuyFromSellActionExecutor.buildMultiLegBuySideFromSellShipment(ShipmentBuyFromSellActionExecutor.java:841)
at glog.business.action.ShipmentBuyFromSellActionExecutor.buildBuySideFromSellShipment(ShipmentBuyFromSellActionExecutor.java:549)
at glog.business.session.ShipmentExecutionActionSessionBean.buildBuySideFromSellShipment(ShipmentExecutionActionSessionBean.java:1346)
at glog.business.session.ShipmentExecutionActionSessionServerSideEJBWrapper.buildBuySideFromSellShipment(ShipmentExecutionActionSessionServerSideEJBWrapper.java:2041)
at glog.business.session.ShipmentExecutionActionSessionServerSideEJBWrapper_idwxv7_EOImpl.buildBuySideFromSellShipment(ShipmentExecutionActionSessionServerSideEJBWrapper_idwxv7_EOImpl.java:7365)
at glog.business.session.gen.ShipmentExecutionActionSessionSkel.buildBuySideFromSellShipment(ShipmentExecutionActionSessionSkel.java:1646)
at glog.business.session.gen.ShipmentExecutionActionSessionSkel.exec(ShipmentExecutionActionSessionSkel.java:298)
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: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 onto an OTM 62 system.

2 - Create an Order Release.

3 - Build the SELL side Shipment: From the Order Release; click Actions > Operational Planning > Create Sell Shipment > Bulk Plan - Sell.

4 - A sell Shipment is created.

5 - From the Sell Shipment build the Buy Shipment.
Click on: Actions > Brokerage and Forwarding > Book Sell Shipment > Build Buy Side Shipment

5 - The error is seen.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.