Hi, We are using itext-1.4.8 jar in our project . For the below line of code-
FontFactory.register(this.fontPath + "MSGOTHIC.ttc"); We are getting exception java.lang.NullPointerException at com.lowagie.text.FontFactoryImp.registerFamily(FontFactoryImp.java:484) at com.lowagie.text.FontFactoryImp.register(FontFactoryImp.java:547) at com.lowagie.text.FontFactoryImp.register(FontFactoryImp.java:502) at com.lowagie.text.FontFactoryImp.register(FontFactoryImp.java:559) at com.lowagie.text.FontFactory.register(FontFactory.java:347) at com.lowagie.text.FontFactory.register(FontFactory.java:336) This exception is quite random and is not replicable in all cases.Sometime the pdf is generated fine. Would really appreciate if somebody has faced siimilar issue and can guide us on this. -- View this message in context: http://itext-general.2136553.n4.nabble.com/itext-1-4-8-java-lang-NullPointerException-tp4542130p4542130.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
