Last Updated: 16 Jun 2015 13:22 by ADMIN
Created on: 15 Aug 2013 02:49
Category: PdfViewer
Type: Bug Report
FIX. RadPdfViewer - throws NullReferenceException in GetPages method of PdfContentManager.
PdfViewer - throws NullReferenceException in GetPages method of PdfContentManager.
Posted on: 13 Mar 2015 11:44
We have investigated this case and the document throws an exception as it is not valid according to the PDF format specification. The problem is that at the end of the file, after the %%EOF marker, there are empty bytes, which should not be there. You can see the NUL bytes here ( 

Once these bytes are trimmed and the document attempts to open, another issues comes up, and this is an issue with the JPEG decoder, which we have logged here:

As a result of this investigation, I will close this case and also I will attach the file to the case with the JPEG decoder, so when we are working on it, we can make sure we cover the case from your document as well.
Posted on: 17 Nov 2014 11:42
Thank you for this document. We will have it in mind when working on this issue. In fact we already have it internally.
Posted on: 11 Nov 2014 10:04
Try to open this file and you see the exception.
Attached Files: