Bug 35632 - NPE in DeltaProcessor
Summary: NPE in DeltaProcessor
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M2   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-25 04:41 EST by Philipe Mulet CLA
Modified: 2003-07-17 05:34 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 Philipe Mulet CLA 2003-03-25 04:41:08 EST
Build 2.1RC3b

Launched a massive plugins import last night, and workspace was locked this 
morning. I found the followig NPE in the log.

!ENTRY org.eclipse.core.resources 4 2 Mar 24, 2003 16:14:53.372
!MESSAGE Problems occurred when invoking code from plug-
in: "org.eclipse.core.resources".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.jdt.internal.core.DeltaProcessor.traverseDelta
(DeltaProcessor.java:1856)
	at org.eclipse.jdt.internal.core.DeltaProcessor.processResourceDelta
(DeltaProcessor.java:1456)
	at org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged
(DeltaProcessor.java:1722)
	at org.eclipse.core.internal.events.NotificationManager$1.run
(NotificationManager.java:137)
	at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.java:937)
	at org.eclipse.core.runtime.Platform.run(Platform.java:413)
	at org.eclipse.core.internal.events.NotificationManager.notify
(NotificationManager.java:152)
	at org.eclipse.core.internal.events.NotificationManager.broadcastChanges
(NotificationManager.java:67)
	at org.eclipse.core.internal.resources.Workspace.broadcastChanges
(Workspace.java:161)
	at org.eclipse.core.internal.resources.Workspace.endOperation
(Workspace.java:892)
	at org.eclipse.core.internal.resources.Workspace.run
(Workspace.java:1600)
	at org.eclipse.pde.internal.ui.wizards.imports.PluginImportWizard$2.run
(PluginImportWizard.java:185)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run
(ModalContext.java:101)
Comment 1 Philipe Mulet CLA 2003-03-25 09:47:44 EST
Cannot reproduce
Comment 2 Rafael Chaves CLA 2003-03-31 12:15:20 EST
2.1

+1... same stack trace (but no freezing at all), probably during importing 
plug-ins as binary projects, no sucess trying to reproduce it.
Comment 3 Philipe Mulet CLA 2003-06-17 07:16:51 EDT
Suspect deadlock has nothing to do with this issue.
Comment 4 Philipe Mulet CLA 2003-06-17 07:22:34 EDT
Deadlock had probably nothing to do with NPE.
Comment 5 Jerome Lanneluc CLA 2003-07-08 09:02:15 EDT
Changed delta processing to use a PerThreadObject. This should avoid the 
concurrency problem.

Please reopen if you see the problem again.
Comment 6 David Audel CLA 2003-07-17 05:34:56 EDT
Verified.