1. #11
    Sencha Premium Member
    Join Date
    Nov 2007
    Location
    Moore, Oklahoma
    Posts
    464
    Vote Rating
    13
    Mthor will become famous soon enough

      0  

    Default


    had this problem found this thread!!!!!! thanks guys, I had a little different problem. I had the stores and models referenced but my models files were below my stores, moved them above the stores and all worked!!

  2. #12
    Ext JS Premium Member
    Join Date
    Jun 2011
    Location
    Portland, Oregon
    Posts
    72
    Vote Rating
    1
    brocktopia is on a distinguished road

      0  

    Default MVC app

    MVC app


    I was running into this same error trying to load a store in the main app.js instance using the MVC layout. It was an autoLoad store just pulling in a static configuration JSON file. I moved into one of my controllers and that fixed the problem for me. I think it was just trying to instantiate the store before all of the classes had loaded.

  3. #13
    Sencha User
    Join Date
    Oct 2011
    Posts
    15
    Vote Rating
    0
    Simon Tomlin is on a distinguished road

      0  

    Default Using the MVC

    Using the MVC


    I had this problem and using this thread plus the MVC example it turned out to be forgetting to add the model to the controller definition :- missing code in red - simple but I missed it so thanks for the tips.

    Ext.define('BTT.controller.BattleMap', {
    extend: 'Ext.app.Controller',
    views: [
    'BattleMap'
    ],
    refs: [
    {
    ref: 'battlemap',
    selector: 'battlemapview'
    }
    ],
    stores: [
    'Battlefield'
    ],
    models: ['Unit'],


    init: function() {
    //.............

  4. #14
    Sencha User
    Join Date
    Sep 2011
    Location
    China
    Posts
    8
    Vote Rating
    0
    losingrose is on a distinguished road

      0  

    Question


    This issue always caused by 'jsonReader' cannot prase the server response data.
    What a pity,the 'jsonReader' do not have a errorEvent to catch the 'json prase' issue.

    Whether we can add a errorEvent to catch all error of reader in store in the near future?

  5. #15
    Sencha User
    Join Date
    Oct 2011
    Posts
    9
    Vote Rating
    0
    farocam is on a distinguished road

      0  

    Default


    I had the same issue. The problem was setting the autoLoad variable to TRUE in the store definition. I commented it out and the error dissapeared.

Similar Threads

  1. Replies: 4
    Last Post: 3 Aug 2011, 2:54 PM
  2. Uncaught TypeError: Cannot read property 'length' of undefined
    By a2rdvark in forum Sencha Touch 1.x: Discussion
    Replies: 5
    Last Post: 23 Dec 2010, 3:48 PM
  3. IndexBar ( Uncaught TypeError: Object has no method 'getItemId' )
    By ushiday in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 14 Oct 2010, 7:53 PM
  4. Uncaught TypeError: Object #<an Object> has no method 'addEvents'
    By busybee in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 6 Oct 2010, 2:34 AM
  5. Replies: 1
    Last Post: 18 Jun 2010, 12:54 AM

Thread Participants: 10

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