My Oracle Support Banner

Saving Multiple Edited Order Releases Fails With Null Pointer Exception (Doc ID 1372167.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Transportation Management - Version 6.2.1 and later
Information in this document applies to any platform.

Symptoms

When editing multiple Order Releases, but not making changes to all of them, upon pressing 'finished', a Null Pointer Exception similar to the following is thrown:

At 2011-10-07 08:04:41.039

java.lang.NullPointerException

java.lang.NullPointerException
at glog.webserver.order.helper.OrderReleaseSaveHelper.getPersistenceHandler(OrderReleaseSaveHelper.java:89)
at glog.webserver.order.custscreen.OrderReleaseCustSaveServlet.getPersistenceHandler(OrderReleaseCustSaveServlet.java:31)
at glog.webserver.util.AbstractSaveServlet.saveChild(AbstractSaveServlet.java:115)
at glog.webserver.order.custscreen.OrderReleaseCustSaveServlet.saveChild(OrderReleaseCustSaveServlet.java:107)
at glog.webserver.util.AbstractSaveServlet.getDocument(AbstractSaveServlet.java:361)
at glog.webserver.custscreens.CustScreenSaveServlet.getDocument(CustScreenSaveServlet.java:114)
at glog.webserver.order.custscreen.OrderReleaseCustSaveServlet.getDocument(OrderReleaseCustSaveServlet.java:111)
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)

Note:

When making changes to all of them, the 'finished' works as expected. The error only occurs when not all of the edited ORs are actually updated.

To reproduce:

* Go to Order Release, do an open search
* Mark the first five releases, click 'Edit'
* Click 'Next', make whatever change to that release, click 'finished' - you see the error.
* Edit them again
* make some change to each one (like give them a name or something), click 'finished' in the end - the changes are saved as expected.

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.