[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

An unexpected exception was thrown when disconnecting a project node from SVN

From: Sridhar V Iyer <iyers_at_rocketmail.com>
Date: 2005-10-20 00:27:20 CEST

Hi,

I checked out a dir as a project from the repository
view using the context menu. I then realised I
actually wanted to name the project myself so I
decided to disconnect the project and delete if from
Eclipse.

I get this in the Error log on disconnect:
-----------------------------------------------------
java.lang.NullPointerException
        at
org.tigris.subversion.subclipse.core.resources.LocalResource.getWorkspaceRoot(LocalResource.java:183)
        at
org.tigris.subversion.subclipse.core.resources.LocalResource.getRepository(LocalResource.java:191)
        at
org.tigris.subversion.subclipse.core.resources.LocalResource.getSvnProperties(LocalResource.java:358)
        at
org.tigris.subversion.subclipse.ui.svnproperties.SvnPropertiesView.getSvnProperties(SvnPropertiesView.java:558)
        at
org.tigris.subversion.subclipse.ui.svnproperties.SvnPropertiesView.access$8(SvnPropertiesView.java:551)
        at
org.tigris.subversion.subclipse.ui.svnproperties.SvnPropertiesView$11.run(SvnPropertiesView.java:499)
        at
org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:152)
        at
org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:28)
        at
org.eclipse.swt.widgets.Display.syncExec(Display.java:3527)
        at
org.tigris.subversion.subclipse.ui.svnproperties.SvnPropertiesView.refresh(SvnPropertiesView.java:495)
        at
org.tigris.subversion.subclipse.ui.svnproperties.SvnPropertiesView.showSvnProperties(SvnPropertiesView.java:548)
        at
org.tigris.subversion.subclipse.ui.svnproperties.SvnPropertiesView.handlePartSelectionChanged(SvnPropertiesView.java:268)
        at
org.tigris.subversion.subclipse.ui.svnproperties.SvnPropertiesView.access$1(SvnPropertiesView.java:250)
        at
org.tigris.subversion.subclipse.ui.svnproperties.SvnPropertiesView$1.selectionChanged(SvnPropertiesView.java:237)
        at
org.eclipse.ui.internal.AbstractSelectionService.firePostSelection(AbstractSelectionService.java:179)
        at
org.eclipse.ui.internal.AbstractSelectionService$2.selectionChanged(AbstractSelectionService.java:71)
        at
org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:763)
        at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
        at
org.eclipse.core.runtime.Platform.run(Platform.java:783)
        at
org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
        at
org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
        at
org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:761)
        at
org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1042)
        at
org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1062)
        at
org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:231)
        at
org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:226)
        at
org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:392)
        at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
        at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3171)
        at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2826)
        at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1755)
        at
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1719)
        at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:368)
        at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
        at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106)
        at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:377)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:164)
        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.core.launcher.Main.invokeFramework(Main.java:338)
        at
org.eclipse.core.launcher.Main.basicRun(Main.java:282)
        at org.eclipse.core.launcher.Main.run(Main.java:977)
        at org.eclipse.core.launcher.Main.main(Main.java:952)
------------------------------------------------------
eclipse.buildId=I20050923-1000
java.version=1.5.0_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32,
NL=en_NZ
Command-line arguments: -os win32 -ws win32 -arch x86
----------------------------------------------------

I did manage to delete the Eclipse project after the
disconnect.

Is this a bug or just badly handled exception ?

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on Thu Oct 20 08:27:20 2005

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.