Jakub Štiller created JENKINS-13597:
---------------------------------------
Summary: Linkage error after upgrade to 1.461
Key: JENKINS-13597
URL: https://issues.jenkins-ci.org/browse/JENKINS-13597
Project: Jenkins
Issue Type: Bug
Components: core
Affects Versions: current
Environment: Slave config:
file.encoding UTF-8
file.encoding.pkg sun.io
file.separator /
guice.disable.misplaced.annotation.check true
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
java.awt.printerjob sun.print.PSPrinterJob
java.class.path slave.jar
java.class.version 50.0
java.endorsed.dirs /opt/jdk1.6.0_27/jre/lib/endorsed
java.ext.dirs /opt/jdk1.6.0_27/jre/lib/ext:/usr/java/packages/lib/ext
java.home /opt/jdk1.6.0_27/jre
java.io.tmpdir /tmp
java.library.path
/opt/jdk1.6.0_27/jre/lib/amd64/server:/opt/jdk1.6.0_27/jre/lib/amd64:/opt/jdk1.6.0_27/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_27-b07
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_27
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 20.2-b06
jna.platform.library.path /usr/lib64:/lib64:/usr/lib:/lib
line.separator
os.arch amd64
os.name Linux
os.version 2.6.32-131.6.1.el6.x86_64
path.separator :
securerandom.source file:/dev/./urandom
sun.arch.data.model 64
sun.boot.class.path
/opt/jdk1.6.0_27/jre/lib/resources.jar:/opt/jdk1.6.0_27/jre/lib/rt.jar:/opt/jdk1.6.0_27/jre/lib/sunrsasign.jar:/opt/jdk1.6.0_27/jre/lib/jsse.jar:/opt/jdk1.6.0_27/jre/lib/jce.jar:/opt/jdk1.6.0_27/jre/lib/charsets.jar:/opt/jdk1.6.0_27/jre/lib/modules/jdk.boot.jar:/opt/jdk1.6.0_27/jre/classes
sun.boot.library.path /opt/jdk1.6.0_27/jre/lib/amd64
sun.cpu.endian little
sun.cpu.isalist
sun.io.unicode.encoding UnicodeLittle
sun.java.command slave.jar
sun.java.launcher SUN_STANDARD
sun.jnu.encoding UTF-8
sun.management.compiler HotSpot 64-Bit Tiered Compilers
sun.os.patch.level unknown
svnkit.http.methods Digest,Basic,NTLM,Negotiate
svnkit.ssh2.persistent false
user.country US
user.dir /data/jenkins
user.home /home/jenkins
user.language en
user.name jenkins
user.timezone Europe/Bratislava
Reporter: Jakub Štiller
Priority: Critical
After upgrade to the 1.461, we got following error on some builds (not all).
The error happened just after the maven complete the main build. Just before
archiving artifact. We have to revert back to 1.458. Do you have any hints? We
will provide you with any information you may need.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9:30.190s
[INFO] Finished at: Wed Apr 25 17:37:02 CEST 2012
[INFO] Final Memory: 456M/790M
[INFO] ------------------------------------------------------------------------
Projects to build: [... list all sub modules in project ...]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:98)
at hudson.maven.Maven3Builder.call(Maven3Builder.java:64)
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
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.LinkageError: loader constraint violation: loader
(instance of hudson/remoting/RemoteClassLoader) previously initiated loading
for a different type with name "com/thoughtworks/xstream/XStream"
at hudson.maven.reporters.MavenArtifact.<clinit>(MavenArtifact.java:75)
at
hudson.maven.reporters.MavenArtifactArchiver.postBuild(MavenArtifactArchiver.java:101)
at
hudson.maven.Maven3Builder$MavenExecutionListener.sessionEnded(Maven3Builder.java:262)
at
org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:64)
at
org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:170)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira