-
16 Mar 2011 1:11 PM #1
Nullpointer exception in TreeGrid.isExpanded(M model)
Nullpointer exception in TreeGrid.isExpanded(M model)
TreeGrid.isExpanded(M model) is not protected from NullPointerException if it is called with a model that doesn't exists in the grid.
If node is null then we have an exception.Code:public boolean isExpanded(M model) { TreeNode node = findNode(model); return node.isExpanded(); }
-
16 Mar 2011 9:38 PM #2
Thanks for this information. This is a known issue and will be fixed within one of the next releases.
Similar Threads
-
Exception / Error Handling for Model?
By wizkid in forum Ext: DiscussionReplies: 1Last Post: 8 Mar 2011, 5:51 AM -
[FNR] Chart: Bind empty store giving a nullpointer exception
By MartinElkjaer in forum Ext GWT: Bugs (2.x)Replies: 21Last Post: 15 Jul 2010, 6:53 AM -
Live Group Summary : NullPointer exception when no groupBy parameter is present
By IHB1 in forum Ext GWT: DiscussionReplies: 2Last Post: 10 Dec 2009, 9:23 AM


Reply With Quote