Hi everyone.
I'm using iText 1.3 on a 1.3 JVM into a websphere 5.0

I'm trying to generate a pdf file containing pictures from a dedicated servlet.

It works well for some time, but comes a time where every PDF is generated
without images.
The only way to make it work again is to restart the web app (and then it
crashes again).

When I'm looking into the log, I can spot the following exception for every 
image :
DocumentException: 
ExceptionConverter: 
java.lang.IllegalAccessException: com/lowagie/text/Jpeg
at java.lang.reflect.Constructor.newInstance (Native Method)
at com.lowagie.text.pdf.PdfCell.<init> (Unknown Source)(Compiled Code)
at com.lowagie.text.pdf.PdfTable.updateRowAdditionsInternal (Unknown Source)
at com.lowagie.text.pdf.PdfTable.<init> (Unknown Source)
at com.lowagie.text.pdf.PdfDocument.getPdfTable (Unknown Source)
at com.lowagie.text.pdf.PdfDocument.add (Unknown Source)
at com.lowagie.text.Document.add (Unknown Source)
at mypackage.pdf.myClass.createImagesTable (myClass.java:527)

I'm really stuck ; I don't understand why I'm having an IllegalAccessException
as PdfCell is in the same package as com.lowagie.text.Jpeg

Thanks



_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to