I am using the following code to get a list of jpegs attached to one of my objects "PrintDocument" wich references a "Document" which references a "Page" Object. The path is being combined from Document and Page. But this is not the Problem. When I use this code and run it in simple java on the jvm, the pdf is being built without any error...I am using the following code to get a list of