Meteor Leak Exception: Tracker Recursion Function Exception: Recursion Too Much

I have a recursive template in a Meteor app that builds a tree structure with unlimited levels. The template works fine with small trees, but when I test my application on real data with many levels of trees, then I get the following two exceptions in the console and no part of the tree is displayed:

> Exception from Tracker recompute function: Node was not found
> meteor....3d493c5 (line 883)
> 
> Exception from Tracker recompute function: too much recursion
> _.forEach@http://localhost:3000/packages/underscore.js?0a80a8623e1b40b5df5a05582f288ddd586eaa18:156:7
> ClassHandler<.parseValue@http://localhost:3000/packages/blaze.js?77c0809654ee3a10dcd5a4f961fb1437e7957d33:1115:5
> DiffingAttributeHandler<.update@http://localhost:3000/packages/blaze.js?77c0809654ee3a10dcd5a4f961fb1437e7957d33:1084:9
> etc. This is a very long stack

      

I'm not sure if "Node was not found". The exception is. I added it to the post because it seems to be related to the following, which makes more sense. Is there a way to fix this?

UPDATE:

The number of levels is actually not very large - the deepest branch is less than 10 levels. Also, I just noticed that the tree is actually showing up in Chrome. Browser, I see a bug in IceWeasel / Firefox 32.1.0 on Debian Linux.

0


source to share





All Articles