My Oracle Support Banner

NOTIFY INVOLVED PARTY/CONTACT AGENT ACTIONS FAILS WITH NULL POINTER EXCEPTION (Doc ID 975988.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Transportation Management - Version 6.0.2 to 6.0.4 [Release 6]
Information in this document applies to any platform.

Symptoms

On OTM version 6.0.2 when attempting to send a notification via email when a Shipment is built the email notification is not sent and the following error is seen:

ERROR
-----------------------
2009-12-02 17:57:51.34 417212 Debug Sql Select Shipment_refnum_value, Shipment_refnum_qual_gid from Shipment_refnum where shipment_gid = ?; [IRE/EMAI/ITS/GBH.2HG0001285] [agentUtility - 3]
2009-12-02 17:57:51.343 417212 Error Exception java.lang.NullPointerException

java.lang.NullPointerException
at java.util.Calendar.setTime(Calendar.java:1070)
at glog.util.LocalTimestamp.<init>(LocalTimestamp.java:89)
at glog.util.LocalTimestamp.valueOf(LocalTimestamp.java:258)




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

1 - Logged on to OTM

2 - Created a new contact:
     ID: OWC
     Set the email address
     No location assigned.
     Contact details: E-Mail, Rank 1, Responce 2 Hours

3 - Created a new agent:
      ID: Agent for OWC
      Type: Shipment
      Active: ticked
      Event: Shipment Created.
      Restrictions, included all 3.
       Actions:
       Notify contact: OWC by EMAIL.

4 - Created a new Order which an existing agent built onto a new Shipment.

5 -  The agent created above attempted to send the email notification.

6 - The error was seen in the log:

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.