java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by Krzysztof Malinowski,
  • 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)
    via by Krzysztof Malinowski,
  • Jenkins slave terminated error message
    via by Lily Fu,
  • Unable to startup slave post master upgrade to 1.576
    via by Sudhakar.Shanmugam,
  • Error with termination of remote channel
    via by chris hemphill,
  • Communication problem with slave is not notified by email
    via by Rui Fernando Hayashi,
  • Windows XP slave agent launch failure on 1.519
    via by Jonathan Daugherty,
  • difficulty connecting to Mac slave
    via by Dan Tenenbaum,
    • 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)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown User
    19 times, last one,
    Unknown visitor1 times, last one,
    ex00
    1 times, last one,
    eti22
    1 times, last one,
    10 more bugmates