Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.
  1. #1
    Sencha User
    Join Date
    Apr 2011
    Posts
    18
    Vote Rating
    1
    utkarshgaur is on a distinguished road

      0  

    Default [4.2.0-489] Ext.Component - setLoading generates error

    [4.2.0-489] Ext.Component - setLoading generates error


    I tried to update my app from 4.1 to 4.2.0-489 and a basic function - setLoading causes my app to crash.

    Sample code to reproduce error:

    Code:

    Code:
        var w = Ext.create('Ext.window.Window', {
            height : 400,
            width : 400,
        }).show();
        
        w.setLoading(true);
    Output:
    ext-all-debug.js:39929 : Cannot call method 'mask' of null

    Expected Output:

    A loading mask on the window.

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,791
    Vote Rating
    599
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    I can't reproduce this. I copied your code exactly against the 4.2.0-489 build, no errors and I see the mask show up. All I did was replace the contents of array-grid.html with your code, inside of an onReady block:

    Code:
    Ext.onReady(function() {
    
        var w = Ext.create('Ext.window.Window', {
            height: 400,
            width: 400
        }).show();
    
        w.setLoading(true);
    
    });
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User
    Join Date
    Apr 2011
    Posts
    18
    Vote Rating
    1
    utkarshgaur is on a distinguished road

      0  

    Default


    Sorry, someone in my team had overwritten the LoadMask class which was breaking. I'll delete this thread. Thanks for the quick reply though!

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