Bug 247554 - NPE in MWTResourceChangeListener
Summary: NPE in MWTResourceChangeListener
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Nab (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Shigeki Moride CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-16 16:18 EDT by Martin Oberhuber CLA
Modified: 2010-10-13 14:25 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2008-09-16 16:18:52 EDT
I've got a Ganymede installation of Eclipse 3.4, TM 3.0.1 and NAB Ganymede.
When working on bug 238703, I created a remote (EFS) project.
On restart of Eclipse in the debugger, I opened and immediately closed the EFS project, provoking the following traceback in the debugger:

MwtResourceChangeListener.resourceChanged(IResourceChangeEvent) line: 163	
NotificationManager$2.run() line: 288	
SafeRunner.run(ISafeRunnable) line: 37	
NotificationManager.notify(ResourceChangeListenerList$ListenerEntry[], IResourceChangeEvent, boolean) line: 282	
NotificationManager.handleEvent(LifecycleEvent) line: 248	
Workspace.broadcastEvent(LifecycleEvent) line: 307	
Project.close(IProgressMonitor) line: 165	
CloseResourceAction.invokeOperation(IResource, IProgressMonitor) line: 218	
CloseResourceAction(WorkspaceAction).execute(List, IProgressMonitor) line: 162	
WorkspaceAction$2.runInWorkspace(IProgressMonitor) line: 483	
WorkspaceAction$2(InternalWorkspaceJob).run(IProgressMonitor) line: 38	
Worker.run() line: 55	


For me it looks like NAB is expecting IResource.getLocation() to always return non-null, which is not true for EFS resources as per 

http://help.eclipse.org/ganymede/topic/org.eclipse.platform.doc.isv/porting/3.2/incompatibilities.html#nonLocalResources