You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Kevin Dotzenrod (JIRA)" <ji...@apache.org> on 2010/09/11 21:47:32 UTC

[jira] Issue Comment Edited: (LUCENENET-311) TestNRTReaderWithThreads.TestIndexing

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

Kevin Dotzenrod edited comment on LUCENENET-311 at 9/11/10 3:46 PM:
--------------------------------------------------------------------

I'm running lucene.net 2.9.2 and am still getting this exception.  Do I need to apply this patch to 2.9.2 source?  after process termination the index is left in a corrupt state.

exception details:
Event Type:        Error
Event Source:    ASP.NET 2.0.50727.0
Event Category:                None
Event ID:              1334
Date:                     9/9/2010
Time:                     12:42:11 AM
User:                     N/A
Computer:          SECDMDWAPPP02
Description:
An unhandled exception occurred and the process was terminated.

Application ID: DefaultDomain

Process ID: 4232

Exception: System.Runtime.Serialization.SerializationException

Message: Unable to find assembly 'Lucene.Net, Version=2.9.2.2, Culture=neutral, PublicKeyToken=null'.

StackTrace:    at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name)
   at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
   at System.Runtime.Serialization.Formatters.Binary.ObjectMap.Create(String name, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum)
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObject(MemoryStream stm)
   at System.AppDomain.Deserialize(Byte[] blob)
   at System.AppDomain.UnmarshalObject(Byte[] blob)


      was (Author: kdotzenrod):
    I'm running lucene.net 2.9.2 and am still getting this exception.  Do I need to apply this patch to 2.9.2 source?  after process termination the index is left in a corrupt state.

exception details:
Event Type:        Error
Event Source:    ASP.NET 2.0.50727.0
Event Category:                None
Event ID:              1334
Date:                     9/9/2010
Time:                     12:42:11 AM
User:                     N/A
Computer:          SECDMDWAPPP02
Description:
An unhandled exception occurred and the process was terminated.

Application ID: DefaultDomain

Process ID: 4232

Exception: System.Runtime.Serialization.SerializationException

Message: Unable to find assembly 'Lucene.Net, Version=2.9.1.2, Culture=neutral, PublicKeyToken=null'.

StackTrace:    at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name)
   at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
   at System.Runtime.Serialization.Formatters.Binary.ObjectMap.Create(String name, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum)
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObject(MemoryStream stm)
   at System.AppDomain.Deserialize(Byte[] blob)
   at System.AppDomain.UnmarshalObject(Byte[] blob)

  
> 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.