You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Theo Antoniou <th...@crankingsoftware.com> on 2009/07/15 08:03:59 UTC

Exception loading PDF (expected an integer type)

Trying to load a PDF file and we are getting an exception.  (see below)  
Found some bug fixes which suggested that the exception was fixed, but 
after downloading the latest source code and building it, now getting 
the same exception at a different point in the loading.  Here is the 
exception output:

java.io.IOException: Error: Expected an integer type, actual='>>'
    at org.apache.pdfbox.pdfparser.BaseParser.readInt(BaseParser.java:1220)
    at org.apache.pdfbox.pdfparser.PDFParser.parseObject(PDFParser.java:449)
    at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:167)
    at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:736)
    at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:704)

-- 
Regards,
Theo Antoniou  Theo@CrankingSoftware.com
Office (727) 493-2108  Mobile (954) 816-6442
Calendar http://crankingsoftware.com/theocal
Skype: theoantoniou

There's no place like 127.0.0.1