[Mono-bugs] [Bug 381922] System.Runtime.Serialization.SerializationException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 2 06:56:24 EDT 2008


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

User mvl at oseb.be added comment
https://bugzilla.novell.com/show_bug.cgi?id=381922#c16





--- Comment #16 from Marc Van Laer <mvl at oseb.be>  2008-09-02 04:56:23 MDT ---
The problem still exists.

To resume the problem: The error occurs when Console (client part) and Proxy
(server part) are on different platforms (Windows and Linux). If both parts are
on the same platform (Windows or Linux) no error is generated.

The following error is trapped on the Console running on Windows and the Proxy
running on Linux, in the Console part:

---
A first chance exception of type 'System.NullReferenceException' occurred in
mscorlib.dll
System.NullReferenceException: Object reference not set to an instance of an
object.

Server stack trace: 
   at System.Collections.CaseInsensitiveHashCodeProvider.GetHashCode(Object
obj)
   at System.Collections.CompatibleComparer.GetHashCode(Object obj)
   at System.Collections.Hashtable.GetHash(Object key)
   at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean
add)
   at System.Collections.Hashtable.OnDeserialization(Object sender)
   at System.Runtime.Serialization.ObjectManager.RaiseDeserializationEvent()
   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.CoreChannel.DeserializeBinaryResponseMessage(Stream
inputStream, IMethodCallMessage reqMsg, Boolean bStrictBinding)
   at
System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage
msg)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
   at Reachability.Redirector.GetNextRequest(Guid slot, Message& m)
   at Reachability.ServerSinkProvider.WaitForRequest(Object o) in C:\Users\Marc
Van Laer\Desktop\test\X\RB\RechabilitySink.cs:line 201The thread 0x2c08 has
exited with code 0 (0x0).

---

Sorry for not answering any sooner but a man needs to have a vacation every 5
years.


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