Skip to main content

Bug Tracker

Side navigation

#6828 closed bug (invalid)

Opened July 26, 2010 10:26PM UTC

Closed July 27, 2010 02:47AM UTC

Last modified March 15, 2012 01:40PM UTC

IE8 reports: 'null' is null or not an object (caused by indexing null as an array)

Reported by: gravious Owned by:
Priority: Milestone: 1.4.3
Component: unfiled Version: 1.4.2
Keywords: 'null' is null or not an object Cc:
Blocked by: Blocking:
Description

IE8 reports: 'null' is null or not an object

On line 1919 of jquery-1.4.2.js:

var events = jQuery.data(this, "events"), handlers = events[ event.type ];

Line 2681 of jquery-1.3.2.js fixes the problem:

handlers = ( jQuery.data(this, "events") || {} )[event.type];

Or:

var events = jQuery.data(this, "events");

if (events!=null) var handlers = events[ event.type ];

Attachments (0)
Change History (2)

Changed July 27, 2010 02:47AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

Please reopen with a test case demonstrating how this problem occurs.

Changed August 01, 2010 08:15PM UTC by gravious comment:2

The problem turned out to be an old version of Interface elements for jQuery. I've switched to the development version of jQuery UI.