[Mono-bugs] [Bug 31474][Wis] New - "could not find Invoke method" messages should be more informative

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
30 Sep 2002 10:58:16 -0000


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 vladimir@pobox.com.

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

--- shadow/31474	Mon Sep 30 06:58:16 2002
+++ shadow/31474.tmp.4246	Mon Sep 30 06:58:16 2002
@@ -0,0 +1,32 @@
+Bug#: 31474
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: vladimir@pobox.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: "could not find Invoke method" messages should be more informative
+
+03:15 < migShower> The code is expecting a MethodGroup (ie, the name of a
+                   Method, but is receiving something else)
+03:15 < migShower> For debugging purposes, it would be more useful to print out
+                   what the value is
+03:15 < migShower> Report.Error (-100, loc, "Internal error : could not
+find Invoke method!");
+03:15 < migShower> Ie, change that to:
+03:16 < migShower> Report.Error (-100, loc, "Got:" + ml);
+03:16 < migShower> there are about 5 instances of that
+03:16 < migShower> all in delegate.cs
+03:16 < migShower> mcs/mcs/delegate.cs
+03:16 < migShower> Thanks for pointing it out
+03:16 < migShower> I have to go take a plane now, but could you file a bug
+                   report for me?