[Mono-bugs] [Bug 55100][Blo] New - Cannot marshal Bamboo.Prevalence PrevalenceSystem

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 2 Mar 2004 23:18:45 -0500 (EST)


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 cm4r5z@yahoo.com.

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

--- shadow/55100	2004-03-02 23:18:45.000000000 -0500
+++ shadow/55100.tmp.616	2004-03-02 23:18:45.000000000 -0500
@@ -0,0 +1,76 @@
+Bug#: 55100
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: Linux Knoppix 2.4.24-xfs #1 SMP Mi Feb 4 01:03:50 CET 2004 i686 GNU/Linux
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: cm4r5z@yahoo.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Cannot marshal Bamboo.Prevalence PrevalenceSystem
+
+Description of Problem: 
+I am using Bamboo.Prevalence (http://bbooprevalence.sourceforge.net/), 
+and trying to marshal a prevalent system to use with remoting.  The 
+RemotingPrevalence example that comes with Bamboo.Prevalence has the same 
+exception my application has.  Both work fine under MS CLR. 
+ 
+Unhandled Exception: System.Runtime.Remoting.RemotingException: No 
+remoting information was found for the object 
+ 
+Server stack trace: 
+in <0x00038> System.MarshalByRefObject:CreateObjRef (System.Type) 
+in (unmanaged) /u/lib/libmono.so.0 [0x40047caf] 
+in (unmanaged) /u/lib/libmono.so.0(mono_runtime_invoke+0x23) [0x4007fd87] 
+in (unmanaged) /u/lib/libmono.so.0(mono_runtime_invoke_array+0x115) 
+[0x40080a9d] 
+in (unmanaged) /u/lib/libmono.so.0 [0x40086304] 
+in <0x0009c> System.Reflection.MonoMethod:Invoke 
+(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) 
+ 
+ 
+Exception rethrown at [0]: 
+ 
+in (unmanaged) /u/lib/libmono.so.0(mono_raise_exception+0x1b) 
+[0x40081e3f] 
+in (unmanaged) /u/lib/libmono.so.0 [0x400932bd] 
+in <0x00044> (wrapper remoting-invoke) 
+System.MarshalByRefObject:CreateObjRef (System.Type) 
+in <0x002ba> System.Runtime.Remoting.RemotingServices:Marshal 
+(System.MarshalByRefObject,string,System.Type) 
+in <0x000d5> RemotingPrevalence.Server:Main (string[]) 
+ 
+Steps to reproduce the problem: 
+1. Build Bamboo.Prevalence/examples/RemotingPrevalence. 
+2. Run 'mono server.exe'. 
+ 
+Actual Results: 
+Above stack trace. 
+ 
+Expected Results: 
+RemotingServices.Marshal should succeed. 
+ 
+How often does this happen?  
+Consistenly every time. 
+ 
+Additional Information: 
+I am running mono-0.30.1 with mcs-0.30.1.  Example from Bamboo.Prevalence 
+1.4.4.0 (latest).  Older versions (1.4) also have this problem. 
+ 
+Bamboo uses marshalling to completely hide the persistence transactions 
+from the client code.  Instinct tells me this might be significant, but 
+how? 
+ 
+I will shortly attach a compiled copy of the example server.exe and 
+source code, to save you time.  Please help, my application depends on 
+remoted prevalence! 
+ 
+Thank you, 
+Casey Marshall