diff --git a/platform/xdebugger-testFramework/src/com/intellij/xdebugger/XDebuggerTestUtil.java b/platform/xdebugger-testFramework/src/com/intellij/xdebugger/XDebuggerTestUtil.java index dceddc11824f..65d9ffd70147 100644 --- a/platform/xdebugger-testFramework/src/com/intellij/xdebugger/XDebuggerTestUtil.java +++ b/platform/xdebugger-testFramework/src/com/intellij/xdebugger/XDebuggerTestUtil.java @@ -400,7 +400,8 @@ public class XDebuggerTestUtil { assertEquals(name, node.myName); } if (typePattern != null) { - assertTrue("Expected type: " + typePattern + " Actual type: " + node.myType, node.myType.matches(typePattern)); + assertTrue("Expected type: " + typePattern + " Actual type: " + node.myType, + node.myType != null && node.myType.matches(typePattern)); } }