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 2024/12/06 12:02:00 UTC

[jira] [Updated] (PDFBOX-5919) PDPage.getTrimBox() returns null

     [ https://issues.apache.org/jira/browse/PDFBOX-5919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr updated PDFBOX-5919:
------------------------------------
    Fix Version/s:     (was: 2.0.33)

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