JavaBlog.fr / Java.lu Sencha Sencha ExtJS [4.0.2] garbage collection produces error in IE8

Sencha ExtJS [4.0.2] garbage collection produces error in IE8

Hello!

In my experience with Sencha/ExtJS4.0.2 framework, i am faced with a problem with the garbage collector which is run automatically every 30s stops JS execution in my IE8 / WINXP.

The following JS error apprears randomly:
Error occured:
Message: ‘events’ is null or not an object
Line: 10708
Char: 9
Code: 0
URI: http://localhost:8080/qe2web/extjs/ext-all-debug.js

The solution is to disable the Ext garbage collection by:
Ext.enableGarbageCollector = false;

Note: I have placed this code in:

01Ext.application({
02    name: 'qe2web',
03    appFolder: '/',
04    controllers: getControllers(),
05    launch: function() {
06        Ext.create('Ext.Viewport', {....} );
07        initScreen();
08        Ext.enableGarbageCollector = false;
09    }
10});
Tags: ,

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.

Related Post