Bug 263908 - NPE in ExternalFoldersManager
Summary: NPE in ExternalFoldersManager
Status: VERIFIED DUPLICATE of bug 261594
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.5   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.5 M6   Edit
Assignee: Srikanth Sankaran CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-06 02:27 EST by Francis Upton IV CLA
Modified: 2009-03-10 10:01 EDT (History)
2 users (show)

See Also:


Attachments
Suggested Patch (878 bytes, patch)
2009-02-06 02:30 EST, Francis Upton IV CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Francis Upton IV CLA 2009-02-06 02:27:30 EST
(I have the feeling I previously submitted this, but I can't find it anywhere)

HEAD (5 Feb 09)

Run any of of the org.eclipse.ui.tests.navigator and set a breakpoint at NPE

Thread [main] (Suspended (exception NullPointerException))	
	ExternalFoldersManager.refreshReferences(IProject, IProgressMonitor) line: 263	
	DeltaProcessor.resourceChanged(IResourceChangeEvent) line: 1900	
	DeltaProcessingState.resourceChanged(IResourceChangeEvent) line: 431	
	NotificationManager$2.run() line: 290	
	SafeRunner.run(ISafeRunnable) line: 37	
	NotificationManager.notify(ResourceChangeListenerList$ListenerEntry[], IResourceChangeEvent, boolean) line: 284	
	NotificationManager.handleEvent(LifecycleEvent) line: 268	
	Workspace.broadcastEvent(LifecycleEvent) line: 307	
	WorkspaceRoot(Resource).refreshLocal(int, IProgressMonitor) line: 1519	
	ProjectUnzipUtil.createProjects() line: 62	
	TestWorkspace.initProject(ProjectUnzipUtil, String) line: 33	
	TestWorkspace.init() line: 26	
	ExtensionsTest(NavigatorTestBase).setUp() line: 90	
	ExtensionsTest(TestCase).runBare() line: 128	
	TestResult$1.protect() line: 106	
	TestResult.runProtected(Test, Protectable) line: 124	
	TestResult.run(TestCase) line: 109	
	ExtensionsTest(TestCase).run(TestResult) line: 120	
	JUnit3TestReference.run(TestExecution) line: 130	
	TestExecution.run(ITestReference[]) line: 38	
	RemotePluginTestRunner(RemoteTestRunner).runTests(String[], String, TestExecution) line: 467	
	RemotePluginTestRunner(RemoteTestRunner).runTests(TestExecution) line: 683	
	RemotePluginTestRunner(RemoteTestRunner).run() line: 390	
	RemotePluginTestRunner.main(String[]) line: 62	
	UITestApplication$1.run() line: 114	
	RunnableLock.run() line: 35	
	UISynchronizer(Synchronizer).runAsyncMessages(boolean) line: 133	
	Display.runAsyncMessages(boolean) line: 3451	
	Display.readAndDispatch() line: 3098	
	Workbench.runEventLoop(Window$IExceptionHandler, Display) line: 2388	
	Workbench.runUI() line: 2352	
	Workbench.access$4(Workbench) line: 2204	
	Workbench$5.run() line: 499	
	Realm.runWithDefault(Realm, Runnable) line: 333	
	Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 492	
	PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 149	
	IDEApplication.start(IApplicationContext) line: 113	
	UITestApplication.start(IApplicationContext) line: 46	
	EclipseAppHandle.run(Object) line: 194	
	EclipseAppLauncher.runApplication(Object) line: 110	
	EclipseAppLauncher.start(Object) line: 79	
	EclipseStarter.run(Object) line: 368	
	EclipseStarter.run(String[], Runnable) line: 179	
	NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]	
	NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39	
	DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25	
	Method.invoke(Object, Object[]) line: 324	
	Main.invokeFramework(String[], URL[]) line: 556	
	Main.basicRun(String[]) line: 511	
	Main.run(String[]) line: 1270	
	Main.main(String[]) line: 1246
Comment 1 Francis Upton IV CLA 2009-02-06 02:30:32 EST
Created attachment 124929 [details]
Suggested Patch
Comment 2 Jerome Lanneluc CLA 2009-02-06 09:17:16 EST

*** This bug has been marked as a duplicate of bug 261594 ***
Comment 3 Frederic Fusier CLA 2009-03-10 10:01:30 EDT
Verified for 3.5M6 using I20090310-0100.