[Bug 223296] New: zen-installer throws exception when filtering types
https://bugzilla.novell.com/show_bug.cgi?id=223296 Summary: zen-installer throws exception when filtering types Product: openSUSE 10.2 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Blocker Priority: P5 - None Component: Zenworks AssignedTo: zlm-code10-bugs@forge.provo.novell.com ReportedBy: jpr@novell.com QAContact: jtariq@novell.com CC: aj@novell.com Using the packages available via bug 217326 If I click "patterns" or "packages" for types in the UI, I get an exception: Unhandled Exception: System.NullReferenceException: A null value was found where an object instance was required. at Novell.Zenworks.Gui.ZenWindow+<>c__CompilerGenerated9.<>c__AnonymousMethod28 (System.Object sender, Gtk.ButtonPressEventArgs e) [0x00000] at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_ButtonPressEventArgs (object,Gtk.ButtonPressEventArgs) at Gtk.Widget.ButtonPressEventSignalCallback (IntPtr arg0, IntPtr arg1, IntPtr gch) [0x00000] at (wrapper native-to-managed) Gtk.Widget:ButtonPressEventSignalCallback (intptr,intptr,intptr) at <0x00000> <unknown method> at (wrapper managed-to-native) Gtk.Application:gtk_main () at Gtk.Application.Run () [0x00000] at Novell.Zenworks.Gui.ZenInstaller.Main (System.String[] args) [0x00000] Even though I'm using those packages, I suspect its unrelated to that bug. AJ, I've made this a blocker until you assess -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 ------- Comment #1 from aj@novell.com 2006-11-22 10:56 MST ------- Can you reproduce this? That's really bad... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 ------- Comment #2 from jpr@novell.com 2006-11-22 11:51 MST ------- Yes, every time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 ------- Comment #3 from jpr@novell.com 2006-11-22 11:56 MST ------- Looks like I'm not quite RC1 (beta2 plus factory), so I justtried with zen-updater-7.1.100-29, last changelog entry is: jpr@square:~> rpm -q --changelog zen-updater | more * Tue Nov 07 2006 - ro@suse.de - fix manpage permissions Still fails there, but it should be tested on a full RC1 install still (I'm still downloading). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 ------- Comment #5 from visnov@novell.com 2006-11-23 02:52 MST ------- I can confirm the bug using openSUSE 10.2 RC1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 jjoy@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|zlm-code10- |jjoy@novell.com |bugs@forge.provo.novell.com | Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 ------- Comment #6 from jjoy@novell.com 2006-11-23 04:56 MST ------- This looks like a gtk library issue. We could not find this issue when the binary (ZenInstaller.exe) was built on a suse 9.3 setup. However when we try to build zen-updater on OpenSuSE 10.2 (I have Beta 2) we are able to see this issue.. We are trying to see what exactly is causing this problem.. Any clues??? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 ------- Comment #10 from jpr@novell.com 2006-11-23 09:28 MST ------- Fix submitted, see the patch included. Try: http://w3.suse.de/~jpr/zen-updater-7.1.100-31.i586.rpm Issue seems to be in this code: EventBox eb = new EventBox (); eb.Add (l); eb.ButtonPressEvent += delegate (object sender, ButtonPressEventArgs e) { Label tl = eb.Child as Label; filterType = (FilterType) Enum.Parse (typeof (FilterType), tl.Text); this.GdkWindow.Cursor = normalCursor; searchEntry.Text = String.Empty; filteredModel.Refilter (); DisplayFilterLabels (); }; The variable eb was null inside the delegate, I don't know if this is a compiler error not propogating eb into the delegate or a compiler error not erroring out because eb is out of scope. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 jpr@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |miguel@ximian.com ------- Comment #11 from jpr@novell.com 2006-11-23 12:24 MST ------- Miguel says compiler bug, adding him as a CC. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|aj@novell.com | ------- Comment #12 from aj@novell.com 2006-11-24 01:15 MST ------- What do you need from me? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 ------- Comment #13 from sguruprasad@novell.com 2006-11-24 02:23 MST ------- Anything to be done from zmd team now? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 visnov@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mc@novell.com ------- Comment #15 from visnov@novell.com 2006-11-24 05:30 MST ------- *** Bug 223579 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 ------- Comment #16 from martin@ximian.com 2006-11-24 06:50 MST ------- Just had a look at this and I can't reproduce this in the compiler. This is the test case I used: ==== using System; public class EventBox { public event EventHandler ButtonPressEvent; public void ButtonPressed (EventArgs args) { if (ButtonPressEvent != null) ButtonPressEvent (this, args); } public void Test () { } } class X { static void Main () { EventBox eb = new EventBox (); eb.Test (); eb.ButtonPressEvent += delegate (object sender, EventArgs e) { Console.WriteLine (eb != null); }; eb.ButtonPressed (null); } } ==== That works with all three versions of mcs/gmcs I have (1.2, latest SVN and my development tree). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 ------- Comment #17 from jpr@novell.com 2006-11-24 07:49 MST ------- Martin, we're shipping 1.1.18 on 10.2 still. I'm not sure 1.2 is viable because extended attribute support is broken (which is bad for beagle). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 ------- Comment #18 from miguel@ximian.com 2006-11-24 15:38 MST ------- Mono 1.2.1 fixed that issue. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 ------- Comment #19 from aj@novell.com 2006-11-24 23:19 MST ------- Miguel, do you have a fix for 1.1.8? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 ------- Comment #20 from miguel@ximian.com 2006-11-25 08:39 MST ------- Hello, We could backport the compiler, but we are aware that it contains a number of regressions on anonymous methods. Martin is working full time (weekends included) to get these issues fixed. Miguel. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 ------- Comment #23 from aj@novell.com 2006-11-26 09:22 MST ------- Ah, it seems that I was confused by comment #11. Thanks for the explanation. I thought there was an additional compiler bug. So, the workaround from #10 should fix the problem. JP, correct? In that case let's close this bug... Miguel, don't know who gave you Dec 4th - that one would be too late for 10.2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |jpr@novell.com ------- Comment #25 from aj@novell.com 2006-11-28 04:33 MST ------- JP, is this one fixed now? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 visnov@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|jpr@novell.com | Resolution| |FIXED ------- Comment #26 from visnov@novell.com 2006-11-29 01:35 MST ------- I was unable to reproduce with the patch applied. Please, reopen if needed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223296 ------- Comment #27 from jpr@novell.com 2006-11-29 07:16 MST ------- We worked around the problem, but the compiler stills need to be checked. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com