hudson.plugins.testlink.parser.ParserException: Error while parsing file c:\Users\buildsys\hudson\workspace\trunk-updateTestLink\build\junit\TEST-com.ali.onqtest.qa.purgeRecords.PurgeRecordsMultipleFileLoadTest.xml: 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

,

The persistence_2_0.xsd enforces the order of the elements in the xml. Re-ordering them makes then error go away.

Solutions on the web

via Jenkins JIRA by John Sillers, 1 year ago
Error while parsing file c:\Users\buildsys\hudson\workspace\trunk-updateTestLink\build\junit\TEST-com.ali.onqtest.qa.purgeRecords.PurgeRecordsMultipleFileLoadTest.xml: org.xml.sax.SAXParseException: Premature end of file.
via Jenkins JIRA by John Sillers, 1 year ago
Error while parsing file c:\Users\buildsys\hudson\workspace\trunk-updateTestLink\build\junit\TEST-com.ali.onqtest.qa.purgeRecords.PurgeRecordsMultipleFileLoadTest.xml: org.xml.sax.SAXParseException: Premature end of file.
hudson.plugins.testlink.parser.ParserException: Error while parsing file c:\Users\buildsys\hudson\workspace\trunk-updateTestLink\build\junit\TEST-com.ali.onqtest.qa.purgeRecords.PurgeRecordsMultipleFileLoadTest.xml: org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at hudson.plugins.testlink.parser.junit.JUnitParser.parse(JUnitParser.java:94)
at hudson.plugins.testlink.parser.junit.JUnitParser.parse(JUnitParser.java:51)
at hudson.plugins.testlink.parser.Parser.parse(Parser.java:89)
at hudson.plugins.testlink.result.junit.JUnitTestCasesTestResultSeeker.processJUnitReports(JUnitTestCasesTestResultSeeker.java:133)
at hudson.plugins.testlink.result.junit.JUnitTestCasesTestResultSeeker.seek(JUnitTestCasesTestResultSeeker.java:103)
at hudson.plugins.testlink.result.TestResultsCallable.seekTestResults(TestResultsCallable.java:98)
at hudson.plugins.testlink.result.TestResultsCallable.invoke(TestResultsCallable.java:126)
at hudson.plugins.testlink.result.TestResultsCallable.invoke(TestResultsCallable.java:45)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:287)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at hudson.remoting.Engine$1$1.run(Engine.java:60)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

2 times, 4 weeks ago
2 times, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 1 year ago

Write tip

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