Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Jun 2009
    Posts
    2
    Vote Rating
    0
    jani is on a distinguished road

      0  

    Default [FIXED] GXT 2.0 m3: TreeGrid node collapse NullPointerException

    [FIXED] GXT 2.0 m3: TreeGrid node collapse NullPointerException


    Host mode GXT 2.0 m3

    If you expand TridGree node and add an item to it, the node fails to close again.

    If you press the button before expanding node - works as expected.
    If you expand the node first and the press the button you can't collapse it anymore due to NullPointerException at TreeGrid$TreeNode.access$0(TreeGrid.java:56)

    TreePanel works correctly in this scenario.

    Quick test for the problem: (modify TreeGridExample.java to add a button)

    Code:
        ...
        cp.add(tree);
        Button addDataButton = new Button();
        addDataButton.setText("Add a node");
        addDataButton.addSelectionListener(new SelectionListener<ButtonEvent>(){
            @Override
            public void componentSelected(ButtonEvent ce)
            {
                List<ModelData> rootItems = store.getRootItems();
                ModelData firstRoot = rootItems.get(0);
                Music test = new Music("A song that causes trouble", "Test", "Tester");
                store.add(firstRoot, test, false);
            }});
        add(addDataButton);
        add(cp);  
      }  
    }
    Last edited by darrellmeyer; 23 Jun 2009 at 1:29 PM. Reason: Forgot to add version number and mode

  2. #2
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    Thanks for the sample code. This is fixed in SVN.

Thread Participants: 1

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