View Full Version : Nullpointer exception in TreeGrid.isExpanded(M model)

16 Mar 2011, 1:11 PM
TreeGrid.isExpanded(M model) is not protected from NullPointerException if it is called with a model that doesn't exists in the grid.

public boolean isExpanded(M model) {
TreeNode node = findNode(model);
return node.isExpanded();

If node is null then we have an exception.

16 Mar 2011, 9:38 PM
Thanks for this information. This is a known issue and will be fixed within one of the next releases.