If you try to instantiate Phrase with a null String (for example if your DB 
query did not return a value for a particular field), you'll get a 
NullPointerException. To remedy, I changed Phrase.java line 197 from: 

        if (string.length() != 0) {

to:

        if (string != null && string.length() != 0) {

Id there any reason why this should NOT work? 

-August
--
August Detlefsen, CEO
CodeMagi, Inc.
[EMAIL PROTECTED]


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to