org.xml.sax.SAXParseException: Premature end of file.

alfresco.com | 3 months ago
  1. 0

    Websphereusergroup.org | Thread | Unable to solve CORBA MARSHAL exception in WAS

    websphereusergroup.org | 1 year ago
    org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Premature end of file.  vmcid: IBM  minor code: 896  completed: No
  2. 0

    JBoss is an open-source J2EE server

    gmane.org | 1 year ago
    org.xml.sax.SAXParseException: Premature end of file.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    SoaptoJava Failing after some hours

    Google Groups | 4 years ago | Jorge Martinez
    org.xml.sax.SAXParseException: Premature end of file.
  5. 0

    Jenkins output: Started by timer Building remotely on jenkins-slave4 (Windows2008) Copied 298 artifacts from trunk-onqmodels #482 Copied 19 artifacts from trunk-onqQaAccept #235 Copied 5 artifacts from trunk-onqQaQueueSchedule #31 Copied 21 artifacts from trunk-onqIntTestIntegration #252 Copied 6 artifacts from trunk-onqQaPrimeTheDialer #160 Copied 6 artifacts from trunk-onqQaPurgeRecords #33 Copied 5 artifacts from trunk-onqQaReleaseSentRecords #42 Copied 5 artifacts from trunk-onqQaSimulation #41 Copied 5 artifacts from trunk-onqQaMultiTenant #49 Copied 5 artifacts from trunk-onqQaTransferAccounts #26 Preparing TestLink client API. Using TestLink URL: https://jira.corp.alisolutions.com/testlink/lib/api/xmlrpc.php Found 102 automated test cases in TestLink. Sorting automated test cases by TestLink test plan execution order. Executing single Build Steps. Executing iterative Build Steps. Looking for the test results of TestLink test cases. Looking for test results in JUnit suites. Found [347] JUnit XML(s). 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 hudson.plugins.testlink.parser.Parser.parse(Parser.java:101) at hudson.plugins.testlink.result.junit.JUnitSuitesTestResultSeeker.processJUnitReports(JUnitSuitesTestResultSeeker.java:124) at hudson.plugins.testlink.result.junit.JUnitSuitesTestResultSeeker.seek(JUnitSuitesTestResultSeeker.java:94) 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.FilePath$FileCallableWrapper.call(FilePath.java:2022) 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 java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Unknown Source) Caused by: hudson.plugins.testlink.parser.ParserException: org.xml.sax.SAXParseException: Premature end of file. at hudson.plugins.testlink.parser.junit.JUnitParser.parse(JUnitParser.java:102) at hudson.plugins.testlink.parser.junit.JUnitParser.parse(JUnitParser.java:51) at hudson.plugins.testlink.parser.Parser.parse(Parser.java:89) ... 16 more Caused by: 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 org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at hudson.plugins.testlink.parser.junit.JUnitParser.parse(JUnitParser.java:94) ... 18 more Looking for test results in JUnit classes. Found [347] JUnit XML(s). 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 hudson.plugins.testlink.parser.Parser.parse(Parser.java:101) 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.FilePath$FileCallableWrapper.call(FilePath.java:2022) 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 java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Unknown Source) Caused by: hudson.plugins.testlink.parser.ParserException: org.xml.sax.SAXParseException: Premature end of file. at hudson.plugins.testlink.parser.junit.JUnitParser.parse(JUnitParser.java:102) at hudson.plugins.testlink.parser.junit.JUnitParser.parse(JUnitParser.java:51) at hudson.plugins.testlink.parser.Parser.parse(Parser.java:89) ... 16 more Caused by: 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 org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at hudson.plugins.testlink.parser.junit.JUnitParser.parse(JUnitParser.java:94) ... 18 more FATAL: remote file operation failed: c:/Users/buildsys/hudson/workspace/trunk-updateTestLink at hudson.remoting.Channel@4b730404:jenkins-slave4 (Windows2008) hudson.util.IOException2: remote file operation failed: c:/Users/buildsys/hudson/workspace/trunk-updateTestLink at hudson.remoting.Channel@4b730404:jenkins-slave4 (Windows2008) at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:196) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694) at hudson.model.Build$RunnerImpl.build(Build.java:178) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:460) at hudson.model.Run.run(Run.java:1404) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.io.IOException: Remote call on jenkins-slave4 (Windows2008) failed at hudson.remoting.Channel.call(Channel.java:690) at hudson.FilePath.act(FilePath.java:774) ... 11 more Caused by: java.lang.OutOfMemoryError: Java heap space The PurgeRecordsMultipleFileLoadTest.xml was empty - the unit test job was aborted. It would prefer that this would result in updating TestLink with a failure result when the XML cannot be parsed than having the job fail. I re-ran the same job but excluded the artifacts from trunk-onqQaPurgeRecords but that resulted in: Started by user jsillers Building remotely on jenkins-slave4 (Windows2008) Copied 298 artifacts from trunk-onqmodels #482 Copied 19 artifacts from trunk-onqQaAccept #235 Copied 5 artifacts from trunk-onqQaQueueSchedule #31 Copied 21 artifacts from trunk-onqIntTestIntegration #252 Copied 6 artifacts from trunk-onqQaPrimeTheDialer #160 Copied 5 artifacts from trunk-onqQaReleaseSentRecords #42 Copied 5 artifacts from trunk-onqQaSimulation #41 Copied 5 artifacts from trunk-onqQaMultiTenant #49 Copied 5 artifacts from trunk-onqQaTransferAccounts #26 Preparing TestLink client API. Using TestLink URL: https://jira.corp.alisolutions.com/testlink/lib/api/xmlrpc.php Found 102 automated test cases in TestLink. Sorting automated test cases by TestLink test plan execution order. Executing single Build Steps. Executing iterative Build Steps. Looking for the test results of TestLink test cases. Looking for test results in JUnit suites. Found [345] JUnit XML(s). Looking for test results in JUnit classes. Found [345] JUnit XML(s). FATAL: remote file operation failed: c:/Users/buildsys/hudson/workspace/trunk-updateTestLink-clone at hudson.remoting.Channel@4b730404:jenkins-slave4 (Windows2008) hudson.util.IOException2: remote file operation failed: c:/Users/buildsys/hudson/workspace/trunk-updateTestLink-clone at hudson.remoting.Channel@4b730404:jenkins-slave4 (Windows2008) at hudson.FilePath.act(FilePath.java:781) at hudson.FilePath.act(FilePath.java:767) at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:196) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:694) at hudson.model.Build$RunnerImpl.build(Build.java:178) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:460) at hudson.model.Run.run(Run.java:1404) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) Caused by: java.io.IOException: Remote call on jenkins-slave4 (Windows2008) failed at hudson.remoting.Channel.call(Channel.java:690) at hudson.FilePath.act(FilePath.java:774) ... 11 more Caused by: java.lang.OutOfMemoryError: Java heap space The 3.x version of the plugin fixed an OutOfMemoryError. Surprised that this is still showing up.

    Jenkins JIRA | 5 years ago | John Sillers
    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.

  1. qavid 6 times, last 6 months ago
  2. eilonreshef 1 times, last 9 months ago
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.xml.sax.SAXParseException

    Premature end of file.

    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException()
  2. Xerces2-j
    SAXParserImpl.parse
    1. org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    2. org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
    3. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    4. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    5. org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
    6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    7. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    8. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    9. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    10. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    11. org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
    11 frames
  3. Axis Web Services
    Call.invoke
    1. org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    2. org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    3. org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
    4. org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
    5. org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
    6. org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    7. org.apache.axis.client.Call.invoke(Call.java:2767)
    8. org.apache.axis.client.Call.invoke(Call.java:2443)
    9. org.apache.axis.client.Call.invoke(Call.java:2366)
    10. org.apache.axis.client.Call.invoke(Call.java:1812)
    10 frames
  4. org.alfresco.webservice
    ContentServiceSoapBindingStub.write
    1. org.alfresco.webservice.content.ContentServiceSoapBindingStub.write(ContentServiceSoapBindingStub.java:513)
    1 frame
  5. uk.co.mmscomputing
    ImageTab$3.actionPerformed
    1. uk.co.mmscomputing.application.imageviewer.ImageTab.saveAlfresco(ImageTab.java:412)
    2. uk.co.mmscomputing.application.imageviewer.ImageTab.save(ImageTab.java:351)
    3. uk.co.mmscomputing.application.imageviewer.ImageTab$3.actionPerformed(ImageTab.java:151)
    3 frames
  6. Java RT
    EventDispatchThread.run
    1. javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    2. javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    3. javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    4. javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    6. java.awt.Component.processMouseEvent(Unknown Source)
    7. javax.swing.JComponent.processMouseEvent(Unknown Source)
    8. java.awt.Component.processEvent(Unknown Source)
    9. java.awt.Container.processEvent(Unknown Source)
    10. java.awt.Component.dispatchEventImpl(Unknown Source)
    11. java.awt.Container.dispatchEventImpl(Unknown Source)
    12. java.awt.Component.dispatchEvent(Unknown Source)
    13. java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    14. java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    15. java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    16. java.awt.Container.dispatchEventImpl(Unknown Source)
    17. java.awt.Component.dispatchEvent(Unknown Source)
    18. java.awt.EventQueue.dispatchEvent(Unknown Source)
    19. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    20. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    21. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    22. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    23. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    24. java.awt.EventDispatchThread.run(Unknown Source)
    24 frames