RichTextBox and document that crashes it

4 posts, 0 answers
  1. Fabrizio
    Fabrizio avatar
    5 posts
    Member since:
    Jul 2015

    Posted 20 Oct Link to this post

    Hi all,
    I found a problem using a document that you can download from here:
    http://download2.anastasis.it/software/fabrizio/crash.docx

    In few words, opening that document results in a catastrophic crash with program shutdown. This happen either in our application and in your WPF demos.
    The document has been generated in Google Drive then converted in docx by Google Drive itself during the download operation.

    Deep-tracking the bug, I saw that the problem is probably connected with a CommentRangeStart that hasn't a proper closing CommentRangeEnd marker.
    Since I couldn't find the exact point where exception is thrown, please take this indication with a grain of salt.

    Even if I know that the problem is generated by a third-party malfunction, it could be a good idea to make your document reader a little more safe.

    Thanks for your assistance, bye! :)
    Fabrizio

  2. Mihail
    Admin
    Mihail avatar
    192 posts

    Posted 25 Oct Link to this post

    Hello Fabrizio,

    We are currently investigating what is causing the problem. Once we have more information we will write back to this thread.

    Regards,
    Mihail
    Telerik by Progress
    Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
  3. UI for WPF is Visual Studio 2017 Ready
  4. Mihail
    Admin
    Mihail avatar
    192 posts

    Posted 26 Oct Link to this post

    Hello Fabrizio,

    I have found that the problem is related to how a document with floating images is measured. However, this problem could not be limited to only floating images. That is why the bug report will be with high priority in out backlog. I have logged a public item which you could follow for status updates. Here is the link: NullReferenceException is thrown when measuring a document with floating image as the first element on a second page

    I have updated your Telerik points in appreciation for your involvement.
    If you have further questions feel free to write back to us.

    Regards,
    Mihail
    Telerik by Progress
    Do you need help with upgrading your WPF project? Try the Telerik API Analyzer and share your thoughts!
  5. Fabrizio
    Fabrizio avatar
    5 posts
    Member since:
    Jul 2015

    Posted 26 Oct in reply to Mihail Link to this post

    Thanks a lot Mihail, I will closely track this new item. :)

    Fabrizio

Back to Top