You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Digy (JIRA)" <ji...@apache.org> on 2009/12/22 22:40:29 UTC

[jira] Issue Comment Edited: (LUCENENET-326) Bug in TestSort.TestParallelMultiSort

    [ https://issues.apache.org/jira/browse/LUCENENET-326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793796#action_12793796 ] 

Digy edited comment on LUCENENET-326 at 12/22/09 9:38 PM:
----------------------------------------------------------

There is another small issue related with this bug.  
Methods like *FieldCacheImpl.GetStringIndex* , *FieldCacheImpl.GetStrings* etc. get  ??"Object reference not set to an instance of an object"??  exception when *TestSort.TestParallelMultiSort* is executed with 10-20 threads in parallel. 
Making *FieldCacheImpl.Init* atomic solves the problem. 

I committed the patch.

DIGY

      was (Author: digydigy):
    There is another small issue related with this bug.  
Methods like *FieldCacheImpl.GetStringIndex* , *FieldCacheImpl.GetStrings* etc. get  ??"Object reference not set to an instance of an object"??  exception when *TestSort.TestParallelMultiSort* are executed with 10-20 threads in parallel. 
Making *FieldCacheImpl.Init* atomic solves the problem. 

I committed the patch.

DIGY
  
> Bug in TestSort.TestParallelMultiSort
> -------------------------------------
>
>                 Key: LUCENENET-326
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-326
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Digy
>            Assignee: Digy
>         Attachments: SupportClass.patch, TestSort.TestParallelMultiSort.JPG, TestSupportClass.patch
>
>
> I see this bug for the first time. Attached image is a good source for debugging.
> DIGY

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