InsertFragment raises StackOverflowException

3 posts, 0 answers
  1. Axelle
    Axelle avatar
    13 posts
    Member since:
    Mar 2014

    Posted 25 Nov 2014 Link to this post

    Hello, 

    I'm trying to merge document parts from different sources using DocumentFragments. 
    This works just fine except when my document is imported from html. 

    Whenever I run the editor.InsertFragment on that type of document, a StackOverflowException is raised. 

    Is there any way to know more about the exception, or to prevent it ?
  2. Axelle
    Axelle avatar
    13 posts
    Member since:
    Mar 2014

    Posted 25 Nov 2014 in reply to Axelle Link to this post

    Investigating more, this seems much more random.

    The error seems to pop whenever I insert something in a specific place in a table (using 
         
            doc.Selection.SelectAnnotationRange(bookmark);
            doc.Delete(false);
            editor.Insert(" "); 

    with a bookmark inside a table.
  3. DevCraft banner
  4. Todor
    Admin
    Todor avatar
    168 posts

    Posted 27 Nov 2014 Link to this post

    Hello Axelle,

    I've tried to reproduce the problem, but to no avail.
    Please, can you try to isolate the issue in a sample project and send it to us? If the issue is caused by a specific document, it will be great if you can share it with us as well. In this way it will be much easier for us to find what causes the problem and resolve it.

    Looking forward to your reply.

    Regards,
    Todor
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top