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 2021/03/13 10:27:00 UTC

[jira] [Updated] (PDFBOX-5127) Multithreading issue in JempBox's DateConverter

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

Tilman Hausherr updated PDFBOX-5127:
------------------------------------
    Affects Version/s: 1.8.16

> Multithreading issue in JempBox's DateConverter
> -----------------------------------------------
>
>                 Key: PDFBOX-5127
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5127
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.8.16
>            Reporter: Tim Allison
>            Priority: Major
>
> [~tilman] recently found an exception thrown from here ([https://github.com/apache/pdfbox/blob/1.8/jempbox/src/main/java/org/apache/jempbox/impl/DateConverter.java#L186)] in one run of tika-eval but not in another. 
>  
> This is a multithreading issue caused by [https://github.com/apache/pdfbox/blob/1.8/jempbox/src/main/java/org/apache/jempbox/impl/DateConverter.java#L43] SimpleDateFormat is not threadsafe.  I'm surprised we haven't seen this earlier, but so it goes.
>  
> Many, many thanks to Tilman for finding this!



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org