Hi ! Using BinaryFormatter.Deserialize in multithreaded mode, time to time I have received:
> Unhandled Exception: System.ArgumentNullException: Argument cannot be > null. > Parameter name: enumType > at System.Enum.Format (System.Type enumType, System.Object value, > System.String format) [0x00000] > at System.Enum.ToString (System.String format) [0x00000] > at System.Enum.ToString () [0x00000] > at System.String.Concat (System.Object obj1, System.Object obj2) > [0x00000] > at > System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObject > (System.IO.BinaryReader reader) [0x00000] > at > System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGraph > (System.IO.BinaryReader reader, Boolean readHeaders, System.Object& > result, System.Runtime.Remoting.Messaging.Header[]& headers) [0x00000] > at > System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeserialize > > (System.IO.Stream serializationStream, > System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000] > at > System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize > (System.IO.Stream serializationStream) [0x00000] Unfortunately, I cannot reproduce this situation in pure form, because it is occured in distributed application. But how is it possible at all I wonder ? Thanks. Yury. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
