PDA

View Full Version : Chrome Console Error - Error in event handler....



funnyfox
9 May 2013, 2:25 AM
Does any one saw this issue ?
I see this on my chrome console sometimes.
When I see this issue. ??
Whenever any ext js control doesn't function as expected, the first thing that we do is to check the console for errors. But the console will not show any error. At that point if I access the control multiple times say I click a wrongly working button 10 times continuously I see this error on my console.



Error in event handler for 'undefined': IndexSizeError: DOM Exception 1 Error: Index or size was negative, or greater than the allowed value.
at P (chrome-extension://mgijmajocgfcbeboacabfgobmjgjcoja/content_js_min.js:16:142)
at null.<anonymous> (chrome-extension://mgijmajocgfcbeboacabfgobmjgjcoja/content_js_min.js:18:417)
at chrome-extension://mgijmajocgfcbeboacabfgobmjgjcoja/content_js_min.js:1:182
at miscellaneous_bindings:288:9
at chrome.Event.dispatchToListener (event_bindings:390:21)
at chrome.Event.dispatch_ (event_bindings:376:27)
at chrome.Event.dispatch (event_bindings:396:17)
at Object.chromeHidden.Port.dispatchOnMessage (miscellaneous_bindings:254:22) event_bindings:380
chrome.Event.dispatch_

slemmon
13 May 2013, 7:41 AM
That's not an error I'm familiar with. Are you able to reproduce the error with a code snippet and share that code for me / the community to review with you by chance?

venishkhant
1 Aug 2013, 10:05 PM
I am also getting same error, 'Uncaught Error: IndexSizeError: DOM Exception 1' in chrome and firefox I am getting '
IndexSizeError: Index or size is negative or greater than the allowed amount'.

I got this error when I do rowspan and colspan with table layout.

Just run below code you get error.




Ext.create('Ext.panel.Panel', {
title: 'Table Layout',
width: 500,
height: 300,
layout: {
type: 'table',
columns: 2
},
defaults: {
bodyStyle: 'padding:20px'
},
items: [{
html: 'Cell A content'
},{
html: 'Cell B content'
},{
html: 'Cell C content',
// cellCls: 'highlight',
rowspan: 3, // Because of rowspan 3 if you change to 2 it will work
colspan: 2
},{
html: 'Cell D content'
},{
html: 'Cell E content'
}],
renderTo: Ext.getBody()
});



Because of rowspan 3 or more getting error if you change to rowspan 2 it will work.

I have check in following versions extjs - 4.1.3 / extjs-4.2.1.

Please help to get fix this issue.

romanyu
15 Nov 2013, 9:05 PM
I encountered the same problem as yours, and solved it by referencing this link:


http://blog.sina.com.cn/s/blog_72639692010171oa.html

The IIS7 needs to support ASP, hope it works for you, too.

rama2020
31 Mar 2014, 5:51 AM
Any update on this issue ? I am getting same error in sencha Architect.