25 Nov 2011 3:21 AM #1
Unanswered: ExtJS an IE9 don't work
I've created a Site with ExtJs. In Firefox 8 everything works. Firebug reports no error.
When I try to open the Site in IE9 NOTHING works!
I got only error messages (in ext-all.js)!
What can I do?
Thanks a lot
25 Nov 2011 4:25 AM #2
First error message
The first message is:
(The object "events" is NULL or undefined)
Meldung: Für die Eigenschaft "events" kann kein Wert abgerufen werden: Das Objekt ist Null oder undefiniert
29 Nov 2011 12:39 PM #3
Check your code!
1 Dec 2011 12:45 PM #4
NULL type messages can be caused by an invalid JSON result.
Without knowing more it will be dificult to diagnose, however I have seen similar NULL failures when and RPC call attempts to return a NULL object reference. If your site is accessing a JSON service at the time of the failure you might want to put yoru server side code in debug mode and make sure that you are not returning a null reference.
8 Dec 2011 7:51 AM #5
I posted in this thread first :
If someone can find a real solution here that would be great, I'm working on professional applications and can't allow this kind of error. It make the application totally unusable.
8 Dec 2011 11:15 AM #6
Found a solution
I found the solution:
I've to care for every comma in the code. While Firefox has no problem with it in IE9 nothing works.
And I've changed from ext-all-debug.js to ext-all.js. There are some errors in the debug version.
9 Dec 2011 1:11 AM #7
I tried with ext-all.js and nothing changes, the "events" is null error remains.
9 Dec 2011 2:38 AM #8
For those who don't want to see this error '"events" is null or not an object', you can, at your own risk, modify the ext-all-debug.js (or the ext-all.js) file :.
In ExtJS v4.0.7 between line 7651 and line 8142, replace all reference to variable 'EC' by 'Ext.cache'
This solved it for me as now it always references the same thing and doesn't loose the EC reference.
As soon as I get my Ext licence, I'll definitely use a ticket for this (unless solved).