Ticket #1071 (closed bug: fixed)
this.$events is null
| Reported by: | offwhite | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | 1.1.3 |
| Component: | event | Version: | 1.1.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
While using the ready event I am getting a null exception in MSIE 6.
The error is on line 1291.
var c = this.$events[event.type];
When I go into the Visual Studio debugger the watch shows all of the variables are defined so it does not explain why the error is being raised. I plan to check for null and return from the method to avoid the exception.
Change History
comment:2 Changed 6 years ago by m9x
I have the same problem and seems here is one guy who have found the solution: http://www.nabble.com/IE6-ASP.NET-error-from-document.onload:-'this.events'-is-null-t2356326.html
I experiencing this problem when testing page with jQuery from the HtmlUnit, page load when jQuery is present on the page.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Can you provide some more details concerning this? Do you have a sample page that we can look at, where this occurs?