id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blocking	blockedby
6925	".empty() sometimes will throw an ""'events' is null or not an object"" error in Internet Explorer"	vinay		"The bug can be recreated by going to http://lispclub.com/~vinay/jquery_ie_events_bug.html and clicking 'Offering type' in Internet Explorer, and then the ""next"" button on the overlay window that pops up (please forgive the styling and lack of problem reduction, in a big hurry.) This is an issue at least on IE 8, but the problem does not show up in chrome or firefox.

The error dialog states (on non-minified jquery 1.4.2):
""A Runtime Error has occured. Do you wish to Debug? Line: 4519  Error: 'events' is null or not an object""

Looking at the stack trace, this is caused by the .empty() on line 72 of jquery_ie_events_bug.html.

I was able to fix this bug by changing line 4519 of non-minified jquery 1.4.2 from
if ( data.events != null) {
to
if ( data && data.events != null) {

This fix was just a hack and I don't know the root cause.

Hope this helps... looks like this could be causing problems for others as well (http://forum.jquery.com/topic/load-using-tabsselect-causes-events-is-null-error-in-ie-urgent-help-needed)"	bug	closed	undecided	1.4.3	unfiled	1.4.2	fixed				
