hudson.util.IOException2: java.lang.IllegalAccessError: class hudson.remoting.Pipe$ConnectCommand cannot access its superclass hudson.remoting.Command

Jenkins JIRA | Gust | 6 years ago
  1. 0

    Hi, I have security enabled Master (HPUX) - Slave (Win2003Srv) configuration on Jenkins, 1.408. I'm trying to copy artifacts from "Latest successful build" build job 1 (master) to build job 2 (slave). I get this console output error while building job: Building remotely on XXXXXXX ERROR: Failed to copy artifacts from YYYYYYY with filter: *.gz hudson.util.IOException2: java.lang.IllegalAccessError: class hudson.remoting.Pipe$ConnectCommand cannot access its superclass hudson.remoting.Command at hudson.FilePath.copyRecursiveTo(FilePath.java:1526) at hudson.FilePath.copyRecursiveTo(FilePath.java:1451) at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) at hudson.model.Build$RunnerImpl.build(Build.java:177) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) at hudson.model.Run.run(Run.java:1362) 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: java.util.concurrent.ExecutionException: java.lang.IllegalAccessError: class hudson.remoting.Pipe$ConnectCommand cannot access its superclass hudson.remoting.Command at hudson.remoting.Channel$2.adapt(Channel.java:676) at hudson.remoting.Channel$2.adapt(Channel.java:671) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.FilePath.copyRecursiveTo(FilePath.java:1524) ... 13 more Caused by: java.lang.IllegalAccessError: class hudson.remoting.Pipe$ConnectCommand cannot access its superclass hudson.remoting.Command at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:151) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:131) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Unknown Source) at java.lang.Class.getDeclaredField(Unknown Source) at java.io.ObjectStreamClass.getDeclaredSUID(Unknown Source) at java.io.ObjectStreamClass.access$700(Unknown Source) at java.io.ObjectStreamClass$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.io.ObjectStreamClass.<init>(Unknown Source) at java.io.ObjectStreamClass.lookup(Unknown Source) at java.io.ObjectStreamClass.initNonProxy(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.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.UserRequest.deserialize(UserRequest.java:178) at hudson.remoting.UserRequest.perform(UserRequest.java:98) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:59) at java.lang.Thread.run(Unknown Source) Finished: FAILURE

    Jenkins JIRA | 6 years ago | Gust
    hudson.util.IOException2: java.lang.IllegalAccessError: class hudson.remoting.Pipe$ConnectCommand cannot access its superclass hudson.remoting.Command
  2. 0

    Hi, I have security enabled Master (HPUX) - Slave (Win2003Srv) configuration on Jenkins, 1.408. I'm trying to copy artifacts from "Latest successful build" build job 1 (master) to build job 2 (slave). I get this console output error while building job: Building remotely on XXXXXXX ERROR: Failed to copy artifacts from YYYYYYY with filter: *.gz hudson.util.IOException2: java.lang.IllegalAccessError: class hudson.remoting.Pipe$ConnectCommand cannot access its superclass hudson.remoting.Command at hudson.FilePath.copyRecursiveTo(FilePath.java:1526) at hudson.FilePath.copyRecursiveTo(FilePath.java:1451) at hudson.plugins.copyartifact.FilePathCopyMethod.copyAll(FilePathCopyMethod.java:51) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:225) at hudson.plugins.copyartifact.CopyArtifact.perform(CopyArtifact.java:199) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649) at hudson.model.Build$RunnerImpl.build(Build.java:177) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:423) at hudson.model.Run.run(Run.java:1362) 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: java.util.concurrent.ExecutionException: java.lang.IllegalAccessError: class hudson.remoting.Pipe$ConnectCommand cannot access its superclass hudson.remoting.Command at hudson.remoting.Channel$2.adapt(Channel.java:676) at hudson.remoting.Channel$2.adapt(Channel.java:671) at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) at hudson.FilePath.copyRecursiveTo(FilePath.java:1524) ... 13 more Caused by: java.lang.IllegalAccessError: class hudson.remoting.Pipe$ConnectCommand cannot access its superclass hudson.remoting.Command at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:151) at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:131) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Unknown Source) at java.lang.Class.getDeclaredField(Unknown Source) at java.io.ObjectStreamClass.getDeclaredSUID(Unknown Source) at java.io.ObjectStreamClass.access$700(Unknown Source) at java.io.ObjectStreamClass$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.io.ObjectStreamClass.<init>(Unknown Source) at java.io.ObjectStreamClass.lookup(Unknown Source) at java.io.ObjectStreamClass.initNonProxy(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.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.UserRequest.deserialize(UserRequest.java:178) at hudson.remoting.UserRequest.perform(UserRequest.java:98) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:59) at java.lang.Thread.run(Unknown Source) Finished: FAILURE

    Jenkins JIRA | 6 years ago | Gust
    hudson.util.IOException2: java.lang.IllegalAccessError: class hudson.remoting.Pipe$ConnectCommand cannot access its superclass hudson.remoting.Command
  3. 0

    IllegalAccessError when loading a class generated with a NamingStrategy

    GitHub | 3 years ago | jhalterman
    java.lang.IllegalAccessError: class FooBar.Foo cannot access its superclass org.modelmapper.FooTest$Foo
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to subclass an inner (static) class in Rhino?

    Stack Overflow | 6 years ago | Ken
    java.lang.IllegalAccessError: class adapter1 cannot access its superclass mypackage.MyClass$MyInnerClass
  6. 0

    Jenkins not able to show pmd voilations result on the dashboard

    Stack Overflow | 2 years ago | rohith
    java.lang.IllegalAccessError: class com.google.common.collect.AbstractMapBasedMultimap cannot access its superclass com.google.common.collect.AbstractMultimap

    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.lang.IllegalAccessError

      class hudson.remoting.Pipe$ConnectCommand cannot access its superclass hudson.remoting.Command

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      ClassLoader.defineClass
      1. java.lang.ClassLoader.defineClass1(Native Method)
      2. java.lang.ClassLoader.defineClassCond(Unknown Source)
      3. java.lang.ClassLoader.defineClass(Unknown Source)
      4. java.lang.ClassLoader.defineClass(Unknown Source)
      4 frames
    3. Hudson :: Remoting Layer
      RemoteClassLoader.findClass
      1. hudson.remoting.RemoteClassLoader.loadClassFile(RemoteClassLoader.java:151)
      2. hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:131)
      2 frames
    4. Java RT
      ObjectInputStream.readObject
      1. java.lang.ClassLoader.loadClass(Unknown Source)
      2. java.lang.ClassLoader.loadClass(Unknown Source)
      3. java.lang.Class.getDeclaredFields0(Native Method)
      4. java.lang.Class.privateGetDeclaredFields(Unknown Source)
      5. java.lang.Class.getDeclaredField(Unknown Source)
      6. java.io.ObjectStreamClass.getDeclaredSUID(Unknown Source)
      7. java.io.ObjectStreamClass.access$700(Unknown Source)
      8. java.io.ObjectStreamClass$2.run(Unknown Source)
      9. java.security.AccessController.doPrivileged(Native Method)
      10. java.io.ObjectStreamClass.<init>(Unknown Source)
      11. java.io.ObjectStreamClass.lookup(Unknown Source)
      12. java.io.ObjectStreamClass.initNonProxy(Unknown Source)
      13. java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
      14. java.io.ObjectInputStream.readClassDesc(Unknown Source)
      15. java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
      16. java.io.ObjectInputStream.readObject0(Unknown Source)
      17. java.io.ObjectInputStream.defaultReadFields(Unknown Source)
      18. java.io.ObjectInputStream.readSerialData(Unknown Source)
      19. java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
      20. java.io.ObjectInputStream.readObject0(Unknown Source)
      21. java.io.ObjectInputStream.defaultReadFields(Unknown Source)
      22. java.io.ObjectInputStream.readSerialData(Unknown Source)
      23. java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
      24. java.io.ObjectInputStream.readObject0(Unknown Source)
      25. java.io.ObjectInputStream.readObject(Unknown Source)
      25 frames
    5. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.UserRequest.deserialize(UserRequest.java:178)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:98)
      3. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      4. hudson.remoting.Request$2.run(Request.java:270)
      4 frames
    6. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      2. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      3. java.util.concurrent.FutureTask.run(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      5 frames
    7. Hudson :: Remoting Layer
      Engine$1$1.run
      1. hudson.remoting.Engine$1$1.run(Engine.java:59)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame