× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi all
I'm trying to use itext java library to create pdf files. A basic part of
work is done, but testing a simple case fails when closing pdf document.
Probably the close method really fails due to previous errors, and I'm
trying to found them. I have created a trace file, and have got this output:

Exception in thread "main"# START
NON-TRANSLATABLEjava.lang.NullPointerException
at java.lang.String.compareToIgnoreCase(String.java:603)

at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:94)

at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:152)

at
com.itextpdf.text.pdf.OutputStreamCounter.flush(OutputStreamCounter.java:89)

at com.itextpdf.text.DocWriter.close(DocWriter.java:233)

at com.itextpdf.text.pdf.PdfWriter.close(PdfWriter.java:1341)

at com.itextpdf.text.pdf.PdfDocument.close(PdfDocument.java:901)

at com.itextpdf.text.Document.close(Document.java:415)

It is the first time I see # START NON-TRANSLATABLE statement, and haven't
located it in IBM documentation. Only a reference in Eclipse, which I don't
use here.
It is probably an issue related to CCSID and it is my first area of
revision now. Probably there is a conflict between text (a simple Hello
world) and properties or job definitions.
But if any of yours have dealt with such statement, it would help me to get
context on it.
Kind regards
Jorge Ubeda

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.