Editing Source Or Destination Location From Order Movement Screenset Throws NPE (Doc ID 1368950.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

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

Symptoms

A screenset is created for Order Movement where the following fields are marked as Editable:

Source Location ID
Destination Location ID

When a user tries to edit one of these fields from the Order Movement Results screen, an exception similar to the following is encountered:

java.lang.NullPointerException
at glog.webserver.finder.ResultSaveServlet.setElementValue(ResultSaveServlet.java:659)
at glog.webserver.finder.ResultSaveServlet.handleField(ResultSaveServlet.java:408)
at glog.webserver.finder.ResultSaveServlet.processElement(ResultSaveServlet.java:365)
at glog.webserver.finder.ResultSaveServlet.processEditRequest(ResultSaveServlet.java:338)
at glog.webserver.finder.ResultSaveServlet.processRequest(ResultSaveServlet.java:328)
at glog.webserver.finder.ResultSaveServlet.getDocument(ResultSaveServlet.java:167)
at glog.webserver.util.AbstractServletProducer.process(AbstractServletProducer.java:75)
at glog.webserver.util.BaseServlet.service(BaseServlet.java:822)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
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:29)
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:72)
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:44)
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:191)
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:109)
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:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)


Steps to reproduce:

1. Navigate to Order Movements
2. Search for an Order Movement
3. Double Click on the field for "Source Location ID"
4. Enter a Location
5. Click "OK"
6. Click the "Save" icon to save the change

Notice the text turns red

7. Expand the "plus" sign to see the above exception

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