mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix NPE in tests
This commit is contained in:
+1
-1
@@ -160,7 +160,7 @@ public abstract class ComponentManagerImpl extends UserDataHolderBase implements
|
||||
//}
|
||||
|
||||
synchronized (this) {
|
||||
if (!myComponentsRegistry.containsInterface(interfaceClass)) {
|
||||
if (myComponentsRegistry == null || !myComponentsRegistry.containsInterface(interfaceClass)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user