org.apache.maven.InternalErrorException: Internal error: hudson.remoting.RemotingSystemException: java.io.IOException: Remote call on channel failed

Jenkins JIRA | Dennis F. | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    After updating Jenkins to version 1.588 and downloading all the plugin's updates, we're getting the following exception on all builds, that use tasks plugin: {noformat} [ERROR] Internal error: hudson.remoting.RemotingSystemException: java.io.IOException: Remote call on channel failed: hudson.plugins.tasks.parser.TasksParserResult.addAnnotations(Ljava/util/Collection;)V -> [Help 1] org.apache.maven.InternalErrorException: Internal error: hudson.remoting.RemotingSystemException: java.io.IOException: Remote call on channel failed at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:178) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.maven.Maven3Builder.call(Maven3Builder.java:136) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: hudson.remoting.RemotingSystemException: java.io.IOException: Remote call on channel failed at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:189) at com.sun.proxy.$Proxy7.end(Unknown Source) at hudson.maven.MavenBuildProxy2$Filter.end(MavenBuildProxy2.java:74) at hudson.maven.Maven3Builder$MavenExecutionListener.recordProjectEnded(Maven3Builder.java:568) at hudson.maven.Maven3Builder$MavenExecutionListener.projectSucceeded(Maven3Builder.java:538) at org.eclipse.tycho.core.maven.ChainedExecutionListener.projectSucceeded(ChainedExecutionListener.java:76) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:74) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:91) ... 28 more Caused by: java.io.IOException: Remote call on channel failed at hudson.remoting.Channel.call(Channel.java:760) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:173) ... 36 more Caused by: java.lang.NoSuchMethodError: hudson.plugins.tasks.parser.TasksParserResult.addAnnotations(Ljava/util/Collection;)V at hudson.plugins.tasks.TasksMavenResultAction.aggregate(TasksMavenResultAction.java:111) at hudson.plugins.tasks.TasksMavenResultAction.createResult(TasksMavenResultAction.java:95) at hudson.plugins.tasks.TasksMavenResultAction.createResult(TasksMavenResultAction.java:26) at hudson.plugins.analysis.core.MavenResultAction.createAggregatedResult(MavenResultAction.java:136) at hudson.plugins.analysis.core.MavenResultAction.update(MavenResultAction.java:115) at hudson.maven.MavenModuleSetBuild.notifyModuleBuild(MavenModuleSetBuild.java:578) at hudson.maven.MavenBuild$ProxyImpl2.end(MavenBuild.java:581) at sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.model.Executor$1.call(Executor.java:579) at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at com.sun.proxy.$Proxy59.end(Unknown Source) at sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:320) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:295) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:254) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:18) at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) at ......remote call to channel(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356) at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) at hudson.remoting.Channel.call(Channel.java:752) ... 37 more [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException {noformat}

    Jenkins JIRA | 2 years ago | Dennis F.
    org.apache.maven.InternalErrorException: Internal error: hudson.remoting.RemotingSystemException: java.io.IOException: Remote call on channel failed
  2. 0

    After updating Jenkins to version 1.588 and downloading all the plugin's updates, we're getting the following exception on all builds, that use tasks plugin: {noformat} [ERROR] Internal error: hudson.remoting.RemotingSystemException: java.io.IOException: Remote call on channel failed: hudson.plugins.tasks.parser.TasksParserResult.addAnnotations(Ljava/util/Collection;)V -> [Help 1] org.apache.maven.InternalErrorException: Internal error: hudson.remoting.RemotingSystemException: java.io.IOException: Remote call on channel failed at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:178) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.maven.Maven3Builder.call(Maven3Builder.java:136) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) Caused by: hudson.remoting.RemotingSystemException: java.io.IOException: Remote call on channel failed at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:189) at com.sun.proxy.$Proxy7.end(Unknown Source) at hudson.maven.MavenBuildProxy2$Filter.end(MavenBuildProxy2.java:74) at hudson.maven.Maven3Builder$MavenExecutionListener.recordProjectEnded(Maven3Builder.java:568) at hudson.maven.Maven3Builder$MavenExecutionListener.projectSucceeded(Maven3Builder.java:538) at org.eclipse.tycho.core.maven.ChainedExecutionListener.projectSucceeded(ChainedExecutionListener.java:76) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:74) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:91) ... 28 more Caused by: java.io.IOException: Remote call on channel failed at hudson.remoting.Channel.call(Channel.java:760) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:173) ... 36 more Caused by: java.lang.NoSuchMethodError: hudson.plugins.tasks.parser.TasksParserResult.addAnnotations(Ljava/util/Collection;)V at hudson.plugins.tasks.TasksMavenResultAction.aggregate(TasksMavenResultAction.java:111) at hudson.plugins.tasks.TasksMavenResultAction.createResult(TasksMavenResultAction.java:95) at hudson.plugins.tasks.TasksMavenResultAction.createResult(TasksMavenResultAction.java:26) at hudson.plugins.analysis.core.MavenResultAction.createAggregatedResult(MavenResultAction.java:136) at hudson.plugins.analysis.core.MavenResultAction.update(MavenResultAction.java:115) at hudson.maven.MavenModuleSetBuild.notifyModuleBuild(MavenModuleSetBuild.java:578) at hudson.maven.MavenBuild$ProxyImpl2.end(MavenBuild.java:581) at sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.model.Executor$1.call(Executor.java:579) at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at com.sun.proxy.$Proxy59.end(Unknown Source) at sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:320) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:295) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:254) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:18) at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) at ......remote call to channel(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356) at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) at hudson.remoting.Channel.call(Channel.java:752) ... 37 more [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException {noformat}

    Jenkins JIRA | 2 years ago | Dennis F.
    org.apache.maven.InternalErrorException: Internal error: hudson.remoting.RemotingSystemException: java.io.IOException: Remote call on channel failed

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      hudson.plugins.tasks.parser.TasksParserResult.addAnnotations(Ljava/util/Collection;)V

      at hudson.plugins.tasks.TasksMavenResultAction.aggregate()
    2. hudson.plugins.tasks
      TasksMavenResultAction.createResult
      1. hudson.plugins.tasks.TasksMavenResultAction.aggregate(TasksMavenResultAction.java:111)
      2. hudson.plugins.tasks.TasksMavenResultAction.createResult(TasksMavenResultAction.java:95)
      3. hudson.plugins.tasks.TasksMavenResultAction.createResult(TasksMavenResultAction.java:26)
      3 frames
    3. Static Analysis Utilities
      MavenResultAction.update
      1. hudson.plugins.analysis.core.MavenResultAction.createAggregatedResult(MavenResultAction.java:136)
      2. hudson.plugins.analysis.core.MavenResultAction.update(MavenResultAction.java:115)
      2 frames
    4. Hudson Maven Embedder
      MavenBuild$ProxyImpl2.end
      1. hudson.maven.MavenModuleSetBuild.notifyModuleBuild(MavenModuleSetBuild.java:578)
      2. hudson.maven.MavenBuild$ProxyImpl2.end(MavenBuild.java:581)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    6. Hudson
      InterceptingProxy$1.invoke
      1. hudson.model.Executor$1.call(Executor.java:579)
      2. hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23)
      2 frames
    7. com.sun.proxy
      $Proxy59.end
      1. com.sun.proxy.$Proxy59.end(Unknown Source)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor571.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    9. Hudson :: Remoting Layer
      InterceptingExecutorService$1.call
      1. hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:320)
      2. hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:295)
      3. hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:254)
      4. hudson.remoting.UserRequest.perform(UserRequest.java:121)
      5. hudson.remoting.UserRequest.perform(UserRequest.java:49)
      6. hudson.remoting.Request$2.run(Request.java:324)
      7. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      7 frames
    10. org.jenkinsci.remoting
      CallableDecorator.call
      1. org.jenkinsci.remoting.CallableDecorator.call(CallableDecorator.java:18)
      1 frame
    11. Hudson :: Remoting Layer
      CallableDecoratorList$1.call
      1. hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21)
      1 frame
    12. jenkins.util
      ContextResettingExecutorService$2.call
      1. jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
      1 frame
    13. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      5. java.lang.Thread.run(Thread.java:724)
      5 frames