Paulo, I figured it out, but thought I would follow up for posterity. It turns out we had an old version of IText.jar put into that directory somehow over the last few months - no idea how long exactly since our last restart, but much of our code had been running off of that version as opposed to 1.4.x.
Having two versions of a jar in the same lib directory turns out to be a bad thing :-) I removed that and restarted the apps and everything's peachy again - that Document.close(); from Itext.jar does not like empty pdf's where as the new 1.4.x handles it much more gracefully. Thanks again for all you do here. -Jeff > I've no idea. Post a link to all the files needed to reproduce the > problem. > > Paulo > > ----- Original Message ----- > From: "Jeff Randolph" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Tuesday, August 15, 2006 10:23 PM > Subject: [iText-questions] Upgraded from 1.2.3 to 1.4 and having issues > withDocument.close() > > >> Hi all. Again thanks for the great support and effort you put in here. >> >> I recently upgraded to 1.4 and am having issues when I run a job. >> >> Here's a smidge of my error log: >> >> (08/15 14:20:36.548) DestinationDevice: file : >> java.lang.NullPointerException >> at com.lowagie.text.pdf.PRStream.<init>(Unknown Source) >> at com.lowagie.text.pdf.PdfReaderInstance.getFormXObject(Unknown Source) >> at com.lowagie.text.pdf.PdfImportedPage.getFormXObject(Unknown Source) >> at com.lowagie.text.pdf.PdfReaderInstance.writeAllPages(Unknown Source) >> at com.lowagie.text.pdf.PdfWriter.addSharedObjectsToBody(Unknown Source) >> at com.lowagie.text.pdf.PdfWriter.close(Unknown Source) >> at com.lowagie.text.pdf.PdfDocument.close(Unknown Source) >> at com.lowagie.text.Document.close(Unknown Source) >> >> It sure looks like I'm trying to close an unknown file, but in truth >> there >> is a file there - although in this case it is blank - this didn't cause >> a >> problem in the old version. I can add a catch to not allow the blank, >> or >> even stop it further upstream, but any thoughts or confirmation of this >> being my problem? >> >> Again thank you. >> -Jeff >> [EMAIL PROTECTED] >> http://www.Bigscout79.com >> >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> iText-questions mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/itext-questions > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > -- -Jeff [EMAIL PROTECTED] http://www.Bigscout79.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
