Results 1 to 6 of 6

Thread: Ext.elCache[...].events' is null or not an object

  1. #1

    Default Ext.elCache[...].events' is null or not an object

    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

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246

    Default

    When are you getting this error?

  3. #3

    Default

    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.

  4. #4
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246

    Default

    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).

  5. #5

    Default

    The error is on
    Code:
     
    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

  6. #6
    Sencha Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,153

    Default

    You'll need to post your application Ext code, otherwise we can only guess

Similar Threads

  1. 'events' is null or not an object
    By migolo in forum Ext 2.x: Help & Discussion
    Replies: 14
    Last Post: 16 Jul 2012, 5:48 PM
  2. 'events' is null or not an object
    By Sejal in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 12 Dec 2011, 11:50 PM
  3. events is null or not an object
    By JasmineWaters in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 18 Dec 2009, 4:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •