1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    9
    Vote Rating
    0
    Satakshi is on a distinguished road

      0  

    Default Cannot run the application in IE8

    Cannot run the application in IE8


    I have a project in EXT JS 4.0, which uses MVC architecture. Now I am trying to move that from 4.0 to 4.1.
    The problem I am facing now is, the application is not at all running. It is giving the following errors:

    Message: 'undefined' is null or not an object
    Line: 54134
    Char: 9
    Code: 0
    Message: The following classes are not declared even if their files have been loaded: ''. Please check the source code of their corresponding files for possible typos: '
    Line: 9654
    Char: 17
    Code: 0
    The code is giving at least a view (which is not the same with the previous version) in FireFox.

    Please suggest.

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,169
    Vote Rating
    674
    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


    Check your code for trailing commas:

    Code:
    var foo = [a, b, c,]; // bad
    
    Ext.define('Foo', {
        a: 1,
        b: 2,
        c: 3, // bad
    });
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1