Community
Participate
Working Groups
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)
What JDK and Eclipse version are you using?
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
Thanks, that could be caused by an incompatible XML parser implementation. Can you attach the list of plug-ins Help > About > Installation Details > Configuration ?
(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.
Created attachment 195151 [details] the eclipse configuration
I was able to reproduce this problem with the JEE distribution.
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.
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.