java.io.UTFDataFormatException

Jenkins JIRA | Dmytro | 5 years ago
  1. 0

    Hi! Job execution fails due to Jenkins Slave disconnection. Problem appears in environment when Jenkins Master runs on a stand-alone box and a Slave on a VMWare Virtual Machines under Labmanager. However, Jenkins Master-Slave communication between physical hosts works fine me. Slave throws an exception during project build or Slave installation as a Windows service: java.io.UTFDataFormatException Slave log: SEVERE: I/O error in channel channel java.io.UTFDataFormatException at java.io.ObjectInputStream$BlockDataInputStream.readUTFSpan(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.readUTFBody(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.readUTF(Unknown Source) at java.io.ObjectInputStream.readUTF(Unknown Source) at java.io.ObjectStreamClass.readNonProxy(Unknown Source) at java.io.ObjectInputStream.readClassDescriptor(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Channel$ReaderThread.run(Channel.java:992) Project build log: FATAL: hudson.remoting.RequestAbortedException: java.net.SocketException: socket closed hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.net.SocketException: socket closed at hudson.remoting.Request.call(Request.java:137) at hudson.remoting.Channel.call(Channel.java:643) at hudson.EnvVars.getRemote(EnvVars.java:202) at hudson.model.Computer.getEnvironment(Computer.java:805) at hudson.model.Run.getEnvironment(Run.java:1778) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:745) at hudson.model.AbstractBuild$AbstractRunner.decideWorkspace(AbstractBuild.java:400) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417) at hudson.model.Run.run(Run.java:1374) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) Caused by: hudson.remoting.RequestAbortedException: java.net.SocketException: socket closed at hudson.remoting.Request.abort(Request.java:257) at hudson.remoting.Channel.terminate(Channel.java:694) at hudson.remoting.Channel$ReaderThread.run(Channel.java:1016) Caused by: java.net.SocketException: socket closed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Channel$ReaderThread.run(Channel.java:992) Jenkins runs under Windows 2003 Server. Master-Slave configurations that I have tried: Launch Slave agents via Java Web Start, Let Jenkis controls a slave as a Windows service. Jenkins versions: 1.411, 1.425, 1.430.

    Jenkins JIRA | 5 years ago | Dmytro
    java.io.UTFDataFormatException
  2. 0

    Hi! Job execution fails due to Jenkins Slave disconnection. Problem appears in environment when Jenkins Master runs on a stand-alone box and a Slave on a VMWare Virtual Machines under Labmanager. However, Jenkins Master-Slave communication between physical hosts works fine me. Slave throws an exception during project build or Slave installation as a Windows service: java.io.UTFDataFormatException Slave log: SEVERE: I/O error in channel channel java.io.UTFDataFormatException at java.io.ObjectInputStream$BlockDataInputStream.readUTFSpan(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.readUTFBody(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.readUTF(Unknown Source) at java.io.ObjectInputStream.readUTF(Unknown Source) at java.io.ObjectStreamClass.readNonProxy(Unknown Source) at java.io.ObjectInputStream.readClassDescriptor(Unknown Source) at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) at java.io.ObjectInputStream.readClassDesc(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Channel$ReaderThread.run(Channel.java:992) Project build log: FATAL: hudson.remoting.RequestAbortedException: java.net.SocketException: socket closed hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.net.SocketException: socket closed at hudson.remoting.Request.call(Request.java:137) at hudson.remoting.Channel.call(Channel.java:643) at hudson.EnvVars.getRemote(EnvVars.java:202) at hudson.model.Computer.getEnvironment(Computer.java:805) at hudson.model.Run.getEnvironment(Run.java:1778) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:745) at hudson.model.AbstractBuild$AbstractRunner.decideWorkspace(AbstractBuild.java:400) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:417) at hudson.model.Run.run(Run.java:1374) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) Caused by: hudson.remoting.RequestAbortedException: java.net.SocketException: socket closed at hudson.remoting.Request.abort(Request.java:257) at hudson.remoting.Channel.terminate(Channel.java:694) at hudson.remoting.Channel$ReaderThread.run(Channel.java:1016) Caused by: java.net.SocketException: socket closed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.fill(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source) at java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Channel$ReaderThread.run(Channel.java:992) Jenkins runs under Windows 2003 Server. Master-Slave configurations that I have tried: Launch Slave agents via Java Web Start, Let Jenkis controls a slave as a Windows service. Jenkins versions: 1.411, 1.425, 1.430.

    Jenkins JIRA | 5 years ago | Dmytro
    java.io.UTFDataFormatException
  3. 0

    [JENKINS-8856] StreamCorruptedException - Jenkins JIRA

    jenkins-ci.org | 11 months ago
    java.io.UTFDataFormatException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JasperReport 1.3.4 error in Struts 1.1 web Application

    Stack Overflow | 6 years ago | Tr.Crab
    net.sf.jasperreports.engine.JRException: Error loading object from InputStream

    2 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.UTFDataFormatException

      No message provided

      at java.io.ObjectInputStream$BlockDataInputStream.readUTFSpan()
    2. Java RT
      ObjectInputStream.readObject
      1. java.io.ObjectInputStream$BlockDataInputStream.readUTFSpan(Unknown Source)
      2. java.io.ObjectInputStream$BlockDataInputStream.readUTFBody(Unknown Source)
      3. java.io.ObjectInputStream$BlockDataInputStream.readUTF(Unknown Source)
      4. java.io.ObjectInputStream.readUTF(Unknown Source)
      5. java.io.ObjectStreamClass.readNonProxy(Unknown Source)
      6. java.io.ObjectInputStream.readClassDescriptor(Unknown Source)
      7. java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
      8. java.io.ObjectInputStream.readClassDesc(Unknown Source)
      9. java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
      10. java.io.ObjectInputStream.readObject0(Unknown Source)
      11. java.io.ObjectInputStream.defaultReadFields(Unknown Source)
      12. java.io.ObjectInputStream.readSerialData(Unknown Source)
      13. java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
      14. java.io.ObjectInputStream.readObject0(Unknown Source)
      15. java.io.ObjectInputStream.readObject(Unknown Source)
      15 frames
    3. Hudson :: Remoting Layer
      Channel$ReaderThread.run
      1. hudson.remoting.Channel$ReaderThread.run(Channel.java:992)
      1 frame