It may be a load problem. You may also try another JVM and see if the
problem goes away.

Paulo 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Amir
> Sent: Friday, June 02, 2006 5:06 AM
> To: [email protected]
> Subject: [iText-questions] Odd exception
> 
> Hi, in one of my itext webapps i'm generating pdffiles from xml and
> everything works fine for awhile but then after a random time 
> i get the
> following exception.
> 
> ***********
> java.lang.NullPointerException
>       at com.lowagie.text.FontFactoryImp.getFont(Unknown Source)
>       at com.lowagie.text.FontFactoryImp.getFont(Unknown Source)
>       at com.lowagie.text.FontFactory.getFont(Unknown Source)
>       at com.lowagie.text.Paragraph.<init>(Unknown Source)
>       at 
> com.lowagie.text.xml.SAXiTextHandler.handleStartingTags(Unknow
> n Source)
>       at 
> com.lowagie.text.xml.SAXmyHandler.startElement(Unknown Source)
>       at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.s
> tartElement(AbstractSAXParser.java:533)
>       at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
> nnerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:878)
>       at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
> nnerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmen
> tScannerImpl.java:1693)
>       at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
> nnerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
>       at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.
> parse(XML11Configuration.java:834)
>       at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.
> parse(XML11Configuration.java:764)
>       at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XML
> Parser.java:148)
>       at
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.p
> arse(AbstractSAXParser.java:1242)
>       at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
>       at javax.xml.parsers.SAXParser.parse(SAXParser.java:255)
>       at 
> se.kgm.sh102.pdf.xml.XmlPdfBuilder.build(XmlPdfBuilder.java:86)
>       at se.kgm.sh102.pdf.PdfBuilder.run(PdfBuilder.java:98)
>       at java.lang.Thread.run(Thread.java:595)
> ***********
> 
> Since everything works fine at first i don't know where to 
> start to look
> for the problem. Anyone got any idea?
> 
> Thanks in advance
> 
> Amir
> 
> 
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to