java.io.EOFException: unexpected stream termination

Jenkins JIRA | veejer64 | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Reference Issue 501 Reference Issue 512 If project specifies a jdk earlier than 1.5 Hudson will fail due to loading classes with an incompatible major/minor version. started Using env variables: {JOB_NAME=com.zazoo.ic.components:aspire_charting_client, BUILD_NUMBER=17, HUDSON_HOME1=c:\h, BUILD_TAG=hudson-com.zazoo.ic.components:aspire_charting_client-17, JAVA_HOME=C:\IBM\WebSphere\AppServer\java, PATH+JDK=C:\IBM\WebSphere\AppServer\java\bin, BUILD_ID=2007-04-27_10-20-06, EXECUTOR_NUMBER=1} $ C:\IBM\WebSphere\AppServer\java/bin/java -cp "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\hudson\WEB-INF\lib\maven-agent-1.105-SNAPSHOT.jar;C:\dev\maven-2.0.6WAS\boot\classworlds-1.1.jar" hudson.maven.agent.Main C:\dev\maven-2.0.6WAS "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\hudson\WEB-INF\lib\remoting-1.105-SNAPSHOT.jar" "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\hudson\WEB-INF\lib\maven-interceptor-1.105-SNAPSHOT.jar" The java class could not be loaded. java.lang.UnsupportedClassVersionError: hudson/maven/agent/Main (Unsupported major.minor version 49.0) FATAL: unexpected stream termination java.io.EOFException: unexpected stream termination at hudson.remoting.Channel.<init>(Channel.java:142) at hudson.Launcher$LocalLauncher$1.<init>(Launcher.java:183) at hudson.Launcher$LocalLauncher.launchChannel(Launcher.java:182) at hudson.maven.MavenBuild$RunnerImpl.newProcess(MavenBuild.java:288) at hudson.maven.ProcessCache.get(ProcessCache.java:166) at hudson.maven.MavenBuild$RunnerImpl.doRun(MavenBuild.java:257) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:121) at hudson.model.Run.run(Run.java:559) at hudson.maven.MavenBuild.run(MavenBuild.java:127) at hudson.model.Executor.run(Executor.java:59)

    Jenkins JIRA | 10 years ago | veejer64
    java.io.EOFException: unexpected stream termination
  2. 0

    Reference Issue 501 Reference Issue 512 If project specifies a jdk earlier than 1.5 Hudson will fail due to loading classes with an incompatible major/minor version. started Using env variables: {JOB_NAME=com.zazoo.ic.components:aspire_charting_client, BUILD_NUMBER=17, HUDSON_HOME1=c:\h, BUILD_TAG=hudson-com.zazoo.ic.components:aspire_charting_client-17, JAVA_HOME=C:\IBM\WebSphere\AppServer\java, PATH+JDK=C:\IBM\WebSphere\AppServer\java\bin, BUILD_ID=2007-04-27_10-20-06, EXECUTOR_NUMBER=1} $ C:\IBM\WebSphere\AppServer\java/bin/java -cp "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\hudson\WEB-INF\lib\maven-agent-1.105-SNAPSHOT.jar;C:\dev\maven-2.0.6WAS\boot\classworlds-1.1.jar" hudson.maven.agent.Main C:\dev\maven-2.0.6WAS "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\hudson\WEB-INF\lib\remoting-1.105-SNAPSHOT.jar" "C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\hudson\WEB-INF\lib\maven-interceptor-1.105-SNAPSHOT.jar" The java class could not be loaded. java.lang.UnsupportedClassVersionError: hudson/maven/agent/Main (Unsupported major.minor version 49.0) FATAL: unexpected stream termination java.io.EOFException: unexpected stream termination at hudson.remoting.Channel.<init>(Channel.java:142) at hudson.Launcher$LocalLauncher$1.<init>(Launcher.java:183) at hudson.Launcher$LocalLauncher.launchChannel(Launcher.java:182) at hudson.maven.MavenBuild$RunnerImpl.newProcess(MavenBuild.java:288) at hudson.maven.ProcessCache.get(ProcessCache.java:166) at hudson.maven.MavenBuild$RunnerImpl.doRun(MavenBuild.java:257) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:121) at hudson.model.Run.run(Run.java:559) at hudson.maven.MavenBuild.run(MavenBuild.java:127) at hudson.model.Executor.run(Executor.java:59)

    Jenkins JIRA | 10 years ago | veejer64
    java.io.EOFException: unexpected stream termination
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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

      unexpected stream termination

      at hudson.remoting.Channel.<init>()
    2. Hudson :: Remoting Layer
      Channel.<init>
      1. hudson.remoting.Channel.<init>(Channel.java:142)
      1 frame
    3. Hudson
      Launcher$LocalLauncher.launchChannel
      1. hudson.Launcher$LocalLauncher$1.<init>(Launcher.java:183)
      2. hudson.Launcher$LocalLauncher.launchChannel(Launcher.java:182)
      2 frames
    4. Hudson Maven Embedder
      MavenBuild$RunnerImpl.doRun
      1. hudson.maven.MavenBuild$RunnerImpl.newProcess(MavenBuild.java:288)
      2. hudson.maven.ProcessCache.get(ProcessCache.java:166)
      3. hudson.maven.MavenBuild$RunnerImpl.doRun(MavenBuild.java:257)
      3 frames
    5. Hudson
      Run.run
      1. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:121)
      2. hudson.model.Run.run(Run.java:559)
      2 frames
    6. Hudson Maven Embedder
      MavenBuild.run
      1. hudson.maven.MavenBuild.run(MavenBuild.java:127)
      1 frame
    7. Hudson
      Executor.run
      1. hudson.model.Executor.run(Executor.java:59)
      1 frame