WrappedIOException Version 1.5 PDF NET compile
----------------------------------------------

                 Key: PDFBOX-579
                 URL: https://issues.apache.org/jira/browse/PDFBOX-579
             Project: PDFBox
          Issue Type: Bug
          Components: Parsing
    Affects Versions: 0.8.0-incubator
         Environment: XP Pro, .Net2, laptop dual core 4G Mem
            Reporter: Steve Link
            Priority: Minor
             Fix For: 1.0.0


I am trying to extract text from newer versions of PDF files using C# code.  
With version 0.7.3 I can successfully extract PDF version 1.4 but it will not 
work on 1.5.  I downloaded 0.8.0 incubating and ran ExtractText.  It gives 
warnings on the 1.4 version but still works.  With the 1.5 PDF version it gives

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:861)
        At org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:825)
        At org.apache.pdfbox.pdmodel.PDDocument.load(PDDocument.java:750)
Caused by: java.util.NoSuchElementException
        At java.util.ArrayList$Itr.next(ArrayList.java:757)
        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:205)
        ... 4 more

Am I missing something in my setup or do I need to download/create a new NET 
DLL file.  I have not found explicit instructions on using IKVM to create the 
NET library so I am a bit leery of attempting that at the moment.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to