DoubleClick on the ToolWindow causes NullPointerException if no nodes are selected in the Tree. Return immediately if this is detected.