incubator-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis De Brabandere <franci...@gmail.com>
Subject Re: Unable to load PDF
Date Mon, 14 Sep 2009 19:42:22 GMT
This is the general incubator list. Better send your mail to:
pdfbox-users@incubator.apache.org (after subscribing)
http://incubator.apache.org/pdfbox/mailing-list.html

Cheers,
Francis

On Mon, Sep 14, 2009 at 9:17 PM, Hicks, Matt
<mhicks@captiveimagination.com> wrote:
> Hey guys, I'm using the latest code from the trunk in the SVN repository and
> am having trouble loading a PDF.  I'm getting the following exception:
>
> Exception in thread "main" org.apache.pdfbox.exceptions.WrappedIOException
>    at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:237)
>    at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:841)
>    at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:808)
>    at org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:733)
>    at test.Test.main(Test.java:21)
> Caused by: java.util.NoSuchElementException
>    at java.util.AbstractList$Itr.next(Unknown Source)
>    at
> org.apache.pdfbox.pdfparser.PDFXrefStreamParser.parse(PDFXrefStreamParser.java:115)
>    at
> org.apache.pdfbox.cos.COSDocument.parseXrefStreams(COSDocument.java:538)
>    at org.apache.pdfbox.pdfparser.PDFParser.parse(PDFParser.java:203)
>    ... 4 more
>
> This occurs when I call PDDocument.load("test02.pdf");
>
> For testing purposes you may find the PDF I'm using here:
> http://captiveimagination.com/download/test02.pdf
>
> Thanks!
>



-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org


Mime
View raw message