Null Pointer Exception Received When Attempting to Add a Tracking Event While in Edit Mode of Shipment (Doc ID 1209077.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 6.1.2 and later   [Release: 6.1 and later ]
Information in this document applies to any platform.

Symptoms


When attempting to Add a Tracking Event to a shipment while in edit mode, the following error occurs.

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


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Log into OTM.
2. Go to Shipment Management --> Shipment Management --> Buy Shipments.
3. Search for any Shipment.
4. Select the shipment and click Edit.
5. Inside the edit screen, select  Actions --> Shipment Management --> Events -> Add Tracking Event.
6. Note the Error:
java.lang.NullPointerException

java.lang.NullPointerException
at glog.webserver.shipmentstatus.IeShipmentStatusProducerFix.createSingletonChild(IeShipmentStatusProducerFix.java:39)
at glog.webserver.shipmentstatus.IeShipmentStatusProducerFix.createSingletonChildren(IeShipmentStatusProducerFix.java:17)
at glog.webserver.shipmentstatus.custscreen.IeShipmentstatusCustManagementServlet.fixFlattenedChildRows(IeShipmentstatusCustManagementServlet.java:115)
at glog.webserver.shipmentstatus.custscreen.IeShipmentstatusCustManagementServlet.getDocument(IeShipmentstatusCustManagementServlet.java:50)
at glog.webserver.util.AbstractServletProducer.process(AbstractServletProducer.java:80)
at glog.webserver.util.BaseServlet.service(BaseServlet.java:705)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at glog.webserver.session.ParameterValidation.doFilter(ParameterValidation.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at glog.webserver.screenlayout.ClientSessionTracker.doFilter(ClientSessionTracker.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at glog.webserver.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:45)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:193)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:111)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:890)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)



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