mail-archives/gtk-sharp-list/2003-July/002219.html

84 строки
3.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] General Question
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:jluke%40cfl.rr.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="002217.html">
<LINK REL="Next" HREF="002220.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] General Question
</H1>
<B>John Luke
</B>
<A HREF="mailto:jluke%40cfl.rr.com"
TITLE="[Gtk-sharp-list] General Question">jluke@cfl.rr.com
</A><BR>
<I>27 Jul 2003 14:24:49 -0400</I>
<P><UL>
<LI> Previous message: <A HREF="002217.html">[Gtk-sharp-list] General Question
</A></li>
<LI> Next message: <A HREF="002220.html">[Gtk-sharp-list] General Question
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2219">[ date ]</a>
<a href="thread.html#2219">[ thread ]</a>
<a href="subject.html#2219">[ subject ]</a>
<a href="author.html#2219">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Sun, 2003-07-27 at 02:17, Todd Berman wrote:
&gt;<i> I am in the middle of writing a gtk# app, and I have a CheckButton that
</I>&gt;<i> calls a function when toggled. Now, when the CheckButton is hit I get
</I>&gt;<i> the following exception:
</I>&gt;<i>
</I>&gt;<i> Unhandled Exception: System.NullReferenceException: A null value was
</I>&gt;<i> found where an object instance was required
</I>&gt;<i> in (unmanaged) 06 GLib.Object:g_object_unref (intptr)
</I>&gt;<i> in &lt;0x00004&gt; 06 GLib.Object:g_object_unref (intptr)
</I>&gt;<i> in &lt;0x00030&gt; 00 GLib.Object:Unref ()
</I>&gt;<i> in &lt;0x00148&gt; 00 GLib.Object:PerformQueuedUnrefs ()
</I>&gt;<i> in &lt;0x0001b&gt; 05 GLib.Object:PerformQueuedUnrefs ()
</I>&gt;<i> in (unmanaged) 06 Gtk.Application:gtk_main ()
</I>&gt;<i> in &lt;0x00004&gt; 06 Gtk.Application:gtk_main ()
</I>&gt;<i> in &lt;0x00007&gt; 00 Gtk.Application:Run ()
</I>&gt;<i> in &lt;0x0029d&gt; 00 SevenL.GypsyShell.Gypsy:.ctor ()
</I>&gt;<i> in &lt;0x00025&gt; 00 SevenL.GypsyShell.Gypsy:Main (string[])
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> This seems to occur only when I execute calls to a web service when it
</I>&gt;<i> is toggled.
</I>&gt;<i>
</I>&gt;<i> Any idea or pointers would be greatly appreciated.
</I>&gt;<i>
</I>&gt;<i> --Todd
</I>Would it be possible to extract out a small test case from your code
that causes this to happen, that way we can get some context of what is
going on. By the way, I just added a small example to Monodoc for
CheckButton, but my guess is the error is coming from somewhere else.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="002217.html">[Gtk-sharp-list] General Question
</A></li>
<LI> Next message: <A HREF="002220.html">[Gtk-sharp-list] General Question
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2219">[ date ]</a>
<a href="thread.html#2219">[ thread ]</a>
<a href="subject.html#2219">[ subject ]</a>
<a href="author.html#2219">[ author ]</a>
</LI>
</UL>
</body></html>