I generate a PDF document within a servlet.
I get the following exception :
ExceptionConverter:
java.lang.NullPointerExceptionat
com.lowagie.text.pdf.PdfDocument.close(Unknown Source)
at
com.lowagie.text.Document.close(Unknown Source)
at net.sf.jasperreports.engine.export.
JRPdfExporter.exportReportToStream(JRPdfExporter.java:416)
at net.sf.jasperreports.engine.export.
JRPdfExporter.exportReport(JRPdfExporter.java:241)
at net.sf.jasperreports.engine.
JasperExportManager.exportReportToPdf(JasperExportManager.java:188)
It only occurs on Websphere 5.1 on windows XP. I never had a single problem in
the WSAD environment.
I use jasperreports-0.6.8.jar and itext-1.3.jar but i have the same thing with
the 0.6.6 version of jasperreport and any other version of itext (1.01).
Notice :
- i have no security manager restriction about 'getCLassLoader' on the
application server.
- i have tried to generate a pdf file before sending the response to the browser
but the same thing happened.
Thanks for any kind of help.
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions