1. #11
    Ext JS Premium Member
    Join Date
    Mar 2008
    Location
    Phoenix, AZ
    Posts
    627
    Vote Rating
    9
    zombeerose will become famous soon enough zombeerose will become famous soon enough

      0  

    Default


    I am getting the same error
    Code:
    TypeError: 'undefined' is not an object
    Line: 0
    Source: undefined
    when running the SDK against Ext 4.0.5.

    My command for Ext 4.0.4 runs cleanly:
    Code:
    /cygdrive/c/PROGRAMMER/SenchaSDKTools-1.2.2/command/sencha.bat slice theme -v -d htdocs\\includes\\library\\extjs\\ext-4.0.4 -c htdocs\\includes\\library\\extjs\\my\\resources\\css\\theme.css -o htdocs\\includes\\library\\extjs\\ext-4.0.4/resources\\themes\\images\\my\\
    But the Ext 4.0.5 command fails:
    Code:
    /cygdrive/c/PROGRAMMER/SenchaSDKTools-1.2.2/command/sencha.bat slice theme -v -d htdocs\\includes\\library\\extjs\\ext-4.0.5 -c htdocs\\includes\\library\\extjs\\my\\resources\\css\\theme.css -o htdocs\\includes\\library\\extjs\\ext-4.0.5/resources\\themes\\images\\my\\
    The double backslashes are necessary.

  2. #12
    Sencha User
    Join Date
    Aug 2008
    Posts
    99
    Vote Rating
    6
    FoxMulder900 is on a distinguished road

      0  

    Default


    Ok, I am getting this exact same error, I have tried both the URL and just index.html. Does this mean I am missing an Ext.require somewhere? If so how do I tell where to look?

    The only warning I get in my console when my page loads is "Store defined with no model. You may have mistyped the model name." my understanding was this warning is from having a TreeStore and will supposedly be fixed in 4.1 but could it have anything to do with my build error?

  3. #13
    Ext JS Premium Member stevil's Avatar
    Join Date
    Nov 2007
    Location
    Denver, CO
    Posts
    1,045
    Vote Rating
    9
    stevil will become famous soon enough

      0  

    Default


    @zombeerose,

    4.0.6 just dropped today, and fixed this problem for me.

    stevil

  4. #14
    Sencha Premium Member
    Join Date
    Mar 2011
    Posts
    10
    Vote Rating
    0
    Dehru is on a distinguished road

      0  

    Default This solution solved it for us

    This solution solved it for us


    We had a few lines of javascript above the Ext.application({...}) in our app.js file. For us, this produces the error. When we removed those lines it solved our problem.

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

      0  

    Thumbs up I got the same.. And I fixed it

    I got the same.. And I fixed it


    Hiii...
    I am new to extJs. I also got the same error message Undefined is not an Object. When I checked in detail the xtype I gave was incorrect. I believe this error occurs when U gave an incorrect xtype.

    Regards

  6. #16
    Sencha Premium Member
    Join Date
    Mar 2011
    Posts
    10
    Vote Rating
    0
    Dehru is on a distinguished road

      0  

    Default Often, The Error Can Be Ignored

    Often, The Error Can Be Ignored


    I have found that the error is produced when I use a static html file vs one served from http:// But the jsb3 file is fine.

    I get the error from this command:

    Code:
    sencha create jsb -a index.html -p app.jsb3

    But not this command using http://:
    Code:
    sencha create jsb -a http://localhost:9090/app/index.html -p app.jsb3

    But in both cases, the jsb3 file is fine. I didn't realize this at first...I assumed the error caused a failure to build the file.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar