NullPointerException on Mass-Update on Order Release Result Screen With Column Has 'Total' Checked.

(Doc ID 1681825.1)

Last updated on JUNE 16, 2014

Applies to:

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

Symptoms

When attempting to run mass update on Order Release finder to update the transport mode while there is a User Defined Attribute Number1 column has 'TOTAL' checked, the following error occurs on save.

ERROR
-----------------------
java.lang.NullPointerException
at glog.webserver.finder.QueryFinderAdapter.getTotalResults(QueryFinderAdapter.java:1551)
at glog.webserver.finder.QueryFinderAdapter.createTotalResultsElement(QueryFinderAdapter.java:128)
at glog.webserver.finder.ResultServlet.createResultsElement(ResultServlet.java:1357)
at glog.webserver.finder.ResultServlet.refreshPage(ResultServlet.java:360)
at glog.webserver.finder.ResultServlet.getDocument(ResultServlet.java:251)
at glog.webserver.util.AbstractServletProducer.process(AbstractServletProducer.java:80)
at glog.webserver.util.BaseServlet.service(BaseServlet.java:1028)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at glog.webserver.screenlayout.FrameInterceptFilter.doFilter(FrameInterceptFilter.java:33)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at glog.webserver.screenlayout.CsrfFilter.doFilter(CsrfFilter.java:58)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at glog.webserver.session.ParameterValidation.doFilter(ParameterValidation.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at glog.webserver.session.clientsession.ClientSessionFilter.doFilter(ClientSessionFilter.java:74)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at glog.webserver.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:46)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:680)

 

STEPS To REPLICATE

--------------------------

01. Create a custom Order Release screen set.
02. On the results tab, add two columns: Transport Mode ID + User Defined Attribute Number1
03. Make Transport Mode ID as editable so that it can be modified from the results screen
04. For User Defined Attribute Number1, check on total field
05. Access the Custom Order Release screenset
06. Search using this screenset and mass-update transport mode from the results screen
07. Error: java.lang.NullPointerException

 

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