[ 
https://issues.apache.org/jira/browse/PDFBOX-5803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17837609#comment-17837609
 ] 

Asger Hautop Drewsen commented on PDFBOX-5803:
----------------------------------------------

Yeah seems like it. Where can I find the 2.0.32 snapshot version?

 

> Splitter throws NullPointerException when splitting certain PDFs
> ----------------------------------------------------------------
>
>                 Key: PDFBOX-5803
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5803
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.0.31
>            Reporter: Asger Hautop Drewsen
>            Priority: Critical
>
> Starting with version 2.0.31 (version 2.0.30 is not affected) some PDFs 
> result in the following exception to be thrown:
> {code:java}
> java.lang.NullPointerException: Cannot invoke 
> "org.apache.pdfbox.pdmodel.PDPage.getCOSObject()" because the return value of 
> "org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDPageDestination.getPage()"
>  is null
>         at 
> org.apache.pdfbox.multipdf.Splitter.fixDestinations(Splitter.java:153)
>         at org.apache.pdfbox.multipdf.Splitter.split(Splitter.java:136)
>         at ...{code}
> For instance it happens with the following PDF file: 
> [https://ptgmedia.pearsoncmg.com/images/9780132350884/samplepages/9780132350884.pdf]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to