hello

i am trying to develop application with .net remoting for communication. at the 
moment - everything is well, but when i want to send object, that is not one of 
the default types, the exception raised:

Unhandled Exception: System.NullReferenceException: Object reference not set to 
an instance of an object

the object is not null (checked line before call of the remote method). and in 
the declaration of the class it is marked as [Serializable]. don't know, what 
is the problem about. any idea?

mirek

p.s.: the complete exception

Unhandled Exception: System.NullReferenceException: Object reference not set to 
an instance of an object

Server stack trace: 
  at System.Runtime.Remoting.Channels.SimpleBinder.BindToType (System.String 
assemblyName, System.String typeName) [0x00000] 
  at System.Runtime.Serialization.Formatters.Soap.SoapTypeMapper.GetType 
(System.String xmlName, System.String xmlNamespace) [0x00000] 
  at System.Runtime.Serialization.Formatters.Soap.SoapReader.Deserialize () 
[0x00000] 
  at System.Runtime.Serialization.Formatters.Soap.SoapReader.Deserialize 
(System.IO.Stream inStream, ISoapMessage soapMessage) [0x00000] 
  at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize 
(System.IO.Stream serializationStream, 
System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000] 
  at System.Runtime.Serialization.Formatters.Soap.SoapFormatter.Deserialize 
(System.IO.Stream serializationStream) [0x00000] 
  at System.Runtime.Remoting.Channels.SoapServerFormatterSink.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.PrivateInvoke 
(System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception& 
exc, System.Object[]& out_args) [0x00000]
-- 
e-mail: [EMAIL PROTECTED]
jabber: [EMAIL PROTECTED]
homepage: http://www.intrak.sk/~binas

english:
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html

slovak:
prosim, neposielajte mi prilohy vo formatoch .doc a .ppt (power point)
precitajte si http://www.fsf.org/philosophy/no-word-attachments.cs.html
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to