Forum Bugs

There was an error while reading the stream (reading PDF file in Adobe Reader)

MSH
Hi

We create HTML reports with images (graphs etc) and use the Java wrapper to convert them into PDF.
We are using v.11

Sometimes we get this error when we open the converted PDF file:
"There was an error while reading the stream."

Recently I had a PDF document with 3 images. Only 2 of the 3 images were converted correctly. The error shows up when scrolling down to the image that were not converted correctly.
I cannot see any errors in the log.

I can click on the area where the image is supposed to be, but it does not contain anything. Sometimes it shows only a little bit of the image.

What is wrong and how can I prevent this from happening?

Thanks a lot

/MSH
  1. 2017-03-14_11-00-48.jpg38.2 kB
mikeday
Are the images grayscale PNG files? There was a bug in Prince 11 affecting these images which was fixed in Prince 11.1. Otherwise, can you email me (mikeday@yeslogic.com) one of the affected PDF files?
MSH
Hi Mike
They are jpeg files. I might have found something, I need to investigate now. I can see in our recent test that one of the jpeg files did miss some information before I called the PrinceXML converter.