I wanted to convert PDF document into image. I was using Ghost4j.
Problem: Ghost4J needs gsdll32.dll file at runtime, and I do not
Probably you have try to convert corrupted PDF file. I've the same errors when the PDF file contains JPXEncoded streams.