Tilman Hausherr created PDFBOX-5919:
---------------------------------------
Summary: 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, 2.0.32
Reporter: Tilman Hausherr
Fix For: 2.0.33, 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: [email protected]
For additional commands, e-mail: [email protected]