[Mono-list] Remoting (was Remoting CORBA support)
Kevin Williams
zak@supernova.org
Sat, 15 Mar 2003 16:52:50 -0600
> The sample server (written in C) generates an IOR,
> which EchoClient.cs loads from file. However, it hits
> an exception when run:
>
> Exception: System.NullReferenceException: A null value
> was found where an object instance was required
> in <0x00066> 00 System.Runtime.Remoting.TypeInfo:.ctor (System.Type)
> in <0x0003d> 00 System.Runtime.Remoting.ObjRef:.ctor
(System.Type,string,object)
> in <0x00037> 00 System.Runtime.Remoting.RemotingServices:Connect
(System.Type,string)
> in <0x00138> 00 Remoting.Corba.Examples.EchoClient.App:Main (string[])
>
> Any Remoting gurus care to take this on?
I'm getting the very same error in my simple remoting client (not using
the CORBA stuff at all here). It happens on this line in my source:
IMyObject remoteObj = (IMyObject)Activator.GetObject(
typeof(IMyObject), "tcp://localhost:5000/MyObject" );
Using Mono 0.23 for Debian from www.debianplanet.org/mono in case that
matters.
I'll definitely have to check out the CORBA stuff - I've got some
existing CORBA objects on my network that would be really cool to access
from Mono and .NET!
-Zak