-
13 Nov 2012 5:18 AM #1
Unanswered: IE9, Unable to get value of the property 'viewIndex': object is null or undefined
Unanswered: IE9, Unable to get value of the property 'viewIndex': object is null or undefined
Hi folks! we're refactoring an application that uses these paths in order to use Ext, don't know the exactly version but it seems to be a beta or RC version.
The problem is when using TreePanel expandAll method and selecting a node using getSelectionModel().select(node).Code:<script type="text/javascript" src="/app_name/js/ext-4.1-pr1/ext.js"></script> <script type="text/javascript" src="/app_name/js/ext-4.1-pr1/ext-all.js"></script>
Sometimes it works great and some others it crashes when using IE9, not happening the same in IE8 or IE7.
It's throwing the next error message in IE9:
<< Unable to get value of the property 'viewIndex': object is null or undefined >>
and it's in ext-all.js.
These is the callstack that IE9 shows:
> indexOf
onExpand
fire
continueFireEvent
fireEvent
onNodeExpand
fire
continueFireEvent
fireEvent
Anonymous Function
callback
onBeforeNodeExpand
fire
continueFireEvent
fireEvent
Anonymous Function
fire
continueFireEvent
fireEvent
expand
expandChildren
expand
expandAll
Thanks in advance.
-
15 Nov 2012 6:28 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,582
- Vote Rating
- 434
- Answers
- 3102
This is before or after you are changing the path to the new version?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
15 Nov 2012 12:20 PM #3
Hi,
We're not changing path to a newer version, the point is I'd like to know if the problem it's throwing is because of problems with IE9.
Treepanel is already with data loaded, but sometimes when calling expandAll it throws error with viewIndex inside ext files.
thanks


Reply With Quote