[Mono-bugs] [Bug 410696] BinaryFormatter differences between Mono and MS runtime

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jul 23 12:02:30 EDT 2008


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

User christoffer at curo.dk added comment
https://bugzilla.novell.com/show_bug.cgi?id=410696#c7





--- Comment #7 from Christoffer Sørensen <christoffer at curo.dk>  2008-07-23 10:02:30 MDT ---
(test file compiled with gmcs)

Output from mono --debug:

Unhandled Exception: System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation. --->
System.IndexOutOfRangeException
: Cannot find column 5.
  at System.Data.DataColumnCollection.get_Item (Int32 index) [0x00045] in
C:\cyg
win\tmp\monobuild\build\BUILD\mono-1.9.1\mcs\class\System.Data\System.Data\DataC
olumnCollection.cs:108
  at System.Data.DataTable.DeserializeConstraints (System.Collections.ArrayList
arrayList) [0x0020c] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.9.1\mcs\class
\System.Data\System.Data\DataTable.cs:214
  at System.Data.DataTable.BinaryDeserializeTable
(System.Runtime.Serialization.
SerializationInfo info) [0x003a2] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.
9.1\mcs\class\System.Data\System.Data\DataTable.cs:366
  at System.Data.DataTable..ctor
(System.Runtime.Serialization.SerializationInfo
 info, StreamingContext context) [0x000c0] in
C:\cygwin\tmp\monobuild\build\BUIL
D\mono-1.9.1\mcs\class\System.Data\System.Data\DataTable.cs:426
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke
(o
bject,object[])
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invok
eAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globa
lization.CultureInfo culture) [0x0003f] in
C:\cygwin\tmp\monobuild\build\BUILD\m
ono-1.9.1\mcs\class\corlib\System.Reflection\MonoMethod.cs:404 --- End of inner
exception stack trace ---

  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags
invok
eAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globa
lization.CultureInfo culture) [0x00064] in
C:\cygwin\tmp\monobuild\build\BUILD\m
ono-1.9.1\mcs\class\corlib\System.Reflection\MonoMethod.cs:414
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[]
par
ameters) [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.9.1\mcs\class\c
orlib\System.Reflection\MethodBase.cs:90
  at System.Runtime.Serialization.ObjectRecord.LoadData
(System.Runtime.Serializ
ation.ObjectManager manager, ISurrogateSelector selector, StreamingContext
conte
xt) [0x000d7] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.9.1\mcs\class\corlib
\System.Runtime.Serialization\ObjectManager.cs:578
  at System.Runtime.Serialization.ObjectManager.DoFixups () [0x00069] in
C:\cygw
in\tmp\monobuild\build\BUILD\mono-1.9.1\mcs\class\corlib\System.Runtime.Serializ
ation\ObjectManager.cs:84
  at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject
(System.IO.BinaryReader reader) [0x0000f] in
C:\cygwin\tmp\monobuild\build\BUILD
\mono-1.9.1\mcs\class\corlib\System.Runtime.Serialization.Formatters.Binary\Obje
ctReader.cs:115
  at
System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph
 (System.IO.BinaryReader reader, Boolean readHeaders, System.Object& result,
Sys
tem.Runtime.Remoting.Messaging.Header[]& headers) [0x00041] in
C:\cygwin\tmp\mon
obuild\build\BUILD\mono-1.9.1\mcs\class\corlib\System.Runtime.SerializationForm
atters.Binary\ObjectReader.cs:105
  at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeser
ialize (System.IO.Stream serializationStream,
System.Runtime.Remoting.Messaging.
HeaderHandler handler) [0x00076] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-1.9
1\mcs\class\corlib\System.Runtime.Serialization.Formatters.Binary\BinaryFormatt
er.cs:177
  at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize
(System.IO.Stream serializationStream) [0x00000] in
C:\cygwin\tmp\monobuild\buil
d\BUILD\mono-1.9.1\mcs\class\corlib\System.Runtime.Serialization.FormattersBina
ry\BinaryFormatter.cs:134
  at Program.Main () [0x00000]


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