Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350119 - Cannot create a Hudson Build server from Builds view
Summary: Cannot create a Hudson Build server from Builds view
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 0.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.8.1   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-23 02:06 EDT by Stephen Egan CLA
Modified: 2011-06-23 20:53 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Egan CLA 2011-06-23 02:06:01 EDT
I cannot add a Hudson build server from the Builds view.  This has occured both on 32 bit WinXP and 64bit Windows7

What steps will reproduce the problem?
1. From the "Builds" view (with no existing Build Server) click the hyperlink in the "No build servers available Create a build server..," message, or click "Add Build Server" from the view menu.
2. Error below occurs silently (can be found in Error Log, but no notification is given to user otherwise)
3. Build server may still be added successfully from Team Repositories view.


-- Error Details --
Date: Thu Jun 23 15:52:50 EST 2011
Message: Unhandled event loop exception
Severity: Error
Product: Eclipse 1.4.0.20110609-1120 (org.eclipse.epp.package.modeling.product)
Plugin: org.eclipse.ui
Session Data:
eclipse.buildId=I20110613-1736
java.version=1.6.0_25
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_AU
Framework arguments:  -product org.eclipse.epp.package.modeling.product
Command-line arguments:  -data C:\Users\ega024\Projects\Exploring Mekong Region Futures\Indigo Workspace -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.modeling.product

Exception Stack Trace:
java.lang.NoSuchMethodError: org.eclipse.mylyn.internal.commons.ui.team.NewRepositoryHandler.openDialog(Lorg/eclipse/ui/IWorkbenchWindow;Ljava/lang/String;)I
	at org.eclipse.mylyn.internal.builds.ui.view.NewBuildServerAction.run(NewBuildServerAction.java:34)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Comment 1 Steffen Pingel CLA 2011-06-23 10:34:21 EDT
This happens when the Hudson connector 0.7.0 is installed into Mylyn 3.6. Please update to the latest 0.8.0 version of the Hudson connector from http://download.eclipse.org/mylyn/releases/3.6 .

We have now updated the discovery entry in the connector install to ensure that the latest version gets installed by default.
Comment 2 Stephen Egan CLA 2011-06-23 20:53:33 EDT
Yup, that sorted it out.  Thanks Steffen.