Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-10376

When running Windows JNLP slaves, all of my remote builds fail with java.lang.IllegalArgumentException: Unable to locate class file for class hudson.remoting.Launcher

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • remoting
    • None
    • Windows Server 2008 R2

      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)

            Unassigned Unassigned
            timdowney Tim Downey
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: