PDA

View Full Version : Object required ext-all.js, line 7 character 193896



smkkiran
7 Jan 2013, 2:27 AM
hi,
i am getting this error " Object required ext-all.js, line 7 character 193896" but nor every time but its replicating in several cases "j=k.dom.firstChild.offsetWidth" this is the code in ext-all.js giving error can any one tell me what can be the issue

thanks in advance

willigogs
7 Jan 2013, 3:51 AM
It will be an error in your own code, which is then dropping through to error inside ext-all.js.

This will either be a trailing comma, or incorrectly closed / unclosed tag in your JS.

smkkiran
7 Jan 2013, 3:55 AM
no syntax error in the code as i see if any syntax error it has to show in console like expected ")" or smthing like this. but this error is no replicating for again but for different component showing error at this line

as i debugged and saw while doLayout() its throwing error

willigogs
7 Jan 2013, 4:52 AM
no syntax error in the code as i see if any syntax error it has to show in console like expected ")" or smthing like this.
Not always.

Without seeing any code, this is almost impossible to diagnose.

You would need to provide either code snippets, or preferably a cut down working example for us to look at.

smkkiran
7 Jan 2013, 5:40 AM
i got ur point but its totally huge code more than 30 pages available in the project..... :)

wm003
8 Jan 2013, 1:25 AM
do the first step and use ext-all-debug.js. So you will probably get an own idea, what the problem is, just because you will get the exact codeline where base library sees any unexpected problems