PDA

View Full Version : Error: 'events' is null or not and object



Syed Huda
16 Dec 2010, 3:45 PM
I've been testint EXTJS in firefox w/o a problem.

Now I'm trying to use in IE, and I get the following error:
Error: 'events' is null or not and object

Not sure where to begin debugging this.
I'm on EXTJS 3.1.1

Can anyone provide ANY guidance on this??

steffenk
16 Dec 2010, 4:22 PM
what do you expect? If you got an error you get also file and linenumber, so debug in FF to find out what happens.
Is "events" part of your code? Then show us the relevant code ;)

evant
16 Dec 2010, 7:37 PM
Most likely an extra comma:



items: [{},{},{},]

same66
17 Dec 2010, 12:42 AM
Hi, i've got the same error with IE...

When i add a listener with an event, the error is display...

If you know why, or if you know this problem, please help !

Thanks :)

Syed Huda
17 Dec 2010, 5:46 AM
Yeah, I figured it out yesterday and it is due to extra commas or missing semicolons that Firefox allows but IE doesn't.
This thread helps alot:

http://www.sencha.com/forum/showthread.php?37471-events-is-null-or-not-an-object