When an Order Release Agent Uses An ORDER RELEASE - MOD - FULL IMPACT And Is Set With Before Persist Unticked The Agent Fails With Error: java.lang.NullPointerException at glog.server.agent.business.o (Doc ID 1075764.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 5.5 to 6.1 - Release: 5.5 to 6.1
Information in this document applies to any platform.

Symptoms

On OTM 5.5 when an Agent is set to use the Action of ORDER RELEASE - MOD - FULL IMPACT but Before Persist is switched off the agent fails.

ERROR
-----------------------
java.lang.NullPointerException at glog.server.agent.business.order.CheckEditableShipment.isOrderTimeWindowCompatible(CheckEditableShipment.java:244)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:

1. Create an agent listening for ORDER RELEASE - MODIFIED, which contains the Action ORDER RELEASE - MOD - FULL IMPACT
2. Ensure the Agent is set with Before Persist unticked.
3. Create an Order Release and plan it onto a Shipment.
4. Update the Order Release and save the change.
5. The agent will fail.


Workaround, set the agent to Before Persist.

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