java.lang.Nullpointer Error is Shown when Trying to Split Shipment (Doc ID 562761.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version 5.5.04 to 5.5.04.02 [Release 5.5]
Information in this document applies to any platform.
Checked for relevance on 20-Sep-2010


Symptoms

-- Problem Statement:

When trying to Split Ship Units from one Shipment to a parallel Shipment, if the Order Source Location has a Load Point but the Order also has a Plan From Location, a Java.Lang.Nullpointer Error is Shown.

Example:

An Order Release has a Source Location 'X',
The Order Release has a Load Point of 'X1' set for Location 'X'.
The Order Release also has a Plan From Location of 'Y'.

When planning Location 'Y' should be used because the Plan From Location overrides the Source Location.

The Order Release is planned and 2 shipments (1 and 2) are built, both originating from Location 'Y'.

The null pointer error is encountered when moving Ship Units from Shipment 1 to Shipment 2.

To move Ship Units from Shipment 1 to Shipment 2 carry out the following steps:

1 - Locate and select Shipment 1.
2 - Click on Actions > Change Shipment Route > Split Shipment.
3 - In the next screen click on 'Ship Unit', then 'OK'.
4 - In the next screen select 'Split to Parallel Shipment' and entered the ID of the second Shipment.
5 - Set 'Split Amount Off' = 1 (located to the far right of the screen.)
6 - Click on 'OK'.
7 - In the next screen click on 'OK'.
8 - The Null Pointer Error is displayed.

java.lang.NullPointerException
at glog.business.shipment.TShipment.getEquipmentGroupPkProfile(TShipment.java:4689)
at glog.business.equipment.EquipmentHelper.getCompatibleTEquipmentGroups(EquipmentHelper.java:1746)
at glog.business.consolidation.multistop.MultiStopShipmentBuilder.updateCompatibleTEquipmentGroupSetForShipment(MultiStopShipmentBuilder.java:868)
at glog.business.consolidation.multistop.MultiStopShipmentBuilder.init(MultiStopShipmentBuilder.java:782)
at glog.business.consolidation.multistop.MultiStopShipmentBuilder.combineTShipments(MultiStopShipmentBuilder.java:1233)
at glog.business.consolidation.multistop.MultiStopShipmentBuilder.combineTShipments(MultiStopShipmentBuilder.java:1198)
at glog.business.action.helper.ShipmentPlanningActionHelper.combineTShipments(ShipmentPlanningActionHelper.java:1071)

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