1. #11
    Sencha User
    Join Date
    Apr 2010
    Posts
    2
    Vote Rating
    0
    rogerclan is on a distinguished road

      0  

    Default Stores

    Stores


    For me I was adding a store the stores:[] in both application.js and a controller. Once I removed out of one or the other the issue went away. Don't know if this is the same across the board but it worked for me.

  2. #12
    Sencha Premium Member
    Join Date
    Feb 2010
    Posts
    53
    Vote Rating
    0
    medifirst is on a distinguished road

      0  

    Default


    Same problem with extjs 4.2.1.833 : this error appears only with firefox.
    I try to change the requires order, because when I set only one model in the Application config, it works if the class model is added first in the "requires" configuration.

  3. #13
    Sencha Premium Member
    Join Date
    Aug 2012
    Posts
    9
    Vote Rating
    0
    jholloway7 is on a distinguished road

      0  

    Default Check your app's 'requires' config

    Check your app's 'requires' config


    I was having this problem on Firefox too. The problem turned out to be that I was specifying some 'controllers' in my application config, but I wasn't requiring them. The confusing part is that it would work occasionally, but more often it would not work. It seems there may be a race condition of sorts in the Ext.application function somewhere. I added my controllers to the 'requires' config and now it loads properly every time.

    I'm guessing the same thing happens if you have 'stores' or 'models' configured, but do not 'require' them.