This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes itext-1.4.8   java.lang.NullPointerException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "itext-1.4.8   java.lang.NullPointerException" Watch "itext-1.4.8   java.lang.NullPointerException" New topic

itext-1.4.8 java.lang.NullPointerException

amandeep pahwa

Joined: Apr 05, 2012
Posts: 1

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

at com.lowagie.text.FontFactoryImp.registerFamily(
at com.lowagie.text.FontFactoryImp.register(
at com.lowagie.text.FontFactoryImp.register(
at com.lowagie.text.FontFactoryImp.register(
at com.lowagie.text.FontFactory.register(
at com.lowagie.text.FontFactory.register(

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.
subject: itext-1.4.8 java.lang.NullPointerException
Similar Threads
T- Shirt Quotes
Best way to create reports with FOP
error while using Rtfwriter by iText version 2.1.3
Create a "virtual file"
Unable to get the home of ejb after certain requests