1. #1
    Sencha User
    Join Date
    Mar 2009
    Posts
    39
    Vote Rating
    0
    ionut.rachita is on a distinguished road

      0  

    Default 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.

    Code:
    public boolean isExpanded(M model) {
        TreeNode node = findNode(model);
        return node.isExpanded();
      }
    If node is null then we have an exception.

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    Thanks for this information. This is a known issue and will be fixed within one of the next releases.

Similar Threads

  1. Exception / Error Handling for Model?
    By wizkid in forum Ext: Discussion
    Replies: 1
    Last Post: 8 Mar 2011, 5:51 AM
  2. [FNR] Chart: Bind empty store giving a nullpointer exception
    By MartinElkjaer in forum Ext GWT: Bugs (2.x)
    Replies: 21
    Last Post: 15 Jul 2010, 6:53 AM
  3. Replies: 2
    Last Post: 10 Dec 2009, 9:23 AM

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi