1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00
cdt/qt
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
..
org.eclipse.cdt.qt-feature Bug 435998 - Remove 'updateSiteName' string as they are not used 2014-06-18 15:54:57 -04:00
org.eclipse.cdt.qt.core Bug 437525: NPE in QMakeProjectInfoManager 2014-07-07 10:23:45 -04:00
org.eclipse.cdt.qt.tests Added project-specific Java compiler settings. 2014-05-21 11:04:30 -07:00
org.eclipse.cdt.qt.ui Bug 432701 - Move code that determines the value of an initializer to SemanticUtil 2014-05-14 12:27:57 -04:00