You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Steve Link (JIRA)" <ji...@apache.org> on 2009/12/07 15:27:18 UTC

[jira] Created: (PDFBOX-579) WrappedIOException Version 1.5 PDF NET compile

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.


[jira] Updated: (PDFBOX-579) WrappedIOException Version 1.5 PDF NET compile

Posted by "Steve Link (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Link updated PDFBOX-579:
------------------------------


Thanks for the reply.  That is the version that I have and the location that it was downloaded from.  I still get the message so I must have a dll version crossed up.  Are the 0.38.0.2 IKVM versions correct for that release?

> 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.


[jira] Commented: (PDFBOX-579) WrappedIOException Version 1.5 PDF NET compile

Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787785#action_12787785 ] 

Andreas Lehmkühler commented on PDFBOX-579:
-------------------------------------------

The reported issue should be resolved with PDFBOX-536. Daniel build a .NET version [1] which should include that fix.

[1] http://markmail.org/message/bmirsfdh3fua2wxq

> 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.