You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2024/08/07 14:27:00 UTC
[jira] [Assigned] (TIKA-4296) "Parameter must be 1-based, but is -1" when using Tika with PDFBox 2.0.32
[ https://issues.apache.org/jira/browse/TIKA-4296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr reassigned TIKA-4296:
-------------------------------------
Assignee: Tilman Hausherr
> "Parameter must be 1-based, but is -1" when using Tika with PDFBox 2.0.32
> -------------------------------------------------------------------------
>
> Key: TIKA-4296
> URL: https://issues.apache.org/jira/browse/TIKA-4296
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 2.9.2
> Reporter: Thomas Mortagne
> Assignee: Tilman Hausherr
> Priority: Major
> Attachments: pdf.pdf
>
>
> I just upgraded my pdfbox dependency to 2.0.32 and any Tika#parseToString of a pdf file seems to produce the following warning:
> {noformat}
> WARN o.apache.pdfbox.text.PDFTextStripper - Parameter must be 1-based, but is -1
> {noformat}
> The behavior is the same as with 2.0.31, it's just that pdfbox is apparently not too happy anyore with the way it's used by Tika.
> This new warning was apparently introduced by PDFBOX-5822.
> Just in case it's not actually any file, here is one with which I reproduce: [^pdf.pdf]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)