java.lang.IllegalArgumentException: wsjar:file:/opt/WebSphere/AppServer/profiles/AppSrv01/installedApps/MCI0LWEBD001 Node01Cell/hudson_war.ear/hudson.war/WEB-INF/lib/maven-agent- 1.200.jar!/hudson/maven/agent/Main.class - wsjar:file:/opt/WebSphere/AppServer/profiles/AppSrv01/installedApps/MCI0LWEBD001 Node01Cell/hudson_war.ear/hudson.war/WEB-INF/lib/maven-agent- 1.200.jar!/hudson/maven/agent/Main.class

Jenkins JIRA | aobrie01 | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When running hudson under WebSphere v6.1 you will get the following stack trace if you try to execute a maven build: Parsing POMs ERROR: Processing failed due to a bug in the code. Please report thus to users@hudson.dev.java.net java.lang.IllegalArgumentException: wsjar:file:/opt/WebSphere/AppServer/profiles/AppSrv01/installedApps/MCI0LWEBD001 Node01Cell/hudson_war.ear/hudson.war/WEB-INF/lib/maven-agent- 1.200.jar!/hudson/maven/agent/Main.class - wsjar:file:/opt/WebSphere/AppServer/profiles/AppSrv01/installedApps/MCI0LWEBD001 Node01Cell/hudson_war.ear/hudson.war/WEB-INF/lib/maven-agent- 1.200.jar!/hudson/maven/agent/Main.class at hudson.remoting.Which.jarFile(Which.java:52) at hudson.maven.MavenProcessFactory.buildMavenCmdLine (MavenProcessFactory.java:120) at hudson.maven.MavenProcessFactory.newProcess (MavenProcessFactory.java:68) at hudson.maven.ProcessCache.get(ProcessCache.java:170) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun (MavenModuleSetBuild.java:285) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:224) at hudson.model.Run.run(Run.java:749) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:188) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:71) project=hudson.maven.MavenModuleSet@a2e0a2e[SoxDataAccess] project.getModules()=[hudson.maven.MavenModule@40964096 [SoxDataAccess/com.assurant.inc.sox:SoxDataAccess]] project.getRootModule()=hudson.maven.MavenModule@40964096 [SoxDataAccess/com.assurant.inc.sox:SoxDataAccess] FATAL: wsjar:file:/opt/WebSphere/AppServer/profiles/AppSrv01/installedApps/MCI0LWEBD001 Node01Cell/hudson_war.ear/hudson.war/WEB-INF/lib/maven-agent- 1.200.jar!/hudson/maven/agent/Main.class - wsjar:file:/opt/WebSphere/AppServer/profiles/AppSrv01/installedApps/MCI0LWEBD001 Node01Cell/hudson_war.ear/hudson.war/WEB-INF/lib/maven-agent- 1.200.jar!/hudson/maven/agent/Main.class java.lang.IllegalArgumentException: wsjar:file:/opt/WebSphere/AppServer/profiles/AppSrv01/installedApps/MCI0LWEBD001 Node01Cell/hudson_war.ear/hudson.war/WEB-INF/lib/maven-agent- 1.200.jar!/hudson/maven/agent/Main.class - wsjar:file:/opt/WebSphere/AppServer/profiles/AppSrv01/installedApps/MCI0LWEBD001 Node01Cell/hudson_war.ear/hudson.war/WEB-INF/lib/maven-agent- 1.200.jar!/hudson/maven/agent/Main.class at hudson.remoting.Which.jarFile(Which.java:52) at hudson.maven.MavenProcessFactory.buildMavenCmdLine (MavenProcessFactory.java:120) at hudson.maven.MavenProcessFactory.newProcess (MavenProcessFactory.java:68) at hudson.maven.ProcessCache.get(ProcessCache.java:170) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun (MavenModuleSetBuild.java:285) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:224) at hudson.model.Run.run(Run.java:749) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:188) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:71) To fix this issue a solution is to add the following piece of code in the hudson.remoting.Which.java file in hudson/main/remoting/src/main/java directory: if(resURL.startsWith("wsjar:")){ // cut off wsjar: and the file name portion resURL = resURL.substring(6, resURL.lastIndexOf('!')); return new File(decode(new URL(resURL).getPath())); } after line 36 (in version 1.204)

    Jenkins JIRA | 9 years ago | aobrie01
    java.lang.IllegalArgumentException: wsjar:file:/opt/WebSphere/AppServer/profiles/AppSrv01/installedApps/MCI0LWEBD001 Node01Cell/hudson_war.ear/hudson.war/WEB-INF/lib/maven-agent- 1.200.jar!/hudson/maven/agent/Main.class - wsjar:file:/opt/WebSphere/AppServer/profiles/AppSrv01/installedApps/MCI0LWEBD001 Node01Cell/hudson_war.ear/hudson.war/WEB-INF/lib/maven-agent- 1.200.jar!/hudson/maven/agent/Main.class
  2. 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
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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 | 6 years ago | Tim Downey
    java.lang.IllegalArgumentException: Unable to locate class file for class hudson.remoting.Launcher
  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

      wsjar:file:/opt/WebSphere/AppServer/profiles/AppSrv01/installedApps/MCI0LWEBD001 Node01Cell/hudson_war.ear/hudson.war/WEB-INF/lib/maven-agent- 1.200.jar!/hudson/maven/agent/Main.class - wsjar:file:/opt/WebSphere/AppServer/profiles/AppSrv01/installedApps/MCI0LWEBD001 Node01Cell/hudson_war.ear/hudson.war/WEB-INF/lib/maven-agent- 1.200.jar!/hudson/maven/agent/Main.class

      at hudson.remoting.Which.jarFile()
    2. Hudson :: Remoting Layer
      Which.jarFile
      1. hudson.remoting.Which.jarFile(Which.java:52)
      1 frame
    3. Hudson Maven Embedder
      MavenModuleSetBuild$RunnerImpl.doRun
      1. hudson.maven.MavenProcessFactory.buildMavenCmdLine(MavenProcessFactory.java:120)
      2. hudson.maven.MavenProcessFactory.newProcess(MavenProcessFactory.java:68)
      3. hudson.maven.ProcessCache.get(ProcessCache.java:170)
      4. hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:285)
      4 frames
    4. Hudson
      Run.run
      1. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:224)
      2. hudson.model.Run.run(Run.java:749)
      2 frames
    5. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:188)
      1 frame
    6. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:70)
      2. hudson.model.Executor.run(Executor.java:71)
      2 frames