[Mono-bugs] [Bug 547484] I get an exception when trying to serialize an object with BinaryFormatter

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 2 16:34:12 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=547484

User gnorton at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=547484#c5


Geoff Norton <gnorton at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|gnorton at novell.com          |vargaz at gmail.com




--- Comment #5 from Geoff Norton <gnorton at novell.com>  2009-11-02 14:34:06 MST ---
This testcase works with the linker now, but we get:

System.ExecutionEngineException: Attempting to JIT compile method
'System.Runtime.Serialization.Formatters.Binary.ObjectWriter:GetObjectData
(object,System.Runtime.Serialization.Formatters.Binary.TypeMetadata&,object&)'
while running with --aot-only. 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 bintest.Settings.Dispose () [0x00000] 
 at bintest.AppDelegate.ButtonhandleTouchUpInside (System.Object sender,
System.EventArgs e) [0x00000] 

-> vargaz

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


More information about the mono-bugs mailing list