hudson.remoting.ChannelClosedException

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.

  • Executing a Maven build with goal integration-test site site:deploy. Everything goes as planned, and the website is published. At this point the email-ext plugin would typically fire. But here is the output: An attempt to send an e-mail to empty list of recipients, ignored. ERROR: Failed to parse POMs hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:524) at hudson.remoting.Request.call(Request.java:129) at hudson.remoting.Channel.call(Channel.java:722) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:167) at com.sun.proxy.$Proxy55.isAlive(Unknown Source) at hudson.Launcher$RemoteLauncher$ProcImpl.isAlive(Launcher.java:930) at hudson.maven.ProcessCache$MavenProcess.call(ProcessCache.java:165) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:833) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:565) at hudson.model.Run.execute(Run.java:1670) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.remoting.DiagnosedStreamCorruptionException At this point there is a lot of debug output from Jenkins of various buffers, etc. Unfortunately tons of proprietary info in those buffers so I'm not going to post here, though I could probably answer specific questions if it's essential. The first set of messages are: Read back: 'A' Read ahead: '[[Ljava.lang.Object;@28170a64]]>' 0x0d 0x0a Later after a few pages of debug output, we see more of the stack, which seems fairly interesting.. at hudson.remoting.FlightRecorderInputStream.analyzeCrash(FlightRecorderInputStream.java:71) at hudson.remoting.ClassicCommandTransport.diagnoseStreamCorruption(ClassicCommandTransport.java:94) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:78) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) Caused by: java.io.StreamCorruptedException: invalid type code: 41 at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71) ... 1 more
    via by boris ivan,
  • Executing a Maven build with goal integration-test site site:deploy. Everything goes as planned, and the website is published. At this point the email-ext plugin would typically fire. But here is the output: An attempt to send an e-mail to empty list of recipients, ignored. ERROR: Failed to parse POMs hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:524) at hudson.remoting.Request.call(Request.java:129) at hudson.remoting.Channel.call(Channel.java:722) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:167) at com.sun.proxy.$Proxy55.isAlive(Unknown Source) at hudson.Launcher$RemoteLauncher$ProcImpl.isAlive(Launcher.java:930) at hudson.maven.ProcessCache$MavenProcess.call(ProcessCache.java:165) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:833) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:565) at hudson.model.Run.execute(Run.java:1670) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: hudson.remoting.DiagnosedStreamCorruptionException At this point there is a lot of debug output from Jenkins of various buffers, etc. Unfortunately tons of proprietary info in those buffers so I'm not going to post here, though I could probably answer specific questions if it's essential. The first set of messages are: Read back: 'A' Read ahead: '[[Ljava.lang.Object;@28170a64]]>' 0x0d 0x0a Later after a few pages of debug output, we see more of the stack, which seems fairly interesting.. at hudson.remoting.FlightRecorderInputStream.analyzeCrash(FlightRecorderInputStream.java:71) at hudson.remoting.ClassicCommandTransport.diagnoseStreamCorruption(ClassicCommandTransport.java:94) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:78) at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48) Caused by: java.io.StreamCorruptedException: invalid type code: 41 at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at hudson.remoting.Command.readFrom(Command.java:92) at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71) ... 1 more
    via by boris ivan,
  • Build failed in Hudson: OpenEngSB #576
    via by Unknown author,
  • GitHub comment 26#73768749
    via GitHub by adriaanm
    ,
    • hudson.remoting.ChannelClosedException: channel is already closed at hudson.remoting.Channel.send(Channel.java:524) at hudson.remoting.Request.call(Request.java:129) at hudson.remoting.Channel.call(Channel.java:722) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:167) at com.sun.proxy.$Proxy55.isAlive(Unknown Source) at hudson.Launcher$RemoteLauncher$ProcImpl.isAlive(Launcher.java:930) at hudson.maven.ProcessCache$MavenProcess.call(ProcessCache.java:165) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:833) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:565) at hudson.model.Run.execute(Run.java:1670) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:519) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,