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 2021/03/08 07:31:00 UTC

[jira] [Commented] (PDFBOX-5119) Can render PDF with PDFRenderer but not with PageRenderer II (Other PDF, other bug)

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

Tilman Hausherr commented on PDFBOX-5119:
-----------------------------------------

Same problem as in the other issue
{code}
annotation.constructAppearances(renderer.document);
{code}
likely {{renderer}} being null.

> Can render PDF with PDFRenderer but not with PageRenderer II (Other PDF, other bug)
> -----------------------------------------------------------------------------------
>
>                 Key: PDFBOX-5119
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5119
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.20
>            Reporter: Daniel Migowski
>            Priority: Major
>
> |This time the following exception:
>  
> Exception in thread "main" java.lang.NullPointerExceptionException in thread "main" java.lang.NullPointerException 
> at org.apache.pdfbox.rendering.PageDrawer.showAnnotation(PageDrawer.java:1430)
> at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:275) 
> at de.ikoffice.pdf.SimplePDFPageRenderer.main(SimplePDFPageRenderer.java:60)
>  
>  PDF is here: [[https://www.ikoffice.de/temp/OtherBrokenPDF.pdf]]
>   
>  See PDFBOX-5118 for the Java Example files that produce the NPE.|



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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