PDA

View Full Version : 'too much recursion' on TreePanel::setRootNode(~230 nodes)



cadorn
27 May 2011, 1:47 PM
I am trying to load the following nodes:

https://gist.github.com/996247

into a TreePanel with:


filesTree.setRootNode(nodes);

When the tree gets deeper I am getting the following error (extjs 4.0.1):


message=>too much recursion,
fileName=>http://127.0.0.1:9110/extjs4/ext-all-debug.js,
lineNumber=>10487,
stack=>([object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:10487
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13573
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("beforeappend",[object Object],[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
([object Object],(void 0),true)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:51741
([object Object],[object Array])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:53019
([object Object],[object Object],0,[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:52921
([object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:10502
("append",[object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13585
([object Object],[object Object],0,[object Object])@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13768
([object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:10502
("append",[object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13573
("append",[object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("append",[object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("append",[object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("append",[object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("append",[object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581
("append",[object Object],[object Object],0)@http://127.0.0.1:9110/extjs4/ext-all-debug.js:13581


How can I work around this or is that a bug that needs fixing?

Thanks
Christoph

cadorn
31 May 2011, 11:01 AM
Could I get an acknowledgment that this will be fixed in 4.0.2?

Thanks
Christoph