[Mono-devel-list] Problem with MS.NET and Mono with Remoting

Hubert FONGARNAND informatique.internet at fiducial.fr
Mon Jul 18 10:20:34 EDT 2005


I've an issue with a Mono .NET Remoting server and a MS.NET (windows 2003)
client...

Description of Problem:
I've got a NullReference Exception when dealing with Collection of objects :

Exception non gérée : System.NullReferenceException: Object reference not
set to
 an instance of an object

Server stack trace:
in <0x00015> System.Collections.CollectionBase:GetEnumerator ()
in <0x0001e> IntranetEngineServer.CServerManager:truc
(IntranetEngineServer.Cont
ainer C)
in <0x00000> <unknown method>
in (wrapper managed-to-native)
System.Runtime.Remoting.RemotingServices:Internal
Execute (System.Reflection.MethodBase,object,object[],object[]&)
in <0x00199>
System.Runtime.Remoting.RemotingServices:InternalExecuteMessage (Sy
stem.MarshalByRefObject target, IMethodCallMessage reqMsg)

Exception rethrown at [0]:
   at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage req
Msg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgDa
ta, Int32 type)
   at IntranetEngineServer.CServerManager.truc(Container C)
   at MainClass.Main(String[] args)

I've no problems with a Mono Server and a Mono Client...

See http://bugzilla.ximian.com/show_bug.cgi?id=75575 for testcases

_______________________________________________
Ce message et les éventuels documents joints peuvent contenir des informations confidentielles.
Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.
Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu.



More information about the Mono-devel-list mailing list