"Org.Xml.Sax.Saxparseexception: Premature End Of File" Error Received in the Logs When Entering Tracking Event (Doc ID 1291321.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Transportation Management - Version 6.1.2 to 6.1.5 [Release 6.1]
Information in this document applies to any platform.
***Checked for relevance on 11-Aug-2014***

Symptoms


When clicking "New" to enter a New Tracking event on the default link in OTM using the default out of box link, the following error is seen in the glog.web.log file:

ERROR
-----------------------
2010-12-14 13:46:34.369 0 Error Exception org.xml.sax.SAXParseException:
Premature end of file.

org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at glog.webserver.util.XercesXMLHelper.parse(XercesXMLHelper.java:90)
at glog.webserver.screenlayout.DispatchServlet.readXmlStream(DispatchServlet.java :76)
at glog.webserver.screenlayout.DispatchServlet.getDocument(DispatchServlet.java:4
2) at glog.webserver.util.AbstractServletProducer.process(AbstractServletProducer.ja
va:80) at glog.webserver.util.BaseServlet.service(BaseServlet.java:705)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi
lterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
n.java:206) at glog.webserver.session.ParameterValidation.doFilter(ParameterValidation.java:2
9) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi
lterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
n.java:206)
at glog.webserver.screenlayout.ClientSessionTracker.doFilter(ClientSessionTracker
.java:59)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
n.java:206)
at
glog.webserver.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFi
lter.java:44)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFi
lterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChai
n.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:1
09)
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:8
89)
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:
1. Log into OTM 6.1.
2. Go to Fleet Management --> Visibility --> Tracking Event.
3. Click "New".
4. Note the error seen in the glog.web.log file:

2010-12-14 13:46:34.369 0 Error Exception org.xml.sax.SAXParseException:
Premature end of file.

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