"java.lang.NullPointerException" Error Thrown After Modifying True/False Field and Clicking Save in Shipment Results Screen (Doc ID 957192.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 5.5.03 to 5.5.04
This problem can occur on any platform.

Symptoms

-- Problem Statement:

In OTM 5.5 CU3, when making a true/false field on the Screen Set Results page editable, the java null pointer error below is thrown after checking the box and clicking save.

ERROR
java.lang.NullPointerException

java.lang.NullPointerException
at glog.webserver.finder.ResultDisplayServlet.setElementValue(ResultDisplayServlet.java:778)
at glog.webserver.finder.ResultDisplayServlet.handleField(ResultDisplayServlet.java:547)
at glog.webserver.finder.ResultDisplayServlet.processElement(ResultDisplayServlet.java:500)
at glog.webserver.finder.ResultDisplayServlet.processEditRequest(ResultDisplayServlet.java:474)
at glog.webserver.finder.ResultDisplayServlet.processRequest(ResultDisplayServlet.java:464)
at glog.webserver.finder.ResultDisplayServlet.getDocument(ResultDisplayServlet.java:175)
at glog.webserver.util.AbstractServletProducer.process(AbstractServletProducer.java:81)
at glog.webserver.util.BaseServlet.service(BaseServlet.java:614)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at glog.webserver.session.ParameterValidation.doFilter(ParameterValidation.java:29)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at glog.webserver.screenlayout.ClientSessionTracker.doFilter(ClientSessionTracker.java:54)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at glog.webserver.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:876)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)

-- Steps To Reproduce:

1. Log into OTM 5.5 CU3
2. Click on Menu Item containing a custom screenset where a true/false field has been marked as editable.
3. Search for one or more shipments.
4. In the results screen, check or uncheck the true/false box added to the screenset on any of the shipments. 
5. Click Save
6. Note the null pointer error thrown

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