this.xtypesMap is undefined
I'm in the process of upgrading from 4.0.7 to 4.1.1 and I am stuck on this error.
I am receiving this error which in turn subtly breaks the grids and keeps their loading masks on even though the data has been loaded.
TypeError: this.xtypesMap is undefined
[Break On This Error]
ext-all-debug.js (line 46166)
I am unsure what exactly is causing this error as this was a non-issue before upgrading. The only thing I can think of is there is some sort of race condition.
Any help would be greatly appreciated.
I would suggest you use firebug or chrome debug tool and set a conditional break point at that line of code 46166 condition 'this.xtypesMap == undefined
Then re run the site.
The debugger will stop when the condition is met and you will be able to look at the stack trace and inspect objects and variables to get more information regarding state and the methods that are running to cause the issue.
Post the details once done
Thanks, but I seem to have solved it. I have some XTemplates defined within extended abstract components that were the problem. I did not have the alias set on the extended AbstractComponent class and this was causing the error, though I don't know why.
Simply adding an alias to the class fixed it.
Tags for this Thread