You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2015/02/01 19:03:34 UTC

[jira] [Resolved] (PDFBOX-2653) Image extraction fails with attached PDF

     [ https://issues.apache.org/jira/browse/PDFBOX-2653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr resolved PDFBOX-2653.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.8.9

Thanks for finding this. You can test with a snapshot version within a few hours:
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox/1.8.9-SNAPSHOT/

> Image extraction fails with attached PDF
> ----------------------------------------
>
>                 Key: PDFBOX-2653
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2653
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 1.8.8, 2.0.0
>         Environment: LinuxMint 1.7 64 bits
>            Reporter: Paco Avila
>            Assignee: Tilman Hausherr
>             Fix For: 1.8.9, 2.0.0
>
>         Attachments: image.pdf
>
>
> ExtractImages failed with the following exception:
> java.lang.NullPointerException
> 	at org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt$TiffWrapper.buildHeader(PDCcitt.java:651)
> 	at org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt$TiffWrapper.<init>(PDCcitt.java:497)
> 	at org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt$TiffWrapper.<init>(PDCcitt.java:488)
> 	at org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt.write2OutputStream(PDCcitt.java:237)
> 	at org.apache.pdfbox.pdmodel.graphics.xobject.PDXObjectImage.write2file(PDXObjectImage.java:265)
> 	at org.apache.pdfbox.ExtractImages.processResources(ExtractImages.java:255)
> 	at org.apache.pdfbox.ExtractImages.extractImages(ExtractImages.java:180)
> 	at org.apache.pdfbox.ExtractImages.main(ExtractImages.java:80)
> 	at org.apache.pdfbox.PDFBox.main(PDFBox.java:62)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org