-
24 Jun 2012 10:09 PM #1
Answered: Cannot call method 'substring' of undefined
Answered: Cannot call method 'substring' of undefined
- QQ截图20120625141038.png[COLOR=red !important]Error evaluating http://localhost:8080/Club16/build/production/app.js with message: TypeError: Cannot call method 'substring' of undefined[/COLOR]
- [COLOR=red !important]G[/COLOR]index.html:56
- [COLOR=red !important]c[/COLOR]index.html:57
- [COLOR=red !important]b[/COLOR]index.html:57
- [COLOR=red !important]D[/COLOR]index.html:60
- [COLOR=red !important]b[/COLOR]index.html:55
- [COLOR=red !important]h.onreadystatechange[/COLOR]
- QQ截图20120625141038.png[COLOR=red !important]Error evaluating http://localhost:8080/Club16/build/production/app.js with message: TypeError: Cannot call method 'substring' of undefined[/COLOR]
-
Best Answer Posted by mitchellsimoens
Usually means that you don't have all the classes you are using required and the xtype isn't found.
-
24 Jun 2012 10:12 PM #2
-
26 Jun 2012 9:59 AM #3Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,641
- Vote Rating
- 434
- Answers
- 3107
Usually means that you don't have all the classes you are using required and the xtype isn't found.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
26 Jun 2012 6:19 PM #4
-
14 Sep 2012 2:09 PM #5Sencha Premium Member
- Join Date
- May 2012
- Location
- General Electric, Foxboro, MA
- Posts
- 45
- Vote Rating
- 3
- Answers
- 1
Mitchell, is there any way to discover what the source of the 'substring' of undefined is? We have dozens of pages with lots of requires, it's really hard to try and determine the source with no feedback at all from the packager... this wasn't a problem with Sencha SDK 2.0, but has cropped up all over the place with 3.0
regards,
-Blayne Watt
Senior Engineer
General Electric
-
13 Feb 2013 7:52 AM #6Sencha Premium Member
- Join Date
- Apr 2012
- Location
- Lausanne, Switzerland
- Posts
- 196
- Vote Rating
- 2
- Answers
- 1
Same problem, no way to automate detection?
Same problem, no way to automate detection?
Same problem, no way to automate detection?



Reply With Quote