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/01/08 09:09:00 UTC
[jira] [Reopened] (PDFBOX-5749) NegativeArraySizeException during print when scaling causes w and h to be 0
[ https://issues.apache.org/jira/browse/PDFBOX-5749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr reopened PDFBOX-5749:
-------------------------------------
Reopening due to comment and also because I tested the code from the JDK issue, I made the mistake not to read the stack trace properly. The stack trace doesn't mention PageDrawer at all.
> NegativeArraySizeException during print when scaling causes w and h to be 0
> ---------------------------------------------------------------------------
>
> Key: PDFBOX-5749
> URL: https://issues.apache.org/jira/browse/PDFBOX-5749
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.30, 3.0.1 PDFBox
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Major
> Fix For: 2.0.31, 3.0.2 PDFBox, 4.0.0
>
>
> See attached PR by [~vmerkel] and my comments. The cause of the bug is in the JDK itself. I'm in favor of just catching the exception until the jdk people fix this bug.
--
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