Results 1 to 4 of 4

Thread: ExtJs 6.2 patch proposal to prevent "itemOverTask is null"

    You found a bug! We've classified it as EXTJS-22353 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1

    Default ExtJs 6.2 patch proposal to prevent "itemOverTask is null"

    I am testing ExtJs 6.2 and I propose this patch :

    Ext.override(Ext.menu.Menu, {

    onMouseLeave: function(e) {
    var me = this;

    // patch
    if (me.itemOverTask !== null) {
    me.itemOverTask.cancel();
    }

    if (me.disabled) {
    return;
    }
    me.fireEvent('mouseleave', me, e);
    }
    });

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,256
    Answers
    759

    Default

    Can you explain how you end up in this scenario? A stack trace would be useful. For itemOverTask to be null it would seem as though it would be firing a mouseleave event around destruction time.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  3. #3

    Default Exception Stacktace with ext-6.2.0.758

    ncaught TypeError: Cannot read property 'o' of undefinedremoveListener @ ext-all-debug.js?build=1470177893084:20473fire @ ext-all-debug.js?build=1470177893084:20659doFireEvent @ ext-all-debug.js?build=1470177893084:21614doFireEvent @ ext-all-debug.js?build=1470177893084:66790prototype.doFireEvent @ ext-all-debug.js?build=1470177893084:57788fireEventArgs @ ext-all-debug.js?build=1470177893084:21467fireEvent @ ext-all-debug.js?build=1470177893084:21426removeDocked @ ext-all-debug.js?build=1470177893084:155988destroyDockedItems @ ext-all-debug.js?build=1470177893084:155856doDestroy @ ext-all-debug.js?build=1470177893084:157138callParent @ ext-all-debug.js?build=1470177893084:12447doDestroy @ ext-all-debug.js?build=1470177893084:198737destroy @ ext-all-debug.js?build=1470177893084:66637callParent @ ext-all-debug.js?build=1470177893084:12447(anonymous function) @ ext-all-debug.js?build=1470177893084:20156doRemove @ ext-all-debug.js?build=1470177893084:138114doDestroy @ ext-all-debug.js?build=1470177893084:137203callParent @ ext-all-debug.js?build=1470177893084:12447(anonymous function) @ ext-all-debug.js?build=1470177893084:20148destroy @ ext-all-debug.js?build=1470177893084:66637callParent @ ext-all-debug.js?build=1470177893084:12447(anonymous function) @ ext-all-debug.js?build=1470177893084:20156doRemove @ ext-all-debug.js?build=1470177893084:138114doDestroy @ ext-all-debug.js?build=1470177893084:137196callParent @ ext-all-debug.js?build=1470177893084:12447(anonymous function) @ ext-all-debug.js?build=1470177893084:20148destroy @ ext-all-debug.js?build=1470177893084:66637callParent @ ext-all-debug.js?build=1470177893084:12447(anonymous function) @ ext-all-debug.js?build=1470177893084:20156doRemove @ ext-all-debug.js?build=1470177893084:138114doDestroy @ ext-all-debug.js?build=1470177893084:137196destroy @ ext-all-debug.js?build=1470177893084:66637callParent @ ext-all-debug.js?build=1470177893084:12447(anonymous function) @ ext-all-debug.js?build=1470177893084:20156doRemove @ ext-all-debug.js?build=1470177893084:138114doDestroy @ ext-all-debug.js?build=1470177893084:137196destroy @ ext-all-debug.js?build=1470177893084:66637callParent @ ext-all-debug.js?build=1470177893084:12447(anonymous function) @ ext-all-debug.js?build=1470177893084:20156doRemove @ ext-all-debug.js?build=1470177893084:138114doDestroy @ ext-all-debug.js?build=1470177893084:137196callParent @ ext-all-debug.js?build=1470177893084:12447doDestroy @ ext-all-debug.js?build=1470177893084:157139callParent @ ext-all-debug.js?build=1470177893084:12447doDestroy @ ext-all-debug.js?build=1470177893084:166391destroy @ ext-all-debug.js?build=1470177893084:66637callParent @ ext-all-debug.js?build=1470177893084:12447(anonymous function) @ ext-all-debug.js?build=1470177893084:20156doClose @ ext-all-debug.js?build=1470177893084:166491callback @ ext-all-debug.js?build=1470177893084:8698afterHide @ ext-all-debug.js?build=1470177893084:66271callParent @ ext-all-debug.js?build=1470177893084:12447afterHide @ ext-all-debug.js?build=1470177893084:166506onHide @ ext-all-debug.js?build=1470177893084:68093callParent @ ext-all-debug.js?build=1470177893084:12447onHide @ ext-all-debug.js?build=1470177893084:158533hide @ ext-all-debug.js?build=1470177893084:67400doClose @ ext-all-debug.js?build=1470177893084:166495close @ ext-all-debug.js?build=1470177893084:157451(anonymous function) @ ParaphFolderToolbar.js:949(anonymous function) @ ParaphFolderTaskQueue.js:68refreshParaphFolderTask @ ParaphFolderController.js:3202(anonymous function) @ ParaphFolderTaskQueue.js:65deferredFunction @ PromiseQueue.js:40doNext @ PromiseQueue.js:119(anonymous function) @ PromiseQueue.js:136

  4. #4
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,256
    Answers
    759

    Default

    I can't really glean much from the stack trace, other than you're destroying a window/panel.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  5. #5
    Sencha - Ext JS Dev Team nohuhu's Avatar
    Join Date
    Jun 2011
    Location
    Redwood coast
    Posts
    402
    Answers
    26

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

Similar Threads

  1. Replies: 0
    Last Post: 26 Nov 2014, 9:47 AM
  2. Replies: 1
    Last Post: 13 Oct 2014, 1:28 PM
  3. Replies: 1
    Last Post: 10 Sep 2013, 7:49 AM
  4. new ToolTipConfig("Hello", "world").getTemplate() returns null
    By sgt in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 6 Aug 2009, 6:57 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
  •