java.io.IOException: Unexpected termination of the channel

Jenkins JIRA | Krzysztof Malinowski | 4 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

    OutOfMemoryException during slave connection. When connecting slave through SSH: [09/13/12 21:56:30] [SSH] Checking java version of java [09/13/12 21:56:30] [SSH] java -version returned 1.6.0_24. [09/13/12 21:56:30] [SSH] Starting sftp client. [09/13/12 21:56:30] [SSH] Copying latest slave.jar... [09/13/12 21:56:30] [SSH] Copied 278,201 bytes. [09/13/12 21:56:30] [SSH] Starting slave process: cd '/dev/shm/cp_hudson' && java -jar slave.jar <===[JENKINS REMOTING CAPACITY]===>channel started Slave.jar version: 2.17 This is a Unix slave ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins. java.lang.OutOfMemoryError: getNewTla at java.util.HashMap.addEntry(HashMap.java:937) at java.util.HashMap.put(HashMap.java:477) at java.util.HashSet.add(HashSet.java:200) at java.io.ObjectStreamClass$FieldReflector.<init>(ObjectStreamClass.java:1852) at java.io.ObjectStreamClass.getReflector(Unknown Source) at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:459) at java.io.ObjectStreamClass.lookup0(ObjectStreamClass.java:308) at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java) at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:545) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at hudson.remoting.Command.readFrom(Command.java:90) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) ERROR: Connection terminated [09/13/12 21:56:32] [SSH] Connection closed. java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2553) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) ERROR: [09/13/12 21:56:32] slave agent was terminated java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2553) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) When accepting connection from JNLP client: INFO: Accepted connection #10 from /xx.xx.xx.82:2652 Exception in thread "TCP slave agent connection handler #10 with /xx.xx.xx.82:2652" java.lang.OutOfMemoryError: getNewTla at java.util.HashMap.addEntry(HashMap.java:937) at java.util.HashMap.put(HashMap.java:477) at java.util.HashSet.add(HashSet.java:200) at java.io.ObjectStreamClass$FieldReflector.<init>(ObjectStreamClass.java:1852) at java.io.ObjectStreamClass.getReflector(Unknown Source) at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:459) at java.io.ObjectStreamClass.lookup0(ObjectStreamClass.java:308) at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java) at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:545) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at hudson.remoting.Command.readFrom(Command.java:90) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

    Jenkins JIRA | 4 years ago | Krzysztof Malinowski
    java.io.IOException: Unexpected termination of the channel
  2. 0

    OutOfMemoryException during slave connection. When connecting slave through SSH: [09/13/12 21:56:30] [SSH] Checking java version of java [09/13/12 21:56:30] [SSH] java -version returned 1.6.0_24. [09/13/12 21:56:30] [SSH] Starting sftp client. [09/13/12 21:56:30] [SSH] Copying latest slave.jar... [09/13/12 21:56:30] [SSH] Copied 278,201 bytes. [09/13/12 21:56:30] [SSH] Starting slave process: cd '/dev/shm/cp_hudson' && java -jar slave.jar <===[JENKINS REMOTING CAPACITY]===>channel started Slave.jar version: 2.17 This is a Unix slave ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins. java.lang.OutOfMemoryError: getNewTla at java.util.HashMap.addEntry(HashMap.java:937) at java.util.HashMap.put(HashMap.java:477) at java.util.HashSet.add(HashSet.java:200) at java.io.ObjectStreamClass$FieldReflector.<init>(ObjectStreamClass.java:1852) at java.io.ObjectStreamClass.getReflector(Unknown Source) at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:459) at java.io.ObjectStreamClass.lookup0(ObjectStreamClass.java:308) at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java) at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:545) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at hudson.remoting.Command.readFrom(Command.java:90) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) ERROR: Connection terminated [09/13/12 21:56:32] [SSH] Connection closed. java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2553) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) ERROR: [09/13/12 21:56:32] slave agent was terminated java.io.IOException: Unexpected termination of the channel at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2553) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) When accepting connection from JNLP client: INFO: Accepted connection #10 from /xx.xx.xx.82:2652 Exception in thread "TCP slave agent connection handler #10 with /xx.xx.xx.82:2652" java.lang.OutOfMemoryError: getNewTla at java.util.HashMap.addEntry(HashMap.java:937) at java.util.HashMap.put(HashMap.java:477) at java.util.HashSet.add(HashSet.java:200) at java.io.ObjectStreamClass$FieldReflector.<init>(ObjectStreamClass.java:1852) at java.io.ObjectStreamClass.getReflector(Unknown Source) at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:459) at java.io.ObjectStreamClass.lookup0(ObjectStreamClass.java:308) at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java) at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:545) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350) at hudson.remoting.Command.readFrom(Command.java:90) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:59) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

    Jenkins JIRA | 4 years ago | Krzysztof Malinowski
    java.io.IOException: Unexpected termination of the channel
  3. 0

    [JENKINS-6817] FATAL: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.io.IOException: Unexpected termination of the channel
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins slave terminated error message

    Google Groups | 3 years ago | Lily Fu
    java.io.IOException: Unexpected termination of the channel
  6. 0

    Unable to startup slave post master upgrade to 1.576

    Google Groups | 3 years ago | Sudhakar.Shanmugam
    java.io.IOException: Unexpected termination of the channel

  1. ex00 1 times, last 3 months ago
  2. eti22 1 times, last 4 months ago
  3. pnaranja 1 times, last 7 months ago
9 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

    No message provided

    at java.io.ObjectInputStream$BlockDataInputStream.peekByte()
  2. Java RT
    ObjectInputStream.readObject
    1. java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2553)
    2. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296)
    3. java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
    3 frames
  3. Hudson :: Remoting Layer
    SynchronousCommandTransport$ReaderThread.run
    1. hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)
    1 frame