This is a migrated thread and some comments may be shown as answers.

RichTextBox and document that crashes it

3 Answers 71 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Fabrizio
Top achievements
Rank 1
Fabrizio asked on 20 Oct 2016, 09:20 AM

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

3 Answers, 1 is accepted

Sort by
0
Mihail
Telerik team
answered on 25 Oct 2016, 09:00 AM
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!
0
Mihail
Telerik team
answered on 26 Oct 2016, 11:42 AM
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!
0
Fabrizio
Top achievements
Rank 1
answered on 26 Oct 2016, 12:27 PM

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

Fabrizio

Tags
RichTextBox
Asked by
Fabrizio
Top achievements
Rank 1
Answers by
Mihail
Telerik team
Fabrizio
Top achievements
Rank 1
Share this question
or