return false;\r
GENodeQueryManager manager = new GENodeQueryManager(explorerContext, null, null, TreeItemReference.create(treeItem.getParentItem()));\r
nodeContext = (NodeContext) treeItem.getData();\r
- labeler = manager.query(nodeContext, BuiltinKeys.SELECTED_LABELER);\r
+ if (nodeContext != null)\r
+ labeler = manager.query(nodeContext, BuiltinKeys.SELECTED_LABELER);\r
if (nodeContext == null || !(labeler instanceof LabelerStub))\r
return false;\r
return ((LabelerStub) labeler).shouldCreateToolTip(event, nodeContext);\r