Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 189496 - Can't create any new repository
Summary: Can't create any new repository
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Eugene Kuleshov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-28 15:13 EDT by Eugene Kuleshov CLA
Modified: 2007-06-05 22:38 EDT (History)
1 user (show)

See Also:


Attachments
refactored AbstractRepositorySettings (12.76 KB, patch)
2007-05-28 16:23 EDT, Eugene Kuleshov CLA
no flags Details | Diff
mylar/context/zip (6.66 KB, application/octet-stream)
2007-05-28 16:23 EDT, Eugene Kuleshov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Kuleshov CLA 2007-05-28 15:13:33 EDT
Not sure since when, but with the code from cvs head I can't create any new repository, seems like it is regardless of the connector type.

-- Error Log --
Date: Mon May 28 15:11:18 EDT 2007
Message: Unhandled event loop exception
Severity: Error
Plugin ID: org.eclipse.ui
Stack Trace:
java.lang.NullPointerException
	at org.eclipse.mylar.tasks.ui.wizards.AbstractRepositorySettingsPage.createControl(AbstractRepositorySettingsPage.java:329)
	at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1147)
	at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1139)
	at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1128)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
	at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1126)
	at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:820)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3673)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
	at org.eclipse.jface.window.Window.open(Window.java:796)
	at org.eclipse.mylar.internal.tasks.ui.commands.AddTaskRepositoryHandler.execute(AddTaskRepositoryHandler.java:35)
	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:239)
	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:475)
	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:174)
	at org.eclipse.mylar.internal.tasks.ui.actions.AddRepositoryAction.run(AddRepositoryAction.java:42)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3673)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
	at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:497)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:436)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1162)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1137)
Comment 1 Eugene Kuleshov CLA 2007-05-28 16:23:53 EDT
Created attachment 68964 [details]
refactored AbstractRepositorySettings

This should fix this issue. Apparently the problem was with the hyperlinks that Mik recently added.

I also moved thos hyperlinks into the row with [Validate] button to save screen real estate and added some validation for those hyperlinks based on the current value of server url.
Comment 2 Eugene Kuleshov CLA 2007-05-28 16:23:55 EDT
Created attachment 68965 [details]
mylar/context/zip
Comment 3 Mik Kersten CLA 2007-05-28 22:42:34 EDT
Rob: please look over this patch and see if there is a straightforward fix to to problem I added that Eugene mentions on bug 175205.  I added the new section too hastily without checking all connectors, but I would like to keep it because it simplifies the page.  For 2.0 I would like us to stay with this UI rather than moving to a multi-page UI, which has its own additional complexity.
Comment 4 Robert Elves CLA 2007-05-29 19:16:36 EDT
Patch applied.
Comment 5 Mik Kersten CLA 2007-06-05 22:38:44 EDT
This should be fixed now.  Please reopen if that's not the case.