expand collapse and expand a server, you get a assertion failed.resolution: this is actually a bug in the implementation of swt. when you quickly try to collapse and expand (or vice versa) a node from a tree, an empty selection is returned. resolved by checking if no element has been selected.