Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 345149

Summary: java.lang.VerifyError when connecting to Jenkins server with JEE package
Product: z_Archived Reporter: René Brandenburger <rene>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P1 CC: robert.elves, shawn.minto
Version: unspecified   
Target Milestone: 0.8   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 325179    
Bug Blocks:    
Attachments:
Description Flags
the eclipse configuration none

Description René Brandenburger CLA 2011-05-09 10:50:31 EDT
What steps will reproduce the problem?
1. create a Connection to a Buildserver
2. fill in values of a Jenkins Buildserver
3. click validate


-- Error Details --
Date: Mon May 09 16:44:42 CEST 2011
Message: Refresh of server 'Dev-Image' failed
Severity: Error
Product: Eclipse 1.4.0.20110505-0822 (org.eclipse.epp.package.jee.product)
Plugin: org.eclipse.mylyn.builds.core
Exception Stack Trace:
org.eclipse.core.runtime.CoreException: Unexpected error during loading of connector for server 'Dev-Image' with connector kind 'org.eclipse.mylyn.hudson' failed.
	at org.eclipse.mylyn.internal.builds.ui.BuildsUiInternal$1.loadBehaviour(BuildsUiInternal.java:126)
	at org.eclipse.mylyn.builds.internal.core.BuildServer.getBehaviour(BuildServer.java:419)
	at org.eclipse.mylyn.builds.internal.core.operations.RefreshSession$4.run(RefreshSession.java:172)
	at org.eclipse.mylyn.builds.internal.core.operations.RefreshSession$4.run(RefreshSession.java:1)
	at org.eclipse.mylyn.builds.internal.core.util.BuildRunner.run(BuildRunner.java:72)
	at org.eclipse.mylyn.builds.internal.core.operations.RefreshSession.refreshPlans(RefreshSession.java:168)
	at org.eclipse.mylyn.builds.internal.core.operations.RefreshSession.refresh(RefreshSession.java:89)
	at org.eclipse.mylyn.builds.internal.core.operations.RefreshOperation$RefreshJob.doExecute(RefreshOperation.java:74)
	at org.eclipse.mylyn.builds.internal.core.operations.BuildJob.run(BuildJob.java:79)
	at org.eclipse.mylyn.builds.internal.core.operations.AbstractElementOperation.doExecute(AbstractElementOperation.java:109)
	at org.eclipse.mylyn.internal.builds.ui.BuildRefresher$RefreshJob.doExecute(BuildRefresher.java:44)
	at org.eclipse.mylyn.builds.internal.core.operations.BuildJob.run(BuildJob.java:79)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.lang.VerifyError: (class: org/eclipse/mylyn/internal/hudson/core/client/RestfulHudsonClient, method: unmarshal signature: (Lorg/w3c/dom/Node;Ljava/lang/Class;)Ljava/lang/Object;) Incompatible object argument for function call
	at org.eclipse.mylyn.internal.hudson.core.HudsonServerBehaviour.<init>(HudsonServerBehaviour.java:111)
	at org.eclipse.mylyn.internal.hudson.core.HudsonConnector.getBehaviour(HudsonConnector.java:36)
	at org.eclipse.mylyn.internal.builds.ui.BuildConnectorDelegate.getBehaviour(BuildConnectorDelegate.java:57)
	at org.eclipse.mylyn.internal.builds.ui.BuildsUiInternal$1.loadBehaviour(BuildsUiInternal.java:116)
	... 12 more

-- Error Details --
Date: Mon May 09 16:44:42 CEST 2011
Message: Unexpected error during loading of connector for server 'Dev-Image' with connector kind 'org.eclipse.mylyn.hudson' failed.
Severity: Error
Product: Eclipse 1.4.0.20110505-0822 (org.eclipse.epp.package.jee.product)
Plugin: org.eclipse.mylyn.builds.ui
Exception Stack Trace:
java.lang.VerifyError: (class: org/eclipse/mylyn/internal/hudson/core/client/RestfulHudsonClient, method: unmarshal signature: (Lorg/w3c/dom/Node;Ljava/lang/Class;)Ljava/lang/Object;) Incompatible object argument for function call
	at org.eclipse.mylyn.internal.hudson.core.HudsonServerBehaviour.<init>(HudsonServerBehaviour.java:111)
	at org.eclipse.mylyn.internal.hudson.core.HudsonConnector.getBehaviour(HudsonConnector.java:36)
	at org.eclipse.mylyn.internal.builds.ui.BuildConnectorDelegate.getBehaviour(BuildConnectorDelegate.java:57)
	at org.eclipse.mylyn.internal.builds.ui.BuildsUiInternal$1.loadBehaviour(BuildsUiInternal.java:116)
	at org.eclipse.mylyn.builds.internal.core.BuildServer.getBehaviour(BuildServer.java:419)
	at org.eclipse.mylyn.builds.internal.core.operations.RefreshSession$4.run(RefreshSession.java:172)
	at org.eclipse.mylyn.builds.internal.core.operations.RefreshSession$4.run(RefreshSession.java:1)
	at org.eclipse.mylyn.builds.internal.core.util.BuildRunner.run(BuildRunner.java:72)
	at org.eclipse.mylyn.builds.internal.core.operations.RefreshSession.refreshPlans(RefreshSession.java:168)
	at org.eclipse.mylyn.builds.internal.core.operations.RefreshSession.refresh(RefreshSession.java:89)
	at org.eclipse.mylyn.builds.internal.core.operations.RefreshOperation$RefreshJob.doExecute(RefreshOperation.java:74)
	at org.eclipse.mylyn.builds.internal.core.operations.BuildJob.run(BuildJob.java:79)
	at org.eclipse.mylyn.builds.internal.core.operations.AbstractElementOperation.doExecute(AbstractElementOperation.java:109)
	at org.eclipse.mylyn.internal.builds.ui.BuildRefresher$RefreshJob.doExecute(BuildRefresher.java:44)
	at org.eclipse.mylyn.builds.internal.core.operations.BuildJob.run(BuildJob.java:79)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Steffen Pingel CLA 2011-05-09 12:30:53 EDT
What JDK and Eclipse version are you using?
Comment 2 René Brandenburger CLA 2011-05-09 16:22:08 EDT
Eclipse Java EE IDE for Web Developers.

Version: Indigo Release
Build id: 20110505-1223

(c) Copyright Eclipse contributors and others 2005, 2011.  All rights reserved.
Visit http://www.eclipse.org/webtools


Java is java 1.5 Update 26 on Ubuntu Linux, the Hudson Server is running in a tomcat on Ubuntu Linux (jvm: /usr/lib/jvm/java-6-sun-1.6.0.24/jre)
Jenkins is Version 1.410

regards
Comment 3 Steffen Pingel CLA 2011-05-09 16:45:44 EDT
Thanks, that could be caused by an incompatible XML parser implementation. Can you attach the list of plug-ins Help > About > Installation Details > Configuration ?
Comment 4 René Brandenburger CLA 2011-05-09 17:11:20 EDT
(In reply to comment #2)
> Eclipse Java EE IDE for Web Developers.
> 
> Version: Indigo Release
> Build id: 20110505-1223
> 
> (c) Copyright Eclipse contributors and others 2005, 2011.  All rights reserved.
> Visit http://www.eclipse.org/webtools
> 
> 
> Java is java 1.5 Update 26 on Ubuntu Linux, the Hudson Server is running in a
> tomcat on Ubuntu Linux (jvm: /usr/lib/jvm/java-6-sun-1.6.0.24/jre)
> Jenkins is Version 1.410
> 
Sorry, I meant Java 1.6 Update 24 - my fault.
Comment 5 René Brandenburger CLA 2011-05-09 17:12:00 EDT
Created attachment 195151 [details]
the eclipse configuration
Comment 6 Steffen Pingel CLA 2011-05-19 18:05:58 EDT
I was able to reproduce this problem with the JEE distribution.
Comment 7 Steffen Pingel CLA 2011-05-31 21:35:28 EDT
My suspicion is that this is related to javax.xml.bind 2.1.9 and 2.2.0 getting installed. If I delete plugins/javax.xml.bind_2.1.9.v201005080401.jar (Indigo RC3) the Hudson connector works (but I can't tell if that breaks anything else). Alternatively, running on Java 1.5 also fixes the exception.

I'll try lowering version constraints for javax.xml.bind in the Hudson connector. Hopefully only one version of javax.xml.bind will end up getting installed that way.
Comment 8 Steffen Pingel CLA 2011-06-01 17:27:10 EDT
Lowering the version constraint seems to have worked. If I install the Hudson connector from http://download.eclipse.org/mylyn/snapshots/weekly into the Galileo and Indigo RC3 JEE package and the VerifyError did not occur any longer. Rene, please reopen if you are still experiencing the problem with the latest weekly build.