-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
Platform: PC, OS: Windows XP
After an automatic upgrade from 1.282 to 1.283 builds started failing with:
FATAL: C:\Program Files (x86)\Hudson\data\war\WEB-INF\lib\winp.dll: Can't load
IA 32-bit .dll on a AMD 64-bit platform
java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Hudson\data\war\WEB-INF
\lib\winp.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1005)
at org.jvnet.winp.Native.loadDll(Native.java:124)
at org.jvnet.winp.Native.load(Native.java:81)
at org.jvnet.winp.Native.<clinit>(Native.java:49)
at org.jvnet.winp.WinProcess.enableDebugPrivilege(WinProcess.java:195)
at hudson.util.ProcessTreeKiller$Windows.<clinit>
(ProcessTreeKiller.java:207)
at hudson.util.ProcessTreeKiller.get(ProcessTreeKiller.java:132)
at hudson.Launcher$LocalLauncher.kill(Launcher.java:361)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:273)
at hudson.model.Run.run(Run.java:866)
at hudson.model.Build.run(Build.java:112)
at hudson.model.ResourceController.execute(ResourceController.java:93)
at hudson.model.Executor.run(Executor.java:119)
and after one more restart with:
FATAL: Could not initialize class hudson.util.ProcessTreeKiller$Windows
java.lang.NoClassDefFoundError: Could not initialize class
hudson.util.ProcessTreeKiller$Windows
at hudson.util.ProcessTreeKiller.get(ProcessTreeKiller.java:132)
at hudson.Launcher$LocalLauncher.kill(Launcher.java:361)
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:273)
at hudson.model.Run.run(Run.java:866)
at hudson.model.Build.run(Build.java:112)
at hudson.model.ResourceController.execute(ResourceController.java:93)
at hudson.model.Executor.run(Executor.java:119)
Maybe a packaging error?
Cheers,
Filip
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)
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)
I dont get the 64Bit DLL Error.
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