Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 336051

Summary: NPE in CProjectDescriptionManager.notifyListeners
Product: [Tools] CDT Reporter: T Kruse <thibault.kruse>
Component: cdt-coreAssignee: Project Inbox <cdt-core-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact: Doug Schaefer <cdtdoug>
Severity: normal    
Priority: P3 CC: jamesblackburn+eclipse
Version: 8.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
stack trace, .project, .cproject none

Description T Kruse CLA 2011-02-02 05:53:07 EST
Build Identifier: M20100909-0800

java.lang.NullPointerException
at org.eclipse.cdt.internal.core.settings.model.CProjectDescriptionManager.notifyListeners(CProjectDescriptionManager.java:2169)

Reproducible: Didn't try

Steps to Reproduce:
Closed a specific c project, reopened.
Happened every time I did it with this project.
Other c project closed and reopened without exception. Sorry cannot provide project.

When starting eclipse with project opened already, no problem.
Comment 1 T Kruse CLA 2011-02-02 05:54:49 EST
Created attachment 188122 [details]
stack trace, .project, .cproject

hope that helps
Comment 2 T Kruse CLA 2011-02-02 10:58:59 EST
Sorry, this was running with GJC as JRE.

When using sun-6-jre, the problem did not appear.

So feel free to delete bug or reduce importance.
Comment 3 James Blackburn CLA 2011-02-02 11:15:50 EST
Shouldn't be possible. The concurrent Collection always contains concrete ListenerDescriptor classes. Probably a non-conformant JVM.