PDA

View Full Version : Object Required error in Ext-all.js



balaji1_1
13 Sep 2010, 7:37 AM
Hello,

Im using EXTJS 3.2 Javascript libraries. Upon loading the page in IE8, getting the following javascript errors with all pointed to the ext related files. Is there any specific files that Im missing in my include.

Javascript Error:

Webpage error details




User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; MALC)
Timestamp: Mon, 13 Sep 2010 15:30:24 UTC


Message: Object required
Line: 15
Char: 164350
Code: 0
URI: http://localhost:82/ext/ext-all.js


Message: 'dom' is null or not an object
Line: 7
Char: 125699
Code: 0
URI: http://localhost:82/ext/ext-all.js


Message: 'dom' is null or not an object
Line: 7
Char: 125699
Code: 0
URI: http://localhost:82/ext/ext-all.js


Message: 'dom' is null or not an object
Line: 7
Char: 125699
Code: 0
URI: http://localhost:82/ext/ext-all.js


Message: 'dom' is null or not an object
Line: 7
Char: 125699
Code: 0
URI: http://localhost:82/ext/ext-all.js


Message: 'dom' is null or not an object
Line: 7
Char: 125699
Code: 0
URI: http://localhost:82/ext/ext-all.js


Message: 'dom' is null or not an object
Line: 7
Char: 125699
Code: 0
URI: http://localhost:82/ext/ext-all.js


Message: 'dom' is null or not an object
Line: 7
Char: 125699
Code: 0
URI: http://localhost:82/ext/ext-all.js


Message: 'dom' is null or not an object
Line: 7
Char: 125699
Code: 0
URI: http://localhost:82/ext/ext-all.js


Message: 'dom' is null or not an object
Line: 7
Char: 125699
Code: 0
URI: http://localhost:82/ext/ext-all.js


Message: 'dom' is null or not an object
Line: 7
Char: 125699
Code: 0
URI: http://localhost:82/ext/ext-all.js


Message: 'dom' is null or not an object
Line: 7
Char: 125699
Code: 0
URI: http://localhost:82/ext/ext-all.js

14 Sep 2010, 5:04 AM
that's pretty generic. Maybe you should consider looking at your app's code. If this doesn't happen in the examples, you're doing something wrong.

Condor
14 Sep 2010, 6:04 AM
1. Errors from ext-all.js are useless. Use ext-all-debug.js for development.
2. Run your code through jslint.com to check for any javascript syntax errors (trailing comma?).