We use iText for collecting one or more pdf-files into one pdf.

File currentFile = null;
PdfReader reader = null;

File pdfDir = new File("C:/pdf/");
File[] pdfs = pdfDir.listFiles();
for (int i = 0; i < pdfs.length; i++) {
  currentFile = pdfs[i];
  reader = new PdfReader(new FileInputStream(currentFile));
  ...
}

Sometimes the creation of the PdfReader gives a StackOverflowException in the
recursive calling of removeUnusedNode. We get this exception in the latest
release too.
This happens when using jdk 1.4.2.

When we try the same in jdk 1.3.1, we don't get the exceptions and the metod
succeeds.

Can we avoid this exception?


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to