[Mono-bugs] [Bug 348767] New: TableRange not marked as Serializable

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Dec 14 11:04:39 EST 2007


https://bugzilla.novell.com/show_bug.cgi?id=348767


           Summary: TableRange not marked as Serializable
           Product: Mono: Runtime
           Version: 1.2.6
          Platform: x86-64
        OS/Version: RHEL 4
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: david.marshall at ansys.com
         QAContact: mono-bugs at ximian.com
          Found By: ---


Description of Problem:

I have an nunit test that worked ok in 1.2.5, but fails in 1.2.6

Steps to reproduce the problem:

Difficult without sending the code. 
Adding a [Serialiazable] attribute at
mcs/class/corlib/Mono.Globalization.Unicode/CodePointIndexer.cs, line 56 seems
to fix my problem, though.

Actual Results:

Unhandled Exception:
System.Runtime.Serialization.SerializationException: Type
Mono.Globalization.Unicode.CodePointIndexer+TableRange is not marked as
Serializable.
Server stack trace: 
        at
System.Runtime.Serialization.Formatters.Binary.BinaryCommon.CheckSerializable
(System.Type type, ISurrogateSelector selector, StreamingContext context)
[0x00000] 
        at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.GetObjectData
(System.Object obj,
System.Runtime.Serialization.Formatters.Binary.TypeMetadata& metadata,
System.Object& data) [0x00000] 
        at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObject
(System.IO.BinaryWriter writer, Int64 id, System.Object obj) [0x00000] 
        at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectInstance
(System.IO.BinaryWriter writer, System.Object obj, Boolean isValueObject)
[0x00000] 
        at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteQueuedObjects
(System.IO.BinaryWriter writer) [0x00000] 
        at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteObjectGraph
(System.IO.BinaryWriter writer, System.Object obj,
System.Runtime.Remoting.Messaging.Header[] headers) [0x00000] 
        at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize
(System.IO.Stream serializationStream, System.Object graph,
System.Runtime.Remoting.Messaging.Header[] headers) [0x00000] 
        at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize
(System.IO.Stream serializationStream, System.Object graph) [0x00000] 
        at System.Runtime.Remoting.RemotingServices.SerializeCallData
(System.Object obj) [0x00000] 
        at (wrapper xdomain-dispatch) NUnit.Core.RemoteTestRunner:Run
(object,byte[]&,byte[]&)
Exception rethrown at [0]: 
        at (wrapper xdomain-invoke) NUnit.Core.RemoteTestRunner:Run
(NUnit.Core.EventListener,NUnit.Core.ITestFilter)
        at NUnit.Util.ProxyTestRunner.Run (EventListener listener, ITestFilter
filter) [0x00000] 
        at NUnit.ConsoleRunner.ConsoleUi.Execute
(NUnit.ConsoleRunner.ConsoleOptions options) [0x00000] 
        at NUnit.ConsoleRunner.Runner.Main (System.String[] args) [0x00000] 

Expected Results:


How often does this happen? 

Every time I run the test.

Additional Information:


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list