Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328149 - NPE starting target workspace
Summary: NPE starting target workspace
Status: RESOLVED FIXED
Alias: None
Product: Subversive
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Igor Burilo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-19 11:52 EDT by Michael Rennie CLA
Modified: 2010-10-29 10:57 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2010-10-19 11:52:14 EDT
Eclipse build: I20101012-0800 (3.7)
Subversive build: 0.7.9.I20100512-1900
Connectors: 2.2.2.I20100512-1900 (1.4, 1.5, 1.6)

Each time I start my target workspace I get the following exception reported in the error log:

java.lang.NullPointerException
at org.eclipse.team.svn.ui.utility.UILoggedOperationFactory.getLogged(UILoggedOperationFactory.java:28)
at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTaskScheduled(ProgressMonitorUtility.java:54)
at org.eclipse.team.svn.core.utility.ProgressMonitorUtility.doTaskScheduled(ProgressMonitorUtility.java:50)
at org.eclipse.team.svn.core.svnstorage.SVNRemoteStorage.fireResourceStatesChangedEvent(SVNRemoteStorage.java:173)
at org.eclipse.team.svn.core.ProjectCloseListener.resourceChanged(ProjectCloseListener.java:32)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
at org.eclipse.core.internal.events.NotificationManager.handleEvent(NotificationManager.java:261)
at org.eclipse.core.internal.resources.Workspace.broadcastEvent(Workspace.java:321)
at org.eclipse.core.internal.resources.Resource.broadcastPreDeleteEvent(Resource.java:1993)
at org.eclipse.core.internal.resources.Resource.delete(Resource.java:771)
at org.eclipse.core.internal.resources.Project.delete(Project.java:339)
at org.eclipse.wst.jsdt.debug.internal.core.JavaScriptDebugPlugin.stop(JavaScriptDebugPlugin.java:160)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764)
at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:507)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:553)
at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1137)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:595)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:689)
at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:596)
at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:415)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:198)
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:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:621)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:576)
at org.eclipse.equinox.launcher.Main.run(Main.java:1409)
at org.eclipse.equinox.launcher.Main.main(Main.java:1385)

Steps:
1. start a target workspace with the aforementioned eclipse + subversive installed
Comment 1 Alexander Gurov CLA 2010-10-29 10:57:51 EDT
Race conditions fixed.