Null Pointer Error Received Clicking Calendar Using Custom Order Release Manager Layout Using Order Configuration As A DropDown and Hiding Fields (Doc ID 1334063.1)

Last updated on SEPTEMBER 08, 2016

Applies to:

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

Symptoms


When making the Order Configuration Field a Fixed List on the Order Release Screen and then hiding/requiring a couple of other fields, a null pointer is received when clicking on the calendar next to the date fields.

ERROR
-----------------------
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at glog.webserver.session.SessionStore.setAttribute(SessionStore.java:55)
at glog.webserver.custscreens.CustScreenManagementServlet.setManagerLayoutGid(CustScreenManagementServlet.java:245)
at glog.webserver.custscreens.CustScreenManagementServlet.getStyleSheetViewString(CustScreenManagementServlet.java:230)
at glog.webserver.util.AbstractManagementServlet.getDocument(AbstractManagementServlet.java:533)
at glog.webserver.order.custscreen.OrderReleaseCustManagementServlet.getDocument(OrderReleaseCustManagementServlet.java:29)
at glog.webserver.util.AbstractServletProducer.process(AbstractServletProducer.java:77)
at glog.webserver.util.BaseServlet.service(BaseServlet.java:822)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
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:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:238)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at glog.webserver.screenlayout.ClientSessionTracker.doFilter(ClientSessionTracker.java:74)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:238)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at glog.webserver.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:45)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:238)
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:111)
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:890)
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:
1. Created Custom Order Release Manager Layout: SH.CUST_FIXED_LIST_RELEASE
and made the following changes:
• Made the Order Configuration a fixed list and chose 3 from the list. (Auto Calc, Simple and One to One).
• Made Order Release Name a Required Field
• Deleted Template and Use as A Template Fields

2. Created Custom ORDER_RELEASE Screenset: SH.CUST_FIXED_LIST_RELEASE and added manager layout: SH.CUST_FIXED_LIST_RELEASE.

3. Added screenset CUST_FIXED_LIST_RELEASE to Menu as Release Fixed List

To Replicate:

1. Log into OTM.
2. Click on menu item: "Release Fixed List"
3. Search for Order Release NAMESP1.
4. Select and click Edit.
5. Click the Calendar Next to Early Pickup Date.
6. Note the Error Received:
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