java.lang.NullPointerException Error Generated Using csvImport with Python to Import Data into Version 6.3.3 (Doc ID 1663427.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Management - Version 6.3.3 and later
Information in this document applies to any platform.

Symptoms

Some clients who are using python for csvImport are reporting errors being generated when sending in CSV data into OTM 6.3.3.

java.lang.NullPointerException
at java.util.StringTokenizer.<init>(StringTokenizer.java:182)
at glog.database.admin.CSVUtil$ControlInfo.init(CSVUtil.java:512)
at glog.database.admin.CSVUtil$ControlInfo.<init>(CSVUtil.java:434)
at glog.database.admin.CSVUtil.processCSV(CSVUtil.java:1983)
at glog.database.admin.CSVUtil.run(CSVUtil.java:2672)
at glog.integration.servlet.CSVUtilServletHelper.processCSV(CSVUtilServletHelper.java:124)
at glog.integration.servlet.CSVUtilServletHelper.process(CSVUtilServletHelper.java:242)
at glog.integration.servlet.BatchCSVUtilServlet.doGet(BatchCSVUtilServlet.java:43)
at glog.integration.servlet.IntegrationBaseServlet.process(IntegrationBaseServlet.java:13)
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)







Changes

There was a new application servlet filter that was created to always set the ServletRequest character encoding to a particular value.

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