Hi everybody

Why I get this error when I try to run the program?

[EMAIL PROTECTED] err_parametro]$ mono err_parametro.exe
 
Unhandled Exception: System.NullReferenceException: A null value was
found where an object instance was required
in <0x00098> 00 err_prueba.Secundaria:.ctor (err_prueba.Mensaje&)
in <0x00031> 00 err_prueba.Principal:on_button1_clicked
(object,System.EventArgs)
in <0x0005a> 01 System.MulticastDelegate:invoke_void_object_EventArgs
(object,System.EventArgs)
in <0x0013c> 00 GtkSharp.voidObjectSignal:voidObjectCallback
(intptr,int)
in <0x00030> 05 GtkSharp.voidObjectSignal:voidObjectCallback
(intptr,int)
in (unmanaged) 06 Gtk.Application:gtk_main ()
in <0x00004> 06 Gtk.Application:gtk_main ()
in <0x00007> 00 Gtk.Application:Run ()
in <0x00090> 00 err_prueba.Principal:.ctor ()
in <0x00025> 00 err_prueba.app:Main (string[])

I'm passing the ref vars beteewn classes the right way?

Or I'm doing something wrong?

The sources are attched.


Im using:
mono-0.25-1.ximian.6.1
mono-devel-0.25-1.ximian.6.1
monodoc-0.5-1.ximian.6.1
gtk-sharp-0.10-1.ximian.6.1



Thanks in advance.

Attachment: ejemplo.tgz
Description: application/compressed-tar

Reply via email to