java.io.EOFException: input contained no data

Jenkins JIRA | Walter Kacynski | 3 years ago
  1. 0

    We don't use AccuWork in our installation. After installing plugin version .6.23 from .6.18 we get the following stack trace in our console {noformat} 10:20:27 [userAcceptance] $ accurev.exe getconfig -H prdaccurev.aoins.com:5050 -s -r settings.xml 10:20:27 FATAL: xxxxxxxxx.xxx.com: Get config to fetch webURL (accurev.exe getconfig -H accurev.xxx.com:5050 -s -r settings.xml) failed with java.io.EOFException: input contained no data 10:20:27 java.io.EOFException: input contained no data 10:20:27 at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003) 10:20:27 at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046) 10:20:27 at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410) 10:20:27 at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395) 10:20:27 at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) 10:20:27 at hudson.plugins.accurev.ParseGetConfig.parse(ParseGetConfig.java:19) 10:20:27 at hudson.plugins.accurev.ParseGetConfig.parse(ParseGetConfig.java:13) 10:20:27 at hudson.plugins.accurev.AccurevLauncher$1.parse(AccurevLauncher.java:199) 10:20:27 at hudson.plugins.accurev.AccurevLauncher.runCommand(AccurevLauncher.java:293) 10:20:27 at hudson.plugins.accurev.AccurevLauncher.runCommand(AccurevLauncher.java:190) 10:20:27 at hudson.plugins.accurev.cmd.ChangeLogCmd.captureChangelog(ChangeLogCmd.java:91) 10:20:27 at hudson.plugins.accurev.AccurevSCM.checkout(AccurevSCM.java:593) 10:20:27 at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) 10:20:27 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) 10:20:27 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) 10:20:27 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561) 10:20:27 at hudson.model.Run.execute(Run.java:1665) 10:20:27 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 10:20:27 at hudson.model.ResourceController.execute(ResourceController.java:88) 10:20:27 at hudson.model.Executor.run(Executor.java:246) 10:20:27 Changelog calculated successfully. {noformat}

    Jenkins JIRA | 3 years ago | Walter Kacynski
    java.io.EOFException: input contained no data
  2. 0

    We don't use AccuWork in our installation. After installing plugin version .6.23 from .6.18 we get the following stack trace in our console {noformat} 10:20:27 [userAcceptance] $ accurev.exe getconfig -H prdaccurev.aoins.com:5050 -s -r settings.xml 10:20:27 FATAL: xxxxxxxxx.xxx.com: Get config to fetch webURL (accurev.exe getconfig -H accurev.xxx.com:5050 -s -r settings.xml) failed with java.io.EOFException: input contained no data 10:20:27 java.io.EOFException: input contained no data 10:20:27 at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003) 10:20:27 at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046) 10:20:27 at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410) 10:20:27 at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395) 10:20:27 at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) 10:20:27 at hudson.plugins.accurev.ParseGetConfig.parse(ParseGetConfig.java:19) 10:20:27 at hudson.plugins.accurev.ParseGetConfig.parse(ParseGetConfig.java:13) 10:20:27 at hudson.plugins.accurev.AccurevLauncher$1.parse(AccurevLauncher.java:199) 10:20:27 at hudson.plugins.accurev.AccurevLauncher.runCommand(AccurevLauncher.java:293) 10:20:27 at hudson.plugins.accurev.AccurevLauncher.runCommand(AccurevLauncher.java:190) 10:20:27 at hudson.plugins.accurev.cmd.ChangeLogCmd.captureChangelog(ChangeLogCmd.java:91) 10:20:27 at hudson.plugins.accurev.AccurevSCM.checkout(AccurevSCM.java:593) 10:20:27 at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) 10:20:27 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) 10:20:27 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) 10:20:27 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561) 10:20:27 at hudson.model.Run.execute(Run.java:1665) 10:20:27 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 10:20:27 at hudson.model.ResourceController.execute(ResourceController.java:88) 10:20:27 at hudson.model.Executor.run(Executor.java:246) 10:20:27 Changelog calculated successfully. {noformat}

    Jenkins JIRA | 3 years ago | Walter Kacynski
    java.io.EOFException: input contained no data
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Although this issue manifests itself with the Accurev plugin, I believe this is an issue with the Hudson core because we have found that downgrading the version of Hudson fixes the problem, but the Accurev plugin version can remain the same. This implies to me something changed in Hudson to cause this problem. We get the following error when we try to compile our software using Jenkins 1.395 and Accurev Plugin 0.6.12-SNAPSHOT. This happens on our build slaves (nodes), but not on the Hudson master. I have run the "failing" command on the command-line and I do not see any syntax errors in the XML output. It seems as though the long list of streams (we have many, many) is overflowing the XML parser. I also wrote a small test around the accurev-plugin code that loaded the XML stream from file, and this code worked correctly. This leads me to believe there is an issue with the Channel implementation to the slave node, since it seems to work correctly on the Master. We found that downgrading to 1.380 exhibited a slightly different, but still fatal error, and by downgrading to 1.377, the problem went away completely. {code} Started by user anonymous Building remotely on flawlessvm3 Authenticating with Accurev server... Purging workspace... Workspace purged. [Josh_Framework_maven3] $ accurev login -H accurev.XXXX.com:5050 arevjira ******** Authentication completed successfully. Getting a list of streams... [Josh_Framework_maven3] $ accurev show -H accurev.XXXX.com:5050 -fx -p software streams java.io.EOFException: no more data available - expected end tags </stream></streams> to close start tag <stream> from line 22935 and start tag <streams> from line 1, parser stopped on TEXT seen ...<stream\n name="project_stream_name... @22935:44 at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3035) at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046) at org.xmlpull.mxp1.MXParser.parseAttribute(MXParser.java:2026) at org.xmlpull.mxp1.MXParser.parseStartTag(MXParser.java:1799) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1127) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) at hudson.plugins.accurev.AccurevSCM.getStreams(AccurevSCM.java:752) at hudson.plugins.accurev.AccurevSCM.checkout(AccurevSCM.java:295) at hudson.model.AbstractProject.checkout(AbstractProject.java:1171) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:499) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:415) at hudson.model.Run.run(Run.java:1362) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) Recording test results Notifying upstream projects of job completion Finished: FAILURE {code} When we downgraded to Hudson 1.380, we get this similar, but different error instead: {code} [Josh_SmokeTests_maven3] $ accurev hist -H accurev.kivasystems.com:5050 -fx -p software -s mhs_Josh -t now.1 -k add getTimeOfLatestTransaction failed when checking the stream mhs_Josh for changes with transaction type add java.io.EOFException: input contained no data at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003) at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046) at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) at hudson.plugins.accurev.AccurevSCM.getLatestTransaction(AccurevSCM.java:980) at hudson.plugins.accurev.AccurevSCM.checkStreamForChanges(AccurevSCM.java:896) at hudson.plugins.accurev.AccurevSCM.checkout(AccurevSCM.java:521) at hudson.model.AbstractProject.checkout(AbstractProject.java:1082) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411) at hudson.model.Run.run(Run.java:1280) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:140) {code} When we finally downgraded all the way to Hudson 1.377, the problem went away completely. I submitted a matching issue on the hudson-ci.org issue tracker, here: http://issues.hudson-ci.org/browse/HUDSON-8703

    Jenkins JIRA | 6 years ago | jpollak
    java.io.EOFException: input contained no data

    11 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. java.io.EOFException

      input contained no data

      at org.xmlpull.mxp1.MXParser.fillBuf()
    2. MXP1: Xml Pull Parser 3rd Edition (XPP3)
      MXParser.next
      1. org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003)
      2. org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
      3. org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)
      4. org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
      5. org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
      5 frames
    3. hudson.plugins.accurev
      AccurevSCM.checkout
      1. hudson.plugins.accurev.ParseGetConfig.parse(ParseGetConfig.java:19)
      2. hudson.plugins.accurev.ParseGetConfig.parse(ParseGetConfig.java:13)
      3. hudson.plugins.accurev.AccurevLauncher$1.parse(AccurevLauncher.java:199)
      4. hudson.plugins.accurev.AccurevLauncher.runCommand(AccurevLauncher.java:293)
      5. hudson.plugins.accurev.AccurevLauncher.runCommand(AccurevLauncher.java:190)
      6. hudson.plugins.accurev.cmd.ChangeLogCmd.captureChangelog(ChangeLogCmd.java:91)
      7. hudson.plugins.accurev.AccurevSCM.checkout(AccurevSCM.java:593)
      7 frames
    4. Hudson
      AbstractBuild$AbstractBuildExecution.defaultCheckout
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:1411)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
      2 frames
    5. jenkins.scm
      SCMCheckoutStrategy.checkout
      1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561)
      2. hudson.model.Run.execute(Run.java:1665)
      3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      4. hudson.model.ResourceController.execute(ResourceController.java:88)
      5. hudson.model.Executor.run(Executor.java:246)
      5 frames