My Oracle Support Banner

"java.lang.NullPointerException" Received when Building Shipment where Order Release Stop Matches Border Crossing Interim Stop on an Itinerary. (Doc ID 1103914.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Transportation Management - Version 6.1.1 to 6.1.2 [Release 6.1]
Information in this document applies to any platform.

Symptoms

In OTM 6.1, when attempting to create a Border Crossing Shipment with an interim stop, where the Order Release stop is the same as the interim border crossing stop on the itinerary, the following error occurs.

ERROR
-----------------------
java.lang.NullPointerException
at
glog.business.shipment.multistoporder.MultiStopOrderReleaseShipmentBuilder.ins
ertOtherTypeOfStops(MultiStopOrderReleaseShipmentBuilder.java:762)
at
glog.business.shipment.multistoporder.MultiStopOrderReleaseShipmentBuilder.ins
ertOtherTypeOfStops(MultiStopOrderReleaseShipmentBuilder.java:413)
at
glog.business.shipment.multistoporder.MultiStopOrderReleaseShipmentBuilder.pro
cessItinerayOption(MultiStopOrderReleaseShipmentBuilder.java:176)
at
glog.business.shipment.LegOptionOptimizer.getCheapestFeasibleOption(LegOptionO
ptimizer.java:331)
at
glog.business.shipment.LegOptionOptimizer.buildItineraryOptionOnBestLegOptions
(LegOptionOptimizer.java:122)
at
glog.business.shipment.ShipmentBuilder.buildBestItineraryOption(ShipmentBuilde
r.java:1482)
at
glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java
:1521)
at
glog.business.shipment.ShipmentBuilder.buildShipmentGraphCollection(ShipmentBu
ilder.java:506)
at
glog.business.shipment.ShipmentBuilder.buildShipmentGraphCollection(ShipmentBu
ilder.java:445)
at
glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java
:350)
at
glog.business.shipment.ShipmentBuilder.buildShipmentGraph(ShipmentBuilder.java
:311)
at
glog.business.action.OrderActionExecutor.buildShipmentGraph(OrderActionExecuto
r.java:383)
at
glog.business.action.OrderActionExecutor.buildShipments(OrderActionExecutor.ja
va:333)
at
glog.business.session.OrderActionSessionBean.buildShipments(OrderActionSession
Bean.java:242)
at
glog.business.session.OrderActionSessionServerSideEJBWrapper.buildShipments(Or
derActionSessionServerSideEJBWrapper.java:140)
at
glog.business.session.OrderActionSessionHome_likuwd_EOImpl.buildShipments(Orde
rActionSessionHome_likuwd_EOImpl.java:3731)
at
glog.business.session.gen.OrderActionSessionSkel.buildShipments(OrderActionSes
sionSkel.java:451)
at
glog.business.session.gen.OrderActionSessionSkel.exec(OrderActionSessionSkel.j
ava:132)
onHome_a06097_EOImpl.java:61)
at glog.server.wrapper.WrapperSessionHome_a06097_EOImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:590)
at
weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:232
)
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 into OTM.
2. Navigate to Order Management --> Order Release --> Order Release with Stops.
3. Search for an order which contains an order release stop which matches the same location as the interim border crossing interim stop on the Itinerary.
4. Select Order and Go to Actions --> Operational Planning --> Create Buy Shipment --> Direct
5. Select Planning Parameter.
6. Click Ok.
7. Note the java null pointer error received.


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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.