Null Pointer Received Using "Relative Hour" As Default Criteria in BUY_SHIPMENT Screenset (Doc ID 1383692.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 6.2.3 to 6.2.5 - Release: 6.2 to 6.2
Information in this document applies to any platform.

Symptoms


When entering Relative Hours into the Default Criteria of a copy of the BUY_SHIPMENT screenset, the following Null Pointer is received when running a search:

ERROR
-----------------------
java.lang.NullPointerException
at glog.webserver.finder.QueryFinderAdapter.buildPkList(QueryFinderAdapter.java:1613)
at glog.webserver.finder.QueryFinderAdapter.buildPkList(QueryFinderAdapter.java:303)
at glog.webserver.finder.FinderModel.buildPkList(FinderModel.java:142)
at glog.webserver.finder.ResultServlet.getPkList(ResultServlet.java:578)
at glog.webserver.finder.ResultServlet.getDocument(ResultServlet.java:394)
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
-----------------------
The issue can be reproduced at will with the following steps:
Setup:
Created BUY_SHIPMENT Screenset: BUY_SHIPMENT_DEFAULT_CRITERIA
Added the following to the Default Criteria Tab:
Source Location: KSOURCE
Relative Hours: -300 and 0
Added to Menu as:

Buy Shipment Default Criteria

To Replicate:
1. Log into OTM 6.2.
2. Click on Menu Item: Buy Shipment Default Criteria
3. Click Search.
4. Note the following Null Pointer 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