Bug 149585 - [model] NPE occured in ClasspathValidation.validate()
Summary: [model] NPE occured in ClasspathValidation.validate()
Status: CLOSED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2006-07-04 10:49 EDT by Frederic Fusier CLA
Modified: 2009-08-30 02:09 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 Frederic Fusier CLA 2006-07-04 10:49:55 EDT
Using JDT/Core v_703.

While starting my test workspace with breakpoint on NullPointerException, debugger stops at ClassValidation.validate() line 61 with status == null.

Here's the stack trace:
ClasspathValidation.validate() line: 61	
DeltaProcessor.resourceChanged(IResourceChangeEvent) line: 1867	
DeltaProcessingState.resourceChanged(IResourceChangeEvent) line: 369	
NotificationManager$2.run() line: 282	
SafeRunner.run(ISafeRunnable) line: 37	
NotificationManager.notify(ResourceChangeListenerList$ListenerEntry[], IResourceChangeEvent, boolean) line: 276	
NotificationManager.broadcastChanges(ElementTree, ResourceChangeEvent, boolean) line: 148	
Workspace.broadcastBuildEvent(Object, int, int) line: 240	
AutoBuildJob.doBuild(IProgressMonitor) line: 142	
AutoBuildJob.run(IProgressMonitor) line: 208	
Worker.run() line: 58	

Not sure, but it seems that it is due to synchronized block just before. When perProjectInfo object is locked by another thread, then status is not set...
Comment 1 Jerome Lanneluc CLA 2006-07-07 11:22:04 EDT
Looking at the source, I don't understand how this can happen. Please reopen if you have steps to reproduce.
Comment 2 Jerome Lanneluc CLA 2007-03-09 07:16:56 EST
Closing due to lack of information
Comment 3 Denis Roy CLA 2009-08-30 02:09:44 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.