"java.lang.NullPointerException" Exception When Searching Using a Screen Set with a Remark Field (Doc ID 1296457.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

Oracle Transportation Management - Version: 5.5.05 to 6.2.2 - Release: 5.5 to 6.2
Information in this document applies to any platform.

Symptoms


When attempting to perform a search on a custom screen set that includes a Remark column, the following error occurs.

-- Error

java.lang.NullPointerException
at glog.util.UnlimitedMessageFormat.getSubpatterns(UnlimitedMessageFormat.java:451)
at glog.util.UnlimitedMessageFormat.(UnlimitedMessageFormat.java:28)
at glog.webserver.finder.QueryFinderAdapter.addPseudoSubSelect(QueryFinderAdapter.java:1216)
at glog.webserver.finder.QueryFinderAdapter.addPseudoFieldsToResult(QueryFinderAdapter.java:995)
at glog.webserver.finder.QueryFinderAdapter.loadResults(QueryFinderAdapter.java:513)
at glog.webserver.finder.QueryFinderAdapter.getResults(QueryFinderAdapter.java:493)
at glog.webserver.finder.ResultDisplayServlet.getResults(ResultDisplayServlet.java:212)
at glog.webserver.finder.ResultDisplayServlet.getDocument(ResultDisplayServlet.java:122)
at glog.webserver.util.AbstractServletProducer.process(AbstractServletProducer.java:87)
at glog.webserver.util.BaseServlet.service(BaseServlet.java:601)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at glog.webserver.session.ParameterValidation.doFilter(ParameterValidation.java:29)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at glog.webserver.screenlayout.ClientSessionTracker.doFilter(ClientSessionTracker.java:59)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at glog.webserver.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)

-- Expected Behavior
That the query on the new screen set would run without error and return valid data.

-- Steps
The issue can be reproduced at will with the following steps.

1. Create a Custom Screen Set
2. Navigated to to Results Tab
3. For Column Selected Remark Text (P)
4. Enter a Label ID
5. Click Save
6. Click Finished
7. Attach your screen set to your menu you are using.
8. Navigate to your menu link
9. Click Search and an error is returned

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