Looks like we will need to implement the enumerator helper class for CollectionBase exactly as MS for this to work.
Thanks for pointing this out Hubert. Please fill a Bugzilla case with more details. :| On 7/18/05, Hubert FONGARNAND <[EMAIL PROTECTED]> wrote: > 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. > _______________________________________________ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > -- Rafael "Monoman" Teixeira --------------------------------------- I'm trying to become a "Rosh Gadol" before my own eyes. See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment. It hurts! _______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list