java.lang.IllegalArgumentException: Unable to locate class file for class hudson.remoting.Launcher

Jenkins JIRA | Tim Downey | 5 years ago
  1. 0

    Hi, I've been running a few slave nodes inside of Windows Server 2008 R2 virtual machines. About once a week, all of my builds have been failing with this error. As you can see, the error suggests opening a ticket. Thanks, Tim Modules changed, recalculating dependency graph ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com java.lang.IllegalArgumentException: Unable to locate class file for class hudson.remoting.Launcher at hudson.remoting.Which.jarURL(Which.java:60) at hudson.remoting.Which.jarFile(Which.java:75) at hudson.maven.AbstractMavenProcessFactory$GetRemotingJar.call(AbstractMavenProcessFactory.java:309) at hudson.maven.AbstractMavenProcessFactory$GetRemotingJar.call(AbstractMavenProcessFactory.java:307) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) 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:60) at java.lang.Thread.run(Unknown Source) project=hudson.maven.MavenModuleSet@5daabda3[C-competency] project.getModules()=[hudson.maven.MavenModule@986b0ee[C-competency/com.workscape.competency:competency-aggregate][C-competency/com.workscape.competency:competency-aggregate][relativePath:], hudson.maven.MavenModule@69c9de24[C-competency/com.workscape.competency:competency-endpoint][C-competency/com.workscape.competency:competency-endpoint][relativePath:competency-endpoint], hudson.maven.MavenModule@441743be[C-competency/com.workscape.competency:competency-facade][C-competency/com.workscape.competency:competency-facade][relativePath:competency-facade], hudson.maven.MavenModule@536091de[C-competency/com.workscape.competency:competency-lib][C-competency/com.workscape.competency:competency-lib][relativePath:competency-lib], hudson.maven.MavenModule@6908b095[C-competency/com.workscape.competency:competency-model][C-competency/com.workscape.competency:competency-model][relativePath:competency-model], hudson.maven.MavenModule@39813c12[C-competency/com.workscape.competency:competency-modelbuilder][C-competency/com.workscape.competency:competency-modelbuilder][relativePath:competency-modelbuilder], hudson.maven.MavenModule@538edf3c[C-competency/com.workscape.competency:competency-service][C-competency/com.workscape.competency:competency-service][relativePath:competency-service], hudson.maven.MavenModule@48e206ff[C-competency/com.workscape.competency:competency-transformer][C-competency/com.workscape.competency:competency-transformer][relativePath:competency-transformer], hudson.maven.MavenModule@679f91cc[C-competency/com.workscape.soa.competency:competency-endpoint][C-competency/com.workscape.soa.competency:competency-endpoint][relativePath:competency-endpoint]] project.getRootModule()=hudson.maven.MavenModule@986b0ee[C-competency/com.workscape.competency:competency-aggregate][C-competency/com.workscape.competency:competency-aggregate][relativePath:] FATAL: Unable to locate class file for class hudson.remoting.Launcher java.lang.IllegalArgumentException: Unable to locate class file for class hudson.remoting.Launcher at hudson.remoting.Which.jarURL(Which.java:60) at hudson.remoting.Which.jarFile(Which.java:75) at hudson.maven.AbstractMavenProcessFactory$GetRemotingJar.call(AbstractMavenProcessFactory.java:309) at hudson.maven.AbstractMavenProcessFactory$GetRemotingJar.call(AbstractMavenProcessFactory.java:307) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) 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:60) at java.lang.Thread.run(Unknown Source)

    Jenkins JIRA | 5 years ago | Tim Downey
    java.lang.IllegalArgumentException: Unable to locate class file for class hudson.remoting.Launcher
  2. 0

    Hi, I've been running a few slave nodes inside of Windows Server 2008 R2 virtual machines. About once a week, all of my builds have been failing with this error. As you can see, the error suggests opening a ticket. Thanks, Tim Modules changed, recalculating dependency graph ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com java.lang.IllegalArgumentException: Unable to locate class file for class hudson.remoting.Launcher at hudson.remoting.Which.jarURL(Which.java:60) at hudson.remoting.Which.jarFile(Which.java:75) at hudson.maven.AbstractMavenProcessFactory$GetRemotingJar.call(AbstractMavenProcessFactory.java:309) at hudson.maven.AbstractMavenProcessFactory$GetRemotingJar.call(AbstractMavenProcessFactory.java:307) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) 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:60) at java.lang.Thread.run(Unknown Source) project=hudson.maven.MavenModuleSet@5daabda3[C-competency] project.getModules()=[hudson.maven.MavenModule@986b0ee[C-competency/com.workscape.competency:competency-aggregate][C-competency/com.workscape.competency:competency-aggregate][relativePath:], hudson.maven.MavenModule@69c9de24[C-competency/com.workscape.competency:competency-endpoint][C-competency/com.workscape.competency:competency-endpoint][relativePath:competency-endpoint], hudson.maven.MavenModule@441743be[C-competency/com.workscape.competency:competency-facade][C-competency/com.workscape.competency:competency-facade][relativePath:competency-facade], hudson.maven.MavenModule@536091de[C-competency/com.workscape.competency:competency-lib][C-competency/com.workscape.competency:competency-lib][relativePath:competency-lib], hudson.maven.MavenModule@6908b095[C-competency/com.workscape.competency:competency-model][C-competency/com.workscape.competency:competency-model][relativePath:competency-model], hudson.maven.MavenModule@39813c12[C-competency/com.workscape.competency:competency-modelbuilder][C-competency/com.workscape.competency:competency-modelbuilder][relativePath:competency-modelbuilder], hudson.maven.MavenModule@538edf3c[C-competency/com.workscape.competency:competency-service][C-competency/com.workscape.competency:competency-service][relativePath:competency-service], hudson.maven.MavenModule@48e206ff[C-competency/com.workscape.competency:competency-transformer][C-competency/com.workscape.competency:competency-transformer][relativePath:competency-transformer], hudson.maven.MavenModule@679f91cc[C-competency/com.workscape.soa.competency:competency-endpoint][C-competency/com.workscape.soa.competency:competency-endpoint][relativePath:competency-endpoint]] project.getRootModule()=hudson.maven.MavenModule@986b0ee[C-competency/com.workscape.competency:competency-aggregate][C-competency/com.workscape.competency:competency-aggregate][relativePath:] FATAL: Unable to locate class file for class hudson.remoting.Launcher java.lang.IllegalArgumentException: Unable to locate class file for class hudson.remoting.Launcher at hudson.remoting.Which.jarURL(Which.java:60) at hudson.remoting.Which.jarFile(Which.java:75) at hudson.maven.AbstractMavenProcessFactory$GetRemotingJar.call(AbstractMavenProcessFactory.java:309) at hudson.maven.AbstractMavenProcessFactory$GetRemotingJar.call(AbstractMavenProcessFactory.java:307) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) 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:60) at java.lang.Thread.run(Unknown Source)

    Jenkins JIRA | 5 years ago | Tim Downey
    java.lang.IllegalArgumentException: Unable to locate class file for class hudson.remoting.Launcher
  3. 0

    A very basic pom as project, and a build goal: clean Parsing POMs ERROR: Processing failed due to a bug in the code. Please report this to users@hudson.dev.java.net java.lang.IllegalArgumentException: vfszip:/etc/jboss/jboss-6.0.0.M1/server/hudson/deploy/hudson-1.347.war/WEB-INF/lib/remoting-1.347.jar/hudson/remoting/Launcher.class - vfszip:/etc/jboss/jboss-6.0.0.M1/server/hudson/deploy/hudson-1.347.war/WEB-INF/lib/remoting-1.347.jar/hudson/remoting/Launcher.class at hudson.remoting.Which.jarFile(Which.java:157) at hudson.maven.MavenProcessFactory$GetRemotingJar.call(MavenProcessFactory.java:370) at hudson.maven.MavenProcessFactory$GetRemotingJar.call(MavenProcessFactory.java:368) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at hudson.maven.MavenProcessFactory.buildMavenCmdLine(MavenProcessFactory.java:277) at hudson.maven.MavenProcessFactory.newProcess(MavenProcessFactory.java:196) at hudson.maven.ProcessCache.get(ProcessCache.java:231) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:455) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1198) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:304) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122)

    Jenkins JIRA | 7 years ago | technolords
    java.lang.IllegalArgumentException: vfszip:/etc/jboss/jboss-6.0.0.M1/server/hudson/deploy/hudson-1.347.war/WEB-INF/lib/remoting-1.347.jar/hudson/remoting/Launcher.class - vfszip:/etc/jboss/jboss-6.0.0.M1/server/hudson/deploy/hudson-1.347.war/WEB-INF/lib/remoting-1.347.jar/hudson/remoting/Launcher.class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When trying to build job using Hudson + Maven + JBoss 6 it fails with: Parsing POMs ERROR: Processing failed due to a bug in the code. Please report this to users@hudson.dev.java.net java.lang.IllegalArgumentException: vfs:/C:/jboss6/server/default/deploy/hudson.war/WEB-INF/lib/remoting-1.381.jar/hudson/remoting/Launcher.class - vfs:/C:/jboss6/server/default/deploy/hudson.war/WEB-INF/lib/remoting-1.381.jar/hudson/remoting/Launcher.class at hudson.remoting.Which.jarFile(Which.java:160) at hudson.maven.MavenProcessFactory$GetRemotingJar.call(MavenProcessFactory.java:388) at hudson.maven.MavenProcessFactory$GetRemotingJar.call(MavenProcessFactory.java:386) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at hudson.maven.MavenProcessFactory.buildMavenCmdLine(MavenProcessFactory.java:295) at hudson.maven.MavenProcessFactory.newProcess(MavenProcessFactory.java:214) at hudson.maven.ProcessCache.get(ProcessCache.java:231) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:446) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1280) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:293) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:139) project=hudson.maven.MavenModuleSet@10839f78[AllTests] and in the JBoss log FINEST|1324/0|10-10-25 22:49:03|java.lang.UnsatisfiedLinkError: Unable to load winp.x64.dll FINEST|1324/0|10-10-25 22:49:03| at org.jvnet.winp.Native.load(Native.java:130) FINEST|1324/0|10-10-25 22:49:03| at org.jvnet.winp.Native.<clinit>(Native.java:52) FINEST|1324/0|10-10-25 22:49:03| at org.jvnet.winp.WinProcess.enableDebugPrivilege(WinProcess.java:200) FINEST|1324/0|10-10-25 22:49:03| at hudson.util.ProcessTree$Windows.<clinit>(ProcessTree.java:457) FINEST|1324/0|10-10-25 22:49:03| at hudson.util.ProcessTree.get(ProcessTree.java:328) FINEST|1324/0|10-10-25 22:49:03| at hudson.Launcher$LocalLauncher.kill(Launcher.java:657) FINEST|1324/0|10-10-25 22:49:03| at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) FINEST|1324/0|10-10-25 22:49:03| at hudson.model.Run.run(Run.java:1280) FINEST|1324/0|10-10-25 22:49:03| at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:293) FINEST|1324/0|10-10-25 22:49:03| at hudson.model.ResourceController.execute(ResourceController.java:88) FINEST|1324/0|10-10-25 22:49:03| at hudson.model.Executor.run(Executor.java:139) FINEST|1324/0|10-10-25 22:49:03|Caused by: java.lang.UnsatisfiedLinkError: no winp.x64 in java.library.path FINEST|1324/0|10-10-25 22:49:03| at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1734) FINEST|1324/0|10-10-25 22:49:03| at java.lang.Runtime.loadLibrary0(Runtime.java:823) FINEST|1324/0|10-10-25 22:49:03| at java.lang.System.loadLibrary(System.java:1028) FINEST|1324/0|10-10-25 22:49:03| at org.jvnet.winp.Native.load(Native.java:111) FINEST|1324/0|10-10-25 22:49:03| ... 10 more FINEST|1324/0|10-10-25 22:49:03|Oct 25, 2010 10:49:03 PM hudson.model.Run run FINEST|1324/0|10-10-25 22:49:03|INFO: AllTests #1 main build action completed: FAILURE I found old post http://hudson.361315.n4.nabble.com/Unable-to-load-winp-dll-td379189.html that recommends to -Dhudson.util.ProcessTreeKiller.disable=true but this didn't help.

    Jenkins JIRA | 6 years ago | vj000
    java.lang.IllegalArgumentException: vfs:/C:/jboss6/server/default/deploy/hudson.war/WEB-INF/lib/remoting-1.381.jar/hudson/remoting/Launcher.class - vfs:/C:/jboss6/server/default/deploy/hudson.war/WEB-INF/lib/remoting-1.381.jar/hudson/remoting/Launcher.class
  6. 0

    When trying to build job using Hudson + Maven + JBoss 6 it fails with: Parsing POMs ERROR: Processing failed due to a bug in the code. Please report this to users@hudson.dev.java.net java.lang.IllegalArgumentException: vfs:/C:/jboss6/server/default/deploy/hudson.war/WEB-INF/lib/remoting-1.381.jar/hudson/remoting/Launcher.class - vfs:/C:/jboss6/server/default/deploy/hudson.war/WEB-INF/lib/remoting-1.381.jar/hudson/remoting/Launcher.class at hudson.remoting.Which.jarFile(Which.java:160) at hudson.maven.MavenProcessFactory$GetRemotingJar.call(MavenProcessFactory.java:388) at hudson.maven.MavenProcessFactory$GetRemotingJar.call(MavenProcessFactory.java:386) at hudson.remoting.LocalChannel.call(LocalChannel.java:45) at hudson.maven.MavenProcessFactory.buildMavenCmdLine(MavenProcessFactory.java:295) at hudson.maven.MavenProcessFactory.newProcess(MavenProcessFactory.java:214) at hudson.maven.ProcessCache.get(ProcessCache.java:231) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:446) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:416) at hudson.model.Run.run(Run.java:1280) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:293) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:139) project=hudson.maven.MavenModuleSet@10839f78[AllTests] and in the JBoss log FINEST|1324/0|10-10-25 22:49:03|java.lang.UnsatisfiedLinkError: Unable to load winp.x64.dll FINEST|1324/0|10-10-25 22:49:03| at org.jvnet.winp.Native.load(Native.java:130) FINEST|1324/0|10-10-25 22:49:03| at org.jvnet.winp.Native.<clinit>(Native.java:52) FINEST|1324/0|10-10-25 22:49:03| at org.jvnet.winp.WinProcess.enableDebugPrivilege(WinProcess.java:200) FINEST|1324/0|10-10-25 22:49:03| at hudson.util.ProcessTree$Windows.<clinit>(ProcessTree.java:457) FINEST|1324/0|10-10-25 22:49:03| at hudson.util.ProcessTree.get(ProcessTree.java:328) FINEST|1324/0|10-10-25 22:49:03| at hudson.Launcher$LocalLauncher.kill(Launcher.java:657) FINEST|1324/0|10-10-25 22:49:03| at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421) FINEST|1324/0|10-10-25 22:49:03| at hudson.model.Run.run(Run.java:1280) FINEST|1324/0|10-10-25 22:49:03| at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:293) FINEST|1324/0|10-10-25 22:49:03| at hudson.model.ResourceController.execute(ResourceController.java:88) FINEST|1324/0|10-10-25 22:49:03| at hudson.model.Executor.run(Executor.java:139) FINEST|1324/0|10-10-25 22:49:03|Caused by: java.lang.UnsatisfiedLinkError: no winp.x64 in java.library.path FINEST|1324/0|10-10-25 22:49:03| at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1734) FINEST|1324/0|10-10-25 22:49:03| at java.lang.Runtime.loadLibrary0(Runtime.java:823) FINEST|1324/0|10-10-25 22:49:03| at java.lang.System.loadLibrary(System.java:1028) FINEST|1324/0|10-10-25 22:49:03| at org.jvnet.winp.Native.load(Native.java:111) FINEST|1324/0|10-10-25 22:49:03| ... 10 more FINEST|1324/0|10-10-25 22:49:03|Oct 25, 2010 10:49:03 PM hudson.model.Run run FINEST|1324/0|10-10-25 22:49:03|INFO: AllTests #1 main build action completed: FAILURE I found old post http://hudson.361315.n4.nabble.com/Unable-to-load-winp-dll-td379189.html that recommends to -Dhudson.util.ProcessTreeKiller.disable=true but this didn't help.

    Jenkins JIRA | 6 years ago | vj000
    java.lang.IllegalArgumentException: vfs:/C:/jboss6/server/default/deploy/hudson.war/WEB-INF/lib/remoting-1.381.jar/hudson/remoting/Launcher.class - vfs:/C:/jboss6/server/default/deploy/hudson.war/WEB-INF/lib/remoting-1.381.jar/hudson/remoting/Launcher.class

    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.IllegalArgumentException

      Unable to locate class file for class hudson.remoting.Launcher

      at hudson.remoting.Which.jarURL()
    2. Hudson :: Remoting Layer
      Which.jarFile
      1. hudson.remoting.Which.jarURL(Which.java:60)
      2. hudson.remoting.Which.jarFile(Which.java:75)
      2 frames
    3. Hudson Maven Embedder
      AbstractMavenProcessFactory$GetRemotingJar.call
      1. hudson.maven.AbstractMavenProcessFactory$GetRemotingJar.call(AbstractMavenProcessFactory.java:309)
      2. hudson.maven.AbstractMavenProcessFactory$GetRemotingJar.call(AbstractMavenProcessFactory.java:307)
      2 frames
    4. Hudson :: Remoting Layer
      Request$2.run
      1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      3. hudson.remoting.Request$2.run(Request.java:287)
      3 frames
    5. 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
    6. Hudson :: Remoting Layer
      Engine$1$1.run
      1. hudson.remoting.Engine$1$1.run(Engine.java:60)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame