1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 07:35:24 +02:00

[fix][175160] RSE Unit Tests fail in I20070222-1133 and I20070223-0730

This commit is contained in:
Uwe Stieber 2007-02-23 14:56:27 +00:00
parent f5cd34df3f
commit efb5039f61

View file

@ -268,7 +268,9 @@ public class SystemViewLabelAndContentProvider extends LabelProvider
}
if (supportsDeferredQueries())
{
if (manager != null && adapter.supportsDeferredQueries())
// The adapter needs to be checked to be not null, otherwise
// we run into an NPE here.
if (manager != null && adapter != null && adapter.supportsDeferredQueries())
{
ISubSystem ss = null;
if (object instanceof IContextObject)