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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Mar 5 15:31:06 EST 2010


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

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


--- Comment #3 from Michael Hutchinson <mhutchinson at novell.com> 2010-03-05 20:31:05 UTC ---
OK, got it working. It's definitely better - at least the message is preserved,
though the stack trace still isn't useful.

System.Reflection.TargetInvocationException: Exception has been thrown by the
target of an invocation. ---> System.TypeLoadException: Could not load type
'Mono.TextTemplating.TemplateGenerator, Mono.TextTemplating, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null'.

Server stack trace: 
  at (wrapper managed-to-native) System.Type:internal_from_name
(string,bool,bool)
  at System.Type.GetType (System.String typeName, Boolean throwOnError)
[0x00011] in /home/michael/mono/monohead/mcs/class/corlib/System/Type.cs:649 
  at System.Runtime.Remoting.Messaging.CADMethodCallMessage.GetMethod ()
[0x00002] in
/home/michael/mono/monohead/mcs/class/corlib/System.Runtime.Remoting.Messaging/CADMessages.cs:363 
  at System.Runtime.Remoting.Messaging.MethodCall..ctor
(System.Runtime.Remoting.Messaging.CADMethodCallMessage msg) [0x0004e] in
/home/michael/mono/monohead/mcs/class/corlib/System.Runtime.Remoting.Messaging/MethodCall.cs:90 
  at System.AppDomain.ProcessMessageInDomain (System.Byte[] arrRequest,
System.Runtime.Remoting.Messaging.CADMethodCallMessage cadMsg, System.Byte[]&
arrResponse, System.Runtime.Remoting.Messaging.CADMethodReturnMessage& cadMrm)
[0x00018] in
/home/michael/mono/monohead/mcs/class/corlib/System/AppDomain.cs:1319 
  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) [0x00008] in
/home/michael/mono/monohead/mcs/class/corlib/System.Runtime.Remoting.Channels/CrossAppDomainChannel.cs:197

-- 
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