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

NoClassDefFoundError: hudson.util.ProcessTreeKiller$Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • maven-plugin
    • None
    • Platform: PC, OS: Windows 2000

      The following error happens when executing a Maven Build (but only if the maven
      build runs, the error does not happen when the maven build fails with Bug #2394)
      The Error is shown only on the Hudson stdout/err, not within the build console.

      17.02.2009 08:29:40 hudson.remoting.Channel$ReaderThread run
      SCHWERWIEGEND: Failed to execute command close
      java.lang.NoClassDefFoundError: Could not initialize class
      hudson.util.ProcessTreeKiller$Windows
      at hudson.util.ProcessTreeKiller.get(ProcessTreeKiller.java:91)
      at hudson.Proc$LocalProc.destroy(Proc.java:166)
      at hudson.Proc$LocalProc.kill(Proc.java:158)
      at
      hudson.maven.MavenProcessFactory$1.terminate(MavenProcessFactory.java:187)
      at hudson.remoting.Channel$CloseCommand.execute(Channel.java:554)
      at hudson.remoting.Channel$ReaderThread.run(Channel.java:647)
      17.02.2009 08:29:40 hudson.remoting.Channel$ReaderThread run
      SCHWERWIEGEND: This command is created here
      Command close created at
      at hudson.remoting.Command.<init>(Command.java:24)
      at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:550)
      at hudson.remoting.Channel$CloseCommand.<init>(Channel.java:550)
      at hudson.remoting.Channel.close(Channel.java:594)
      at hudson.remoting.Channel$CloseCommand.execute(Channel.java:553)
      at hudson.remoting.Channel$ReaderThread.run(Channel.java:647)

      Process Explorer shows a Subthread with commandline (Paths shortened and
      anonymonized):
      java -cp "C:\Dokumente und
      Einstellungen\user\.hudson\war\WEB-INF\lib\maven-agent-1.277.jar;C:\maven-2\boot\classworlds-1.1.jar"
      hudson.maven.agent.Main C:\maven-2 "C:\Dokumente und
      Einstellungen\user\.hudson\war\WEB-INF\lib\remoting-1.277.jar" "C:\Dokumente und
      Einstellungen\user\.hudson\war\WEB-INF\lib\maven-interceptor-1.277.jar" 1342

      If the maven run is OK, the Subthread terminates. If the maven build fails with
      Bug #2394 the Subthread stays in Memory.

      OS: Win2000 SP3 32Bit, Hudson 1.277, Maven 2.0.9, Java 1.6.0_12

            Unassigned Unassigned
            skybird Florian Rosenauer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: