[ https://issues.apache.org/jira/browse/PDFBOX-5919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17903633#comment-17903633 ]
ASF subversion and git services commented on PDFBOX-5919: --------------------------------------------------------- Commit 1922343 from Tilman Hausherr in branch 'pdfbox/trunk' [ https://svn.apache.org/r1922343 ] PDFBOX-5919: return cropBox if no trimbox exists > PDPage.getTrimBox() returns null > -------------------------------- > > Key: PDFBOX-5919 > URL: https://issues.apache.org/jira/browse/PDFBOX-5919 > Project: PDFBox > Issue Type: Bug > Components: PDModel > Affects Versions: 3.0.3 PDFBox > Reporter: Tilman Hausherr > Priority: Minor > Labels: regression > Fix For: 3.0.4 PDFBox, 4.0.0 > > > As reported on the mailing list > ==== > PDPage.getTrimBox() not working after migrating from pdfbox 2.0.26 to 3.0.3 > java.lang.NullPointerException: Cannot invoke > "org.apache.pdfbox.pdmodel.common.PDRectangle.getWidth()" because "box" is > null > Under pdfbox 2.0.26 the code worked fine. > === > Happened in r1887869 -- 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