My Oracle Support Banner

"java.lang.NullPointerException" Exception or Order Modify When Order Has Equipment Reference Units (Doc ID 1606955.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Transportation Management - Version 6.0 to 6.3.3 [Release 6 to 6.3]
Information in this document applies to any platform.

Symptoms

An Order Release is created with Equipment Reference Units (ERU) data. This Order Release is planned onto a shipment.

An Order Release update is then made that changes the ERU quantities, which then triggers a BEFORE PERSIST agent.

The Agent Action "IF ON EDITABLE SHIPMENT FOR ORDER RELEASE" fails with the following Exception:

java.lang.NullPointerException
at glog.business.order.TShipUnit.addTChildren(TShipUnit.java:354)
at glog.business.order.TShipUnit.(TShipUnit.java:227)
at glog.business.order.TOrderRelease.addTChildren(TOrderRelease.java:399)
at glog.business.order.TOrderRelease.(TOrderRelease.java:259)
at glog.server.agent.business.order.CheckEditableShipment.checkIfCondition(CheckEditableShipment.java:83)
at glog.server.agent.utility.If.checkCondition(If.java:72)
at glog.server.agent.utility.If.execute(If.java:66)
at glog.server.agent.ActionWorkflow.execute(ActionWorkflow.java:49)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper.execute(WorkflowSessionNonTransServerSideEJBWrapper.java:38)
at glog.server.workflow.WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.execute(WorkflowSessionNonTransServerSideEJBWrapper_t6tuwu_EOImpl.java:278)
at glog.server.workflow.WorkflowManager.execute(WorkflowManager.java:352)
at glog.server.workflow.Trigger.trigger(Trigger.java:122)
at glog.util.event.MemoryEventQueueRunnable.processEvent(MemoryEventQueueRunnable.java:146)
at glog.util.event.MemoryEventQueueRunnable.run(MemoryEventQueueRunnable.java:98)
at glog.util.event.EventThread.run(EventThread.java:86)
at java.lang.Thread.run(Thread.java:619)

Changes

 

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
Changes
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.