You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (Jira)" <ji...@apache.org> on 2021/03/23 20:23:00 UTC

[jira] [Commented] (TIKA-3334) Threadsafety bug in OpenDocumentParser

    [ https://issues.apache.org/jira/browse/TIKA-3334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17307404#comment-17307404 ] 

Tim Allison commented on TIKA-3334:
-----------------------------------

The EmbeddedDocumentUtil is not threadsafe.  We need to create a new one for each parse.  This is easily reproducible, and the unit test is straightforward.

> Threadsafety bug in OpenDocumentParser
> --------------------------------------
>
>                 Key: TIKA-3334
>                 URL: https://issues.apache.org/jira/browse/TIKA-3334
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Major
>
> Example file:
> https://corpora.tika.apache.org/base/docs/bug_trackers/LIBRE_OFFICE/38177-46563/LIBRE_OFFICE-45041-0.ods
> In 1.25, the content of the spreadsheet correctly shows up in the spreadsheet entry.  In 1.26-SNAPSHOT, most of the content of the spreadsheet ends up in the entry for the thumbnail.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)