Community
Participate
Working Groups
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)
Cannot reproduce
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.
Suspect deadlock has nothing to do with this issue.
Deadlock had probably nothing to do with NPE.
Changed delta processing to use a PerThreadObject. This should avoid the concurrency problem. Please reopen if you see the problem again.
Verified.