You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (Jira)" <ji...@apache.org> on 2022/10/01 11:21:00 UTC

[jira] [Closed] (PDFBOX-2538) avoid "-1 : Unknown error" message in preflight

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

Andreas Lehmkühler closed PDFBOX-2538.
--------------------------------------
    Fix Version/s: 3.0.0 PDFBox
                   2.0.2
       Resolution: Fixed

The described exception no longer occurs starting with 2.0.2. I didn't dig deeper into this to find the change fixing this.

> avoid "-1 : Unknown error" message in preflight
> -----------------------------------------------
>
>                 Key: PDFBOX-2538
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2538
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Preflight
>    Affects Versions: 2.0.0
>            Reporter: Ralf Hauser
>            Priority: Minor
>             Fix For: 3.0.0 PDFBox, 2.0.2
>
>
> e.g. error 4 in PDFBOX-2513
> after all, we know what the reason is.
> Ideas:
> 1) create COSStreamException extends IOException in COSStream.java
> 2) in SinglePageValidationProcess.validateContent() examine the root cause exception type to classify smarter than just ERROR_UNKOWN_ERROR
> any other thoughts?



--
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