When I try to attach a simple pdf example I get this error generated by the forum.
Code:
An error has occurred.
For detailed error information, please see the HTML source code, and contact the forum Administrator.
/var/lib/jforum/upload/2010/4/1/3b3a66d1404466abb526424dc6768b4a_54273.pdf_ (Permission denied)
Forum Index
And unforntunatly I dont get a stack trace when the exception occurs, just this:
Code:
ICEsoft ICEpdf Core 4.0.0
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
When I replace the IcePdf parser with a different parser, I dont experience any problems when getting the text from this type of pdf file.
ie
Code:
org.pdfbox.util.PDFTextStripper stripper = new org.pdfbox.util.PDFTextStripper();
stripper.writeText(pdfDocument, writer);