12 Jul 2013 12:27 PM #1
all-classes.js is throwing error-Uncaught TypeError: Cannot read property 'prototype
I am building the all-classes.js using the following command - sencha compile -classpath=ext/src,app page -in index.jsp -o build/index.jsp. After that I am getting the all-classes.js file.
But while running the application with all-classes.js included, it is throwing an JS error as below.
Uncaught TypeError: Cannot read property 'prototype' of undefined
14 Jul 2013 3:01 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Sounds like a class wasn't required. Have you debugged to follow the code to see what it's trying?Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
15 Jul 2013 10:36 AM #3
Can you run your application:
- with an autoloader configuration,
- using ext-dev.js instead of ext-debug.js
to log with greater detail?