Hello list,
I was able to find the problem's cause:
It happens when you select the root item at the "Choose the checkout
folder" page.
The workaround is to create a repository location which is parent of
the location you want to check out and then specify the desired folder.
This seems to be a bug.
When you look at CheckoutWizardSelectionPage.java (subclipse 1.2.0) at
line 85, you can see that subclipse first checks if the selected
resource is a ISVNRemoteFolder (which is not true when selecting the
root node).
If not this resource will be skipped.
In the next line (86), an ISVNRepositoryLocation object would be
handled, but the previous one excludes exactly this case.
So nothing is added at all.
remoteFolders.length will be 0 and no checkout will be done within
performFinish().
Best Regards,
Patric Rufflar
-----Original Message-----
Are you using Working set? If so, try to "deselect Working Set" and see
if the project is not really there...
===========
Olavo Lira
-----Original Message-----
From: patric@rufflar.de [mailto:patric@rufflar.de]
Sent: Friday, February 23, 2007 1:25 PM
To: users@subclipse.tigris.org
Subject: [Subclipse-users] Problems using the Checkout Wizard
Subject: Problems using the Checkout Wizard
Hello list,
I have problems using the Subclipse checkout wizard on a certain
computer.
After a successful selection of the folder of the chosen repository,
the wizard prompts that I have two options:
1. check out as a project configured using the New Project Wizard
and
2. check out as a project in the workspace
None of the two options work.
When I choose the first one and click on the finish button, nothing
happens, the wizard closes, but the "new project wizard" does not
appear.
The same is for the second option, the wizard just closes, but, when
looking in the error log I can see that one exception occoured
singulary:
java.lang.NullPointerException
at
org.tigris.subversion.subclipse.ui.wizards.CheckoutWizard.performFinish(
CheckoutWizard.java:330)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:68
0)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:35
5)
at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at
org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:116)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Ac
tionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContribut
ionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionCont
ributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:4
22)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActiva
tor.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicat
ion(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclip
seAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
(followed by a second exception "Unhandled event loop" which does not
contain a strack trace)
I am using the newest Eclipse, 3.2.2 with the newest WTP (1.5.3) and,
of course, the newest subclipse (1.2.0).
OS is Windows 2000, jdk is 1.4.2_09.
I have a second computer with the same environment and everything
works just fine there. I even erased the eclipse registry/configurtion
to ensure that it's not corrupted, but this did not made a difference.
Does anybody have an idea?
Thank you.
Best Regards,
Patric Rufflar
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Mon Feb 26 18:56:04 2007