You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Olivier Grisel (JIRA)" <ji...@apache.org> on 2011/04/07 18:42:05 UTC

[jira] [Updated] (STANBOL-147) NamedEntityExtractionEnhancementEngine is not thread safe

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

Olivier Grisel updated STANBOL-147:
-----------------------------------

    Attachment: STANBOL-147.diff

For reference, here is the patch I used to test with the development version of OpenNLP

> NamedEntityExtractionEnhancementEngine is not thread safe
> ---------------------------------------------------------
>
>                 Key: STANBOL-147
>                 URL: https://issues.apache.org/jira/browse/STANBOL-147
>             Project: Stanbol
>          Issue Type: Bug
>            Reporter: Olivier Grisel
>            Assignee: Olivier Grisel
>         Attachments: STANBOL-147.diff
>
>
> Under high concurrency, using the same mode instances in several threads can trigger NPEs. One should put the models into thread locals instead.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira