[Mono-bugs] [Bug 24374] Changed - System.MonoType:GetEvents() throws a NullReferenceException

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
8 May 2002 11:24:31 -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 lupus@ximian.com.

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

--- shadow/24374	Tue May  7 19:06:16 2002
+++ shadow/24374.tmp.29124	Wed May  8 07:24:31 2002
@@ -38,6 +38,23 @@
 With my limited knowledge, I've tracked it down to the bsearch in
 mono_metadata_methods_from_event() failing on what appears to be the
 last event in the list.  The bsearch() isn't finding an element, in
 that loc->idx never matches col.  I'm in over my head here, as I don't
 know how any of the metadata stuff works yet.  If you need any more
 information from me, let me know.
+
+------- Additional Comments From lupus@ximian.com  2002-05-08 07:24 -------
+I could not reproduce the error with a simple test case.
+Building gtk# I get different errors instead:
+make[1]: Entering directory `/home/opt/ximian/gtk-sharp/atk'
+mcs --unsafe --target library -L ../glib -L ../pango -r glib-sharp -r
+pango-sharp -o atk-sharp.dll --recurse *.cs
+./generated/Object.cs(40) error CS0030: Cannot convert type 'bool' to
+'Atk.Object'
+./generated/Object.cs(40) error CS0030: Cannot convert type
+'GLib.Value' to 'Atk.Object'
+
+so I couldn't reproduce it there either.
+It would be good to have a small test case (or at least instructions
+on how to reproduce it building gtk-sharp).
+
+