[Mono-bugs] [Bug 80761][Nor] New - TypeLoadException when remoting from Windows

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Feb 8 05:29:08 EST 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jacobilsoe at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=80761

--- shadow/80761	2007-02-08 05:29:08.000000000 -0500
+++ shadow/80761.tmp.9494	2007-02-08 05:29:08.000000000 -0500
@@ -0,0 +1,92 @@
+Bug#: 80761
+Product: Mono: Runtime
+Version: 1.2
+OS: other
+OS Details: CentOS 4.4
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: remoting
+AssignedTo: lluis at ximian.com                            
+ReportedBy: jacobilsoe at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: TypeLoadException when remoting from Windows
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+
+I am trying to do a remote call from Windows to an application running
+on Linux under Mono 1.2.2.1. When I try it, I get the exception below.
+There is not much info as to what might be wrong. Is it a missing
+assembly? It works fine from Windows to Windows. To be able to further 
+diagnose the issue it would be nice with a better error message from the 
+TypeLoadException.
+
+Exception: System.TypeLoadException
+Message: A type load exception has occurred.
+Source: mscorlib
+
+Server stack trace:
+ at <0x00000> <unknown method>
+ at (wrapper managed-to-native) System.Type:internal_from_name
+(string,bool,bool)
+ at System.Type.GetType (System.String typeName, Boolean
+throwOnError) [0x00000]
+ at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadType
+(System.IO.BinaryReader reader, TypeTag code) [0x00000]
+ at 
+System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadTypeMetadat
+a
+(System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean
+hasTypeInfo) [0x00000]
+ at 
+System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectInsta
+nce
+(System.IO.BinaryReader reader, Boolean isRuntimeObject, Boolean
+hasTypeInfo, System.Int64& objectId, System.Object& value,
+System.Runtime.Serialization.SerializationInfo& info) [0x00000]
+ at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObject
+(BinaryElement element, System.IO.BinaryReader reader, System.Int64&
+objectId, System.Object& value,
+System.Runtime.Serialization.SerializationInfo& info) [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.MessageFormatter.ReadMethodC
+all
+(System.IO.BinaryReader reader, Boolean hasHeaders,
+System.Runtime.Remoting.Messaging.HeaderHandler headerHandler,
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+formatter) [0x00000]
+ at 
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDeser
+ialize
+(System.IO.Stream serializationStream,
+System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000]
+ at 
+System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize
+(System.IO.Stream serializationStream,
+System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000]
+ at 
+System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage
+(IServerChannelSinkStack sinkStack, IMessage requestMsg,
+ITransportHeaders requestHeaders, System.IO.Stream requestStream,
+IMessage& responseMsg, ITransportHeaders& responseHeaders,
+System.IO.Stream& responseStream) [0x00000]
+
+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 Mgt.add_MgtEvent(MgtEventHandler value)


More information about the mono-bugs mailing list