[MonoDevelop] Null Reference Exception

Hubert FONGARNAND informatique.internet at fiducial.fr
Fri Feb 24 07:54:35 EST 2006


Le vendredi 24 février 2006 à 12:50 +0100, Lluis Sanchez a écrit :

> Hi!
> 
> Today I've been able to reproduce the crash, not sure why, maybe
> restarting after updating helped. The problem was a change in Mono,
> about the way attributes are applied to fields. For example, in the
> following declaration:
> 
> [Glade.Widget] Label a, b;
> 
> until a few days ago the Widget attribute was applied to both a and b,
> but now it's only applied to b (this seems to be MS.NET behavior).



> It's now fixed in SVN.

My current svn revision is 57236. and it doesn't work better (i've
recompiled monodevelop too)



> Lluis.
> 
> El vie, 24-02-2006 a las 12:03 +0100, Hubert FONGARNAND escribió:
> > Hello
> > 
> > I've another problem with monodevelop :
> > 
> > It crashes when I go in the menu Edit->Preferences Then Text
> > Editor->General
> > 
> > The stack trace (in the console):
> > System.NullReferenceException: Object reference not set to an instance
> > of an object
> > in <0x0005c>
> > MonoDevelop.SourceEditor.Gui.OptionPanels.GeneralTextEditorPanel
> > +GeneralTextEditorPanelWidget:.ctor (IProperties CustomizationObject)
> > in <0x000b2>
> > MonoDevelop.SourceEditor.Gui.OptionPanels.GeneralTextEditorPanel:LoadPanelContents ()
> > in <0x0002d>
> > MonoDevelop.Core.Gui.Dialogs.AbstractOptionPanel:ReceiveDialogMessage
> > (DialogMessage message)
> > in <0x0004a>
> > MonoDevelop.Core.Gui.Dialogs.TreeViewOptions:SetOptionPanelTo
> > (IDialogPanelDescriptor descriptor)
> > in <0x0010a> MonoDevelop.Core.Gui.Dialogs.TreeViewOptions:OnSelectNode
> > (TreeIter iter, IDialogPanelDescriptor descriptor)
> > in <0x00125> MonoDevelop.Core.Gui.Dialogs.TreeViewOptions:SelectNode
> > (System.Object sender, System.EventArgs e)
> > in (wrapper delegate-invoke)
> > System.MulticastDelegate:invoke_void_object_EventArgs
> > (object,System.EventArgs)
> > in <0x00093> GLib.Signal:voidObjectCallback (IntPtr handle, IntPtr
> > gch)
> > in (wrapper native-to-managed) GLib.Signal:voidObjectCallback
> > (intptr,intptr)
> > in <0x00000> <unknown method>
> > in (wrapper managed-to-native) Gtk.Application:gtk_main ()
> > in <0x00007> Gtk.Application:Run ()
> > in <0x00007> MonoDevelop.Ide.Gui.IdeApp:Run ()
> > in <0x009eb> MonoDevelop.Ide.Gui.IdeStartup:Run (System.String[] args)
> > in <0x0015c> MonoDevelop.Core.AddIns.AddInService:StartApplication
> > (System.String addinId, System.String[] parameters)
> > 
> > 
> > 
> > 
> > Maybe it is linked with the bug I have when I try to open a "new"
> > project:
> > The Stack trace is in an error window
> > 
> > Exception occurred: Object reference not set to an instance of an
> > object
> > 
> > System.NullReferenceException: Object reference not set to an instance
> > of an object
> > in <0x00181>
> > MonoDevelop.Ide.Gui.Dialogs.NewProjectDialog:InitializeComponents ()
> > in <0x001d0>
> > MonoDevelop.Ide.Gui.Dialogs.NewProjectDialog:InitializeTemplates ()
> > in <0x0012c> MonoDevelop.Ide.Gui.Dialogs.NewProjectDialog:.ctor
> > (Boolean openCombine, Boolean newCombine, System.String basePath)
> > in <0x0001f> MonoDevelop.Ide.Commands.NewProjectHandler:Run ()
> > in <0x0000b> MonoDevelop.Components.Commands.CommandHandler:Run
> > (System.Object dataItem)
> > in <0x00056>
> > MonoDevelop.Components.Commands.ActionCommand:DispatchCommand
> > (System.Object dataItem)
> > in <0x00348>
> > MonoDevelop.Components.Commands.CommandManager:DispatchCommand
> > (System.Object commandId, System.Object dataItem)
> > _______________________________________________
> > Ce message et les ventuels documents joints peuvent contenir des
> > informations confidentielles.
> > Au cas o il ne vous serait pas destin, nous vous remercions de bien
> > vouloir le supprimer et en aviser immdiatement l'expditeur. Toute
> > utilisation de ce message non conforme sa destination, toute diffusion
> > ou publication, totale ou partielle et quel qu'en soit le moyen est
> > formellement interdite.
> > Les communications sur internet n'tant pas scurises, l'intgrit de ce
> > message n'est pas assure et la socit mettrice ne peut tre tenue pour
> > responsable de son contenu. 
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
_______________________________________________
Ce message et les éventuels documents joints peuvent contenir des informations confidentielles.
Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.
Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20060224/697bdfe4/attachment.html


More information about the Monodevelop-list mailing list