Having enableOverflow: true on a tbar filled with button groups causes an "Cannot read property 'measuresBox' of null " error if the toolbar overflows.

If enableOverflow is disabled, the toolbar renders without any difficulty (except for the fact part of it is clipped due to overflow). The toolbar also renders correctly if enableOverflow is true, but the toolbar fits in the space without overflow.


Here is the stack trace:



  • [COLOR=red !important]Uncaught TypeError: Cannot read property 'measuresBox' of null ext-all-debug.js:147630[/COLOR]

    • [COLOR=red !important]Ext.define.layoutDone[/COLOR]ext-all-debug.js:147630

    • [COLOR=red !important]Ext.define.runLayout[/COLOR]ext-all-debug.js:148023

    • [COLOR=red !important]Ext.define.runCycle[/COLOR]ext-all-debug.js:147992

    • [COLOR=red !important]Ext.define.run[/COLOR]ext-all-debug.js:147927

    • [COLOR=red !important]Ext.define.statics.flushLayouts[/COLOR]ext-all-debug.js:71635

    • [COLOR=red !important]Ext.define.statics.resumeLayouts[/COLOR]ext-all-debug.js:71643

    • [COLOR=red !important]Ext.resumeLayouts[/COLOR]ext-all-debug.js:75619

    • [COLOR=red !important]Ext.define.render[/COLOR]ext-all-debug.js:70373

    • [COLOR=red !important]Ext.define.constructor[/COLOR]ext-all-debug.js:72098

    • [COLOR=red !important]constructor[/COLOR]ext-all-debug.js:7586

    • [COLOR=red !important]main[/COLOR]InsightEditor.js:699

    • [COLOR=red !important](anonymous function)[/COLOR]InsightEditor.js:14

    • [COLOR=red !important]Ext.env.Ready.invoke[/COLOR]ext-all-debug.js:10945

    • [COLOR=red !important]Ext.env.Ready.invokeAll[/COLOR]ext-all-debug.js:10985

    • [COLOR=red !important]Ext.env.Ready.handleReady[/COLOR]ext-all-debug.js:10918

    • [COLOR=red !important](anonymous function)[/COLOR]