OnDemand Loading - Stack Overflow Exception

4 posts, 0 answers
  1. Matthias
    Matthias avatar
    3 posts
    Member since:
    Dec 2014

    Posted 09 Nov 2015 Link to this post

    Since the latest Update (Nov 2015) I run in all my implementations for LOD (RadTreeView) into an endless loop (stack overflow exception).

    I've checked my implementation and even if I return immediately in the NodesNeeded event method - the exception is thrown.

    It seems to me, that this update is buggy ... Can anybody confirm this observation or is there a problem on my side?

    My implementation is very simple

    LazyLoad=false

    NodesNeeded += (o, e)=>{return;};

    Any help is appreciated.

     

    Thanks

     

     

  2. Dess
    Admin
    Dess avatar
    1605 posts

    Posted 09 Nov 2015 Link to this post

    Hello Matthias,

    Thank you for writing.

    It is a known problem. You can track its progress, subscribe for status changes and add your vote/comment to it on the following link - feedback item.

    Currently, the possible solution that I can suggest is to set the AllowArbitraryItemHeight property to true.

    I hope this information helps. Should you have further questions I would be glad to help.
     
    Regards,
    Dess
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
  4. erwin
    erwin avatar
    358 posts
    Member since:
    Dec 2006

    Posted 10 Nov 2015 in reply to Dess Link to this post

    Hi Matthias 

    Also, another bug leads to NodesNeeded Event being called even if LazyMode is set to false. We therefore have to de-register the event handler for NodesNeeded to prevent the stack overflow. (see my comment in the feedback item).

    I hope that Telerik releases a fix for this showstopping bug before 2016Q1, because I would like to see this fixed without high risk of new showstopping bugs in a new feature release.

    This time I was lucky because I could implement the workaround in  my base class where all my trees inherit from, but if you have dozens of trees without a common class in your code, fixing this can turn out to be a nightmare.

     

    Regards

    Erwin

  5. Dess
    Admin
    Dess avatar
    1605 posts

    Posted 11 Nov 2015 Link to this post

    Hello Erwin,

    Thank you for writing.

    Please refer to the last comment in the feedback item added by Ivan Todorov. He suggests a workaround which covers the case when the LazyMode property is set to false. For now, the issue is scheduled for the next official release.

    I hope this information helps. Should you have further questions I would be glad to help.
     
    Regards,
    Dess
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top