Hi,
    Can somebody please help me with this problem?
   
   I am using iText-2.1.5.jar which runs with Java1.5 in Ubuntu System.
Encoding System used in this OS is UTF-8.

   When I try to add any elements through document.add(), I am getting Java
runtime error message as "Error: null"

 Eg: document.add(new Paragraph("Hello"));
     document.add(new Paragraph("Hello", FontFactory.getFont("helvetica",
BaseFont.IDENTITY_H, BaseFont.EMBEDDED)))
     
But if i try something like this document.add(new Paragraph()), I am not
getting any run-time error.
Looks like, whenever i tried to write data using document.add(), system is
giving problem.

FYI: It works fine in Windows and AIX environments.

Regards
Yad
-- 
View this message in context: 
http://www.nabble.com/document.add-throws-null-on-run-time-tp23302404p23302404.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to