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

Tilman Hausherr commented on PDFBOX-5803:
-----------------------------------------

 
[https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.32-SNAPSHOT/|https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.32-SNAPSHOT/]
 

> 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: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to