You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Marc Miller (JIRA)" <ji...@apache.org> on 2007/06/04 18:37:35 UTC

[jira] Updated: (NUTCH-496) ConcurrentModificationException can be thrown when getSorted() is called.

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

Marc Miller updated NUTCH-496:
------------------------------

    Attachment: language_analyzer_ngram.patch

Updated the getSorted() method to be synchronized.

> ConcurrentModificationException can be thrown when getSorted() is called.
> -------------------------------------------------------------------------
>
>                 Key: NUTCH-496
>                 URL: https://issues.apache.org/jira/browse/NUTCH-496
>             Project: Nutch
>          Issue Type: Bug
>          Components: fetcher
>    Affects Versions: 0.9.0
>         Environment: Nutch application, during fetch.
>            Reporter: Marc Miller
>         Attachments: language_analyzer_ngram.patch
>
>
> NGramProfile (within the org.apache.nutch.analysis.lang) patckage is not threadsafe due to a ConcurrentModificationException that can occur if during iteration of the resulant List from getSorted() and another call to getSorted() is invoked from within another thread.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.