java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.io.EOFException

Jenkins JIRA | sb110099 | 8 years ago
  1. 0

    Hudson.sfbay While running continuous build on hudson, build is failing intermittently with an EOF exception as follows: " FATAL: Error unmarshaling return header; nested exception is: java.io.EOFException java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.io.EOFException at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:209) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142) at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source) at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2309) at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:277) at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248) at org.jvnet.hudson.plugins.port_allocator.GlassFishJmxPortType$1GlassFishCleanUpTask.call(GlassFishJmxPortType.java:76) at org.jvnet.hudson.plugins.port_allocator.GlassFishJmxPortType$1GlassFishCleanUpTask.call(GlassFishJmxPortType.java:61) at hudson.remoting.UserRequest.perform(UserRequest.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:23) at hudson.remoting.Request$2.run(Request.java:200) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.EOFException at java.io.DataInputStream.readByte(DataInputStream.java:250) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:195) ... 16 more " For reference , the job SQE-jsf-tests-V3 on hudson.sfbay can be viewed at http://hudson.sfbay.sun.com/view/SQE-Tests/job/SQE-jsf-tests-V3/ This build is set at 30 minute interval against a stable GFV3 build (Prelude build 28c). it is expected to be always blue or success. But it fails intermittently with the EOF exception as viewed above. This is an important exercise to assess the stability of Hudson while moving rest of SQE tests on Hudson.

    Jenkins JIRA | 8 years ago | sb110099
    java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.io.EOFException
  2. 0

    Fail to install activemq-broker on Karaf v3.0 with equinox

    karaf-user | 3 years ago | Tom Leung
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: javax.management.remote.rmi.RMIServerImpl_Stub (no security manager: RMI class loader disabled)]
  3. 0

    Fail to install activemq-broker on Karaf v3.0 with equinox

    karaf-user | 3 years ago | Tom Leung
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: javax.management.remote.rmi.RMIServerImpl_Stub (no security manager: RMI class loader disabled)]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java streams with EOFException

    Stack Overflow | 4 years ago | user2224638
    java.io.EOFException

    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.DataInputStream.readByte()
    2. Java RT
      JMXConnectorFactory.connect
      1. java.io.DataInputStream.readByte(DataInputStream.java:250)
      2. sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:195)
      3. sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
      4. javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source)
      5. javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2309)
      6. javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:277)
      7. javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248)
      7 frames
    3. org.jvnet.hudson
      GlassFishJmxPortType$1GlassFishCleanUpTask.call
      1. org.jvnet.hudson.plugins.port_allocator.GlassFishJmxPortType$1GlassFishCleanUpTask.call(GlassFishJmxPortType.java:76)
      2. org.jvnet.hudson.plugins.port_allocator.GlassFishJmxPortType$1GlassFishCleanUpTask.call(GlassFishJmxPortType.java:61)
      2 frames
    4. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.UserRequest.perform(UserRequest.java:69)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:23)
      3. hudson.remoting.Request$2.run(Request.java:200)
      3 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      6. java.lang.Thread.run(Thread.java:619)
      6 frames