I don't think it has anything to do with iText. In any case I don't see any reference to iText classes in the stack trace.
Best Regards, Paulo Soares > -----Original Message----- > From: Cramer, Jo Ann [SMTP:[EMAIL PROTECTED] > Sent: Wednesday, October 22, 2003 17:16 > To: [EMAIL PROTECTED] > Subject: [iText-questions] iText createFont NullPointerException > > I've successfully created a PDF document using iText with the > BaseFont.HELVETICA and wanted to use other fonts. When I used the > following code to access another font on my machine, it created a > NullPointerException. I am using Windows NT and JDK 1.2.2 built into > VisualAge for Java. Is there a workaround for this error so that I could > use other windows fonts? > > Thank you, Jo Ann Cramer > > > Code: > BaseFont bf = BaseFont.createFont("C:\\WINNT\\Fonts\\pala.ttf", > BaseFont.WINANSI, BaseFont.EMBEDDED); > > > Error: > java.io.InputStreamReader Reader(Object lock) - NullPointerException > (lock = null) > java.io.InputStreamReader (InputStream in, ByteToCharConverter btc) (in = > null & btc = ByteToCharConverter: ISO8859_1) > java.io.InputStreamReader (InputStream in, String enc) (in = null & enc = > 8859_1) > Properties.load(InputStream inStream) (inStream = null) > > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer relations > Here's your chance to show off your extensive product knowledge > We want to know what you know. Tell us and you have a chance to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions