"java.lang.NullPointerException" Exception When Attempting to Add a Field on the GTM_CONTACT Manager Layout (Doc ID 1551518.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

The following exception is encountered when trying to Add a field on Copied Manager layout for GTM_CONTACT

java.lang.NullPointerException
    at glog.webserver.managerlayout.AddFieldServlet.getEditFields(AddFieldServlet.java:614)
    at glog.webserver.managerlayout.AddFieldServlet.getShowAddFieldDocument(AddFieldServlet.java:201)
    at glog.webserver.managerlayout.AddFieldServlet.getDocument(AddFieldServlet.java:145)
    at glog.webserver.util.AbstractServletProducer.process(AbstractServletProducer.java:75)
    at glog.webserver.util.BaseServlet.service(BaseServlet.java:977)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at glog.webserver.screenlayout.FrameInterceptFilter.doFilter(FrameInterceptFilter.java:29)
    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:53)
    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:29)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at glog.webserver.screenlayout.ClientSessionTracker.doFilter(ClientSessionTracker.java:72)
    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:44)
    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:224)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    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:405)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:304)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)

Steps to replicate
 
1. Navigate to Configuration and Administration>User Configuration>Manager Layout 
 
2. Search for GTM_CONTACT, Copy the Manager layout and call it a Another name 

3. Proceed to edit the Copied Manager Layout,> Click the Detail tab. On the  first tab Party, click the radio button to the left of Customize  Section, so the the button Add Field is displayed 

4. Click Add Field.You get the 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