java.lang.RuntimeException: org.xml.sax.SAXParseException; Premature end of file.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via cloudera.com by Unknown author, 1 year ago
org.xml.sax.SAXParseException; Premature end of file.
via hadoop-mapreduce-user by Amogh Vasekar, 1 year ago
org.xml.sax.SAXParseException: Character reference "&#1" is an invalid XML character.
via apache.org by Unknown author, 1 year ago
java.util.zip.ZipException: ZIP_Read: error reading zip file
via Stack Overflow by kunaal
, 2 years ago
org.xml.sax.SAXParseException: Content is not allowed in prolog.
via hadoop-chukwa-user by Joe Hammerman, 1 year ago
org.xml.sax.SAXParseException: The element type "val ue" must be terminated by the matching end-tag "</value>".
via hadoop-chukwa-user by Joe Hammerman, 1 year ago
org.xml.sax.SAXParseException: The element type "val ue" must be terminated by the matching end-tag "</value>".
java.lang.RuntimeException: org.xml.sax.SAXParseException; Premature end of file.
at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2325)
at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2182)
at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2089)
at org.apache.hadoop.conf.Configuration.get(Configuration.java:838)
at org.apache.hadoop.mapred.JobConf.checkAndWarnDeprecation(JobConf.java:2020)
at org.apache.hadoop.mapred.JobConf.(JobConf.java:476)
at org.apache.hadoop.mapred.LocalJobRunner$Job.(LocalJobRunner.java:147)
at org.apache.hadoop.mapred.LocalJobRunner.submitJob(LocalJobRunner.java:636)
at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:430)
at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1268)
at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1265)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1548)
at org.apache.hadoop.mapreduce.Job.submit(Job.java:1265)
at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:562)
at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:557)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 7 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.