1. #1
    Sencha Premium Member
    Join Date
    Apr 2011
    Posts
    4
    Vote Rating
    0
    teruma is on a distinguished road

      0  

    Default 4.1beta2 IE8 runtime error?

    4.1beta2 IE8 runtime error?


    I used ExtJS4.1b2 with IE8 and encountered the runtime error.
    It's a problem of the framework


    ext-all-debug.js
    line 16116


    Microsoft JScript runtime error: 'null' is null or not an object


    Code:
    16107 if (Ext.isIEQuirks || Ext.isIE && Ext.ieVersion <= 8){
    16108     Ext.Array.forEach('Top Right Bottom Left'.split(' '), function(side){
    16109         var borderWidth = 'border' + side + 'Width',
    16110             borderStyle = 'border' + side + 'Style';
    16111 
    16112         Ext.dom.Element.prototype.styleHooks['border-' + side.toLowerCase() + '-width'] = {
    16113             name: borderWidth,
    16114             get: function (dom) {
    16115                 var currentStyle = dom.currentStyle;
    16116                 if (currentStyle[borderStyle] == 'none'){
    16117                     return '0px';
    16118                 }
    16119                 return currentStyle[borderWidth];
    16120             }
    16121         };
    16122     });
    16123 }

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,798
    Vote Rating
    834
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    What code were you running when this happened?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha Premium Member
    Join Date
    Apr 2011
    Posts
    4
    Vote Rating
    0
    teruma is on a distinguished road

      0  

    Default


    sorry.
    Apparently, it seems to have been my problem.
    I was making the portlet using highcharts based on the portal application of the example.
    It occurred when Ext.Panel was used.
    However, it operated well when Ext.Container was used.

    My means is uncertain.

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Posts
    1
    Vote Rating
    0
    daniel.locus is on a distinguished road

      0  

    Default same problem i met.

    same problem i met.


    by debugging it I see the dom.currentStyle value doesnt set to the variable, there for the next line variable currentStyle is null and thus throw out exception. the wierd thing is, I added a breakpoint and dom.currentStyle is null, but after the dom.currentStyle been watched, it generates a value. I've never seen this before, guess there is something hidden in the dom function.

    My solution is adding a patch:

    if(!currentStyle || currentStyle[borderStyle]=='none'){
    ...
    }

    not sure it is correct but at least the code runs smoothly now.

  5. #5
    Sencha Premium Member
    Join Date
    Apr 2011
    Posts
    4
    Vote Rating
    0
    teruma is on a distinguished road

      0  

    Default


    Thank you for the valuable information.
    The patch was applied, and it came to operate smoothly

  6. #6
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,585
    Vote Rating
    322
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    I just checked beta-3 and it seems that the code in question no longer exists. You may wish to test against that version.

  7. #7
    Sencha Premium Member
    Join Date
    Apr 2011
    Posts
    4
    Vote Rating
    0
    teruma is on a distinguished road

      0  

    Default


    Thank you.
    It began to test beta-3. It goes well it

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