Bug 264095 - NPE refreshing external referneces
Summary: NPE refreshing external referneces
Status: VERIFIED DUPLICATE of bug 261594
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: 3.5 M6   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-08 14:57 EST by Jeff McAffer CLA
Modified: 2009-03-10 10:01 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 Jeff McAffer CLA 2009-02-08 14:57:49 EST
in M5 I was working along changing things in my target (which is actually a projct in my workspace) and refreshing stuff and I got the following exception in my log.  This was only noticed afterwards so the exact steps are unclear.

About the smae time I noticed that the Package explorer was missing some content under certain folders.  Not sure if that is releated but basically all the folders that had errors or problems had no content under them in the Package Explorer (though they did have content in the Project explorer).

eclipse.buildId=I20090202-1535
java.version=1.6.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments:  -showlocation
Command-line arguments:  -os win32 -ws win32 -arch x86 -console -consolelog -showlocation


Error
Sun Feb 08 14:34:52 EST 2009
Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".

java.lang.NullPointerException
at org.eclipse.jdt.internal.core.ExternalFoldersManager.refreshReferences(ExternalFoldersManager.java:263)
at org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged(DeltaProcessor.java:1900)
at org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(DeltaProcessingState.java:431)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:290)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:284)
at org.eclipse.core.internal.events.NotificationManager.handleEvent(NotificationManager.java:268)
at org.eclipse.core.internal.resources.Workspace.broadcastEvent(Workspace.java:307)
at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1519)
at org.eclipse.ui.actions.RefreshAction.refreshResource(RefreshAction.java:292)
at org.eclipse.ui.actions.RefreshAction$2.execute(RefreshAction.java:245)
at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
at org.eclipse.jdt.ui.actions.RefreshAction$WrappedWorkbenchRefreshAction.run(RefreshAction.java:112)
at org.eclipse.jdt.ui.actions.RefreshAction.performRefresh(RefreshAction.java:190)
at org.eclipse.jdt.ui.actions.RefreshAction.access$0(RefreshAction.java:185)
at org.eclipse.jdt.ui.actions.RefreshAction$1.run(RefreshAction.java:179)
at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:721)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4662)
at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:92)
at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter$1.run(WorkbenchRunnableAdapter.java:107)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Comment 1 Francis Upton IV CLA 2009-02-08 15:01:42 EST

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