[Mono-bugs] [Bug 584454] New: Remoting stack hides cross-appdomain exceptions

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 1 18:08:12 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=584454

http://bugzilla.novell.com/show_bug.cgi?id=584454#c0


           Summary: Remoting stack hides cross-appdomain exceptions
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: remoting
        AssignedTo: lluis at novell.com
        ReportedBy: mhutchinson at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


The remoting stack hides exceptions. See
https://bugzilla.novell.com/show_bug.cgi?id=584067 where a type is being
created in another appdomain using AppDomain.CreateInstanceAndUnwrap.

NET shows a useful stack trace, but Mono shows a completely opaque remoting
messaging exception:

 System.Reflection.TargetInvocationException: Exception has been thrown by the
target of an invocation. ---> System.NullReferenceException: Object reference
not set to an instance of an object

Server stack trace: 
  at System.Runtime.Remoting.Messaging.CADMethodCallMessage.GetMethod ()
[0x00000] in <filename unknown>:0 
  at System.Runtime.Remoting.Messaging.MethodCall..ctor
(System.Runtime.Remoting.Messaging.CADMethodCallMessage msg) [0x00000] in
<filename unknown>:0 
  at System.AppDomain.ProcessMessageInDomain (System.Byte[] arrRequest,
System.Runtime.Remoting.Messaging.CADMethodCallMessage cadMsg, System.Byte[]&
arrResponse, System.Runtime.Remoting.Messaging.CADMethodReturnMessage& cadMrm)
[0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check)
System.AppDomain:ProcessMessageInDomain
(byte[],System.Runtime.Remoting.Messaging.CADMethodCallMessage,byte[]&,System.Runtime.Remoting.Messaging.CADMethodReturnMessage&)
  at System.Runtime.Remoting.Channels.CrossAppDomainSink.ProcessMessageInDomain
(System.Byte[] arrRequest,
System.Runtime.Remoting.Messaging.CADMethodCallMessage cadMsg) [0x00000] in
<filename unknown>:0

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list