-
27 Jul 2011 9:30 AM #11
I am getting the same error
when running the SDK against Ext 4.0.5.Code:TypeError: 'undefined' is not an object Line: 0 Source: undefined
My command for Ext 4.0.4 runs cleanly:
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.4 -c htdocs\\includes\\library\\extjs\\my\\resources\\css\\theme.css -o htdocs\\includes\\library\\extjs\\ext-4.0.4/resources\\themes\\images\\my\\
The double backslashes are necessary.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\\
-
31 Aug 2011 12:10 PM #12
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?
-
31 Aug 2011 12:26 PM #13
@zombeerose,
4.0.6 just dropped today, and fixed this problem for me.
stevil
-
28 Sep 2011 11:56 AM #14
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.
-
18 Oct 2011 11:56 PM #15
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
-
19 Oct 2011 7:29 AM #16
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.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote