When Sending Transmissions With Integration Preference Gain The Following Error: java.lang.NullPointerException at java.util.Hashtable.get(Hashtable.java:336) (Doc ID 1489081.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Management - Version 6.2.6 to 6.3 [Release 6.2 to 6.3]
Information in this document applies to any platform.

Symptoms

On OTM version 6.2.6.

When an integration preference to have 3 decimal places is used and a shipment has an event on it any transmission sent errors, if there is no event it does not error.

ERROR
-----------------------
Exception java.lang.NullPointerException

java.lang.NullPointerException
at java.util.Hashtable.get(Hashtable.java:336)
at glog.util.AddTimeZone.getTimeZone(LocalTimestamp.java:620)
at glog.util.LocalTimestamp.getTimeZone(LocalTimestamp.java:439)
at glog.util.LocalTimestamp.setTimeZoneId(LocalTimestamp.java:276)
at glog.util.LocalTimestamp.convert(LocalTimestamp.java:128)
at glog.util.LocalTimestamp.convert(LocalTimestamp.java:329)
at glog.util.uom.UOMDisplayFilter.getTypeUnit(UOMDisplayFilter.java:93)
at glog.util.uom.UOMQueryFilterBase.getAppObject(UOMQueryFilterBase.java:145)
at glog.util.uom.UOMQueryFilterBase.getAppObject(UOMQueryFilterBase.java:273)
at glog.util.uom.UOMQueryFilterBase.getLocalTimestamp(UOMQueryFilterBase.java:282)
at glog.util.jdbc.noserver.SqlQuery.getLocalTimestamp(SqlQuery.java:276)
at glog.integration.xmlbasebuilder.XmlBaseBuilder.getGLogDateTimeFromSqlQuery(XmlBaseBuilder.java:663)
at glog.integration.application.shipmentstatus.ShipmentStatusBuilder.createFromDB(ShipmentStatusBuilder.java:450)
at glog.integration.application.shipmentstatus.ShipmentStatusBuilder.createFromDB(ShipmentStatusBuilder.java:331)
at glog.integration.application.shipmentstatus.ShipmentStatusBuilder.create(ShipmentStatusBuilder.java:274)
at glog.integration.xmlbasebuilder.XmlBaseBuilder.createList(XmlBaseBuilder.java:395)
at glog.integration.application.shipment.ShipmentBuilder.create(ShipmentBuilder.java:153)
at glog.integration.xmlbasebuilder.XmlBaseBuilder.createList(XmlBaseBuilder.java:395)
at glog.integration.xmlbasebuilder.XmlBaseBuilder.create(XmlBaseBuilder.java:517)
at glog.integration.xmlbasebuilder.XmlBaseBuilder.create(XmlBaseBuilder.java:512)
at glog.integration.application.shipment.ShipmentInterface.buildXML(ShipmentInterface.java:114)
at glog.integration.application.BaseInterface.buildXML(BaseInterface.java:64)
at glog.integration.notification.TransactionBuilder.addReasonElement(TransactionBuilder.java:425)
at glog.integration.notification.TransactionBuilder.init(TransactionBuilder.java:203)
at glog.integration.notification.TransactionBuilder.create(TransactionBuilder.java:189)
at glog.integration.notification.TransactionBuilder.create(TransactionBuilder.java:171)
at glog.server.workflow.notify.StandardXMLBuilder.getTransactionBuilder(StandardXMLBuilder.java:48)
at glog.server.workflow.notify.StandardXMLBuilder.buildTransactions(StandardXMLBuilder.java:31)
at glog.server.workflow.notify.SendXMLWorkflow.sendSingleTransmission(SendXMLWorkflow.java:197)
at glog.server.workflow.notify.SendXMLWorkflow.initialize(SendXMLWorkflow.java:116)
at glog.server.workflow.Workflow.execute(Workflow.java:46)
at glog.server.workflow.WorkflowSessionBean.execute(WorkflowSessionBean.java:64)
at glog.server.workflow.WorkflowSessionServerSideEJBWrapper.execute(WorkflowSessionServerSideEJBWrapper.java:38)
at glog.server.workflow.WorkflowSessionServerSideEJBWrapper_61kh96_EOImpl.execute(WorkflowSessionServerSideEJBWrapper_61kh96_EOImpl.java:350)
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)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Log onto OTM.
2. Build a Shipment.
3. Add an Event to the Shipment but do not use a location that is a stop.
4. Ensure the Integration Preferences are set with 3 decimal places.
5. Attempt to send the transmission out of OTM for the Shipment.

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