1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 01:06:01 +02:00
cdt/qt/org.eclipse.cdt.qt.core
Andrew Eidsness da09460352 Bug 437525: NPE in QMakeProjectInfoManager
This fixes the NPE but not the underlying reason for the Qt plugin to be
activated.  I think that might be happening because of the Codan checker
-- from what I recall, that extension point doesn't have a way to
prevent plugin activation.

The NPE is fixed by checking CACHE for null before using it.  The #stop
method unregisters and sets CACHE to null.  However, unregistering
doesn't prevent notifications that are already in flight.  I suspect
that notification arrives, and then CACHE is null.

My test workspace would throw the NPE on every exit, with this change it
never does.

Change-Id: I01360a4c19c85fba53269d265948daf6d083c8d1
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/28751
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-07 10:23:45 -04:00
..
.settings Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
META-INF Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
schema Bug 422797 - API for retrieving QMake information from Qt project 2013-11-28 23:33:42 -05:00
src/org/eclipse/cdt Bug 437525: NPE in QMakeProjectInfoManager 2014-07-07 10:23:45 -04:00
templates/project/Qt5 Bug 425938 - Make Qt5 template work with 5.2. Remove Qt4 template. 2014-01-17 10:06:53 -05:00
.classpath Enabled JDK 1.7. 2014-01-24 13:38:55 -05:00
.project Added support for Qt. Extended AddFiles template to change start/end 2013-01-12 00:57:49 -05:00
about.html Added support for Qt. Extended AddFiles template to change start/end 2013-01-12 00:57:49 -05:00
build.properties Fix Qt core plugin's provider and plug-in names 2014-01-14 09:53:09 -05:00
plugin.properties Fix Qt plugin's project structure 2013-12-12 11:12:13 -05:00
plugin.xml Bug 425938 - Make Qt5 template work with 5.2. Remove Qt4 template. 2014-01-17 10:06:53 -05:00
pom.xml Bumped up CDT version to 8.4. 2014-01-21 17:35:29 -05:00