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/11/25 16:18:40 UTC

[jira] Created: (LUCENENET-311) TestNRTReaderWithThreads.TestIndexing

TestNRTReaderWithThreads.TestIndexing
-------------------------------------

                 Key: LUCENENET-311
                 URL: https://issues.apache.org/jira/browse/LUCENENET-311
             Project: Lucene.Net
          Issue Type: Bug
            Reporter: Digy


The problem is at TearDown. Because of harmless exceptions, It fails.
(Lucene.Net.Index.TestNRTReaderWithThreads.TestIndexing:
An unhandled System.Runtime.Serialization.SerializationException was thrown while executing this test : Unable to find assembly 'Lucene.Net, Version=2.9.1.1, Culture=neutral, PublicKeyToken=null'.)



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


[jira] Commented: (LUCENENET-311) TestNRTReaderWithThreads.TestIndexing

Posted by "Digy (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENENET-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782542#action_12782542 ] 

Digy commented on LUCENENET-311:
--------------------------------

Hi Eran,
I applied your patch, but the test still fails.( or better to say, It passes rarely)

DIGY

> TestNRTReaderWithThreads.TestIndexing
> -------------------------------------
>
>                 Key: LUCENENET-311
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-311
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Digy
>         Attachments: LUCENENET-311.patch, LUCENENET-311.patch
>
>
> The problem is at TearDown. Because of harmless exceptions, It fails.
> (Lucene.Net.Index.TestNRTReaderWithThreads.TestIndexing:
> An unhandled System.Runtime.Serialization.SerializationException was thrown while executing this test : Unable to find assembly 'Lucene.Net, Version=2.9.1.1, Culture=neutral, PublicKeyToken=null'.)

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


[jira] Updated: (LUCENENET-311) TestNRTReaderWithThreads.TestIndexing

Posted by "Digy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Digy updated LUCENENET-311:
---------------------------

    Attachment: LUCENENET-311.patch

The problem lies deep inside of the IndexWriter.
"dss" is declared as "Set" in java where key can be null.
A hard to find, easy to patch bug.

DIGY

> TestNRTReaderWithThreads.TestIndexing
> -------------------------------------
>
>                 Key: LUCENENET-311
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-311
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Digy
>         Attachments: LUCENENET-311.patch, LUCENENET-311.patch, LUCENENET-311.patch
>
>
> The problem is at TearDown. Because of harmless exceptions, It fails.
> (Lucene.Net.Index.TestNRTReaderWithThreads.TestIndexing:
> An unhandled System.Runtime.Serialization.SerializationException was thrown while executing this test : Unable to find assembly 'Lucene.Net, Version=2.9.1.1, Culture=neutral, PublicKeyToken=null'.)

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


[jira] Resolved: (LUCENENET-311) TestNRTReaderWithThreads.TestIndexing

Posted by "Digy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Digy resolved LUCENENET-311.
----------------------------

    Resolution: Fixed

final patch applied.
DIGY

> TestNRTReaderWithThreads.TestIndexing
> -------------------------------------
>
>                 Key: LUCENENET-311
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-311
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Digy
>         Attachments: LUCENENET-311.patch, LUCENENET-311.patch, LUCENENET-311.patch
>
>
> The problem is at TearDown. Because of harmless exceptions, It fails.
> (Lucene.Net.Index.TestNRTReaderWithThreads.TestIndexing:
> An unhandled System.Runtime.Serialization.SerializationException was thrown while executing this test : Unable to find assembly 'Lucene.Net, Version=2.9.1.1, Culture=neutral, PublicKeyToken=null'.)

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


[jira] Updated: (LUCENENET-311) TestNRTReaderWithThreads.TestIndexing

Posted by "Digy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Digy updated LUCENENET-311:
---------------------------

    Attachment: LUCENENET-311.patch

Maybe someone can find why we get this serialization error.
DIGY

> TestNRTReaderWithThreads.TestIndexing
> -------------------------------------
>
>                 Key: LUCENENET-311
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-311
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Digy
>         Attachments: LUCENENET-311.patch
>
>
> The problem is at TearDown. Because of harmless exceptions, It fails.
> (Lucene.Net.Index.TestNRTReaderWithThreads.TestIndexing:
> An unhandled System.Runtime.Serialization.SerializationException was thrown while executing this test : Unable to find assembly 'Lucene.Net, Version=2.9.1.1, Culture=neutral, PublicKeyToken=null'.)

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


[jira] Commented: (LUCENENET-311) TestNRTReaderWithThreads.TestIndexing

Posted by "Eran Sevi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENENET-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782805#action_12782805 ] 

Eran Sevi commented on LUCENENET-311:
-------------------------------------

You're right DIGY.

It seems like it passes sporadicaly.

After adding the attribute it passes so I figured it solved it. When I tried again today, it failed. 
Strange enough, when I added the Serializable attribute to another class, it also passed once and then failed again.

Eran.

> TestNRTReaderWithThreads.TestIndexing
> -------------------------------------
>
>                 Key: LUCENENET-311
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-311
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Digy
>         Attachments: LUCENENET-311.patch, LUCENENET-311.patch
>
>
> The problem is at TearDown. Because of harmless exceptions, It fails.
> (Lucene.Net.Index.TestNRTReaderWithThreads.TestIndexing:
> An unhandled System.Runtime.Serialization.SerializationException was thrown while executing this test : Unable to find assembly 'Lucene.Net, Version=2.9.1.1, Culture=neutral, PublicKeyToken=null'.)

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


[jira] Updated: (LUCENENET-311) TestNRTReaderWithThreads.TestIndexing

Posted by "Eran Sevi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eran Sevi updated LUCENENET-311:
--------------------------------

    Attachment: LUCENENET-311.patch

Attached patch that should solve it - 

Added [Serializable] to HeavyAtomicInt class in TestIndexWriterReader.

Test finished successfully with the patch.

> TestNRTReaderWithThreads.TestIndexing
> -------------------------------------
>
>                 Key: LUCENENET-311
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-311
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Digy
>         Attachments: LUCENENET-311.patch, LUCENENET-311.patch
>
>
> The problem is at TearDown. Because of harmless exceptions, It fails.
> (Lucene.Net.Index.TestNRTReaderWithThreads.TestIndexing:
> An unhandled System.Runtime.Serialization.SerializationException was thrown while executing this test : Unable to find assembly 'Lucene.Net, Version=2.9.1.1, Culture=neutral, PublicKeyToken=null'.)

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