PDA

View Full Version : Ext.elCache[...].events' is null or not an object



just_a_kid
30 Nov 2010, 12:25 AM
Is there any way to turn off elCache ?

here and then i always get javascript error from extjs
?'Ext.elCache[...].events' is null or not an object

Condor
30 Nov 2010, 12:28 AM
When are you getting this error?

just_a_kid
30 Nov 2010, 12:38 AM
One of the places is when i use TreeGrid Component.

I keep hovering over the tree node and after sometimes it hit that problem.

Not so sure if some custom logic that i did internally caused this.

Just wondering if there is a way to turn off this the elCache thingy.

Condor
30 Nov 2010, 12:40 AM
You could set Ext.enableGarbageCollector = false, but you don't actually want that.

You should look into why you are getting this error. Can you post a stacktrace of the error (using ext-all-debug.js - don't forget to specify the Ext version).

just_a_kid
30 Nov 2010, 1:00 AM
The error is on


Ext.elCache[...].events' is null or not an object line 2705 char 13

/// There is some jquery work around stuff here that isn't needed in Ext Core.
function addListener(el, ename, fn, task, wrap, scope){
el = Ext.getDom(el);
var id = getId(el),
es = Ext.elCache[id].events,
wfn;


I am using EXT JS 3.2.0

mankz
30 Nov 2010, 1:06 AM
You'll need to post your application Ext code, otherwise we can only guess :)