[MonoDevelop] Exception when adding an existing project to an empty solution

Miguel Ángel Pérez mangelp at gmail.com
Mon May 14 09:43:47 EDT 2007


Great.

My patch was more a personal hack to continue working when i have no
internet connection and i can't look for help.

I will revert the others i have :p and report if my problems are still
there.

Thanks!

2007/5/14, Lluis Sanchez <lluis at ximian.com>:
>
> Hi,
>
> Thanks for the patch, although that's not the real solution. The problem
> was that the FileSelector dialog was not being properly destroyed. It's
> now fixed in SVN.
>
> Lluis.
>
> El dl 14 de 05 del 2007 a les 13:53 +0200, en/na Miguel Ángel Pérez va
> escriure:
> > Attached is the patch for FileSelector.cs to implement the required
> > constructor. Have fun :)
> >
> > Regards.
> >
> > 2007/5/14, Miguel Ángel Pérez <mangelp at gmail.com>:
> >         Hello Hubert, i had the same first problem as you and what i
> >         did was to open the file where the class is defined and
> >         implement the required constructor.
> >
> >         For your second problem i can't help, but i can say that the
> >         last time i compiled was about two weeks ago and everything
> >         works.
> >
> >         Regards.
> >
> >         2007/5/14, Hubert FONGARNAND
> >         <informatique.internet at fiducial.fr>:
> >                 I'm using monodevelop from svn...
> >
> >                 Two problems this morning :
> >
> >                 When i try to add an existing project to an empty
> >                 solution monodevelop crash :
> >
> >                 (MonoDevelop:8568): Gtk-CRITICAL **: gtk_object_destroy:
> assertion `object != NULL' failed
> >                 Exception in Gtk# callback delegate
> >                   Note: Applications can use
> GLib.ExceptionManager.UnhandledException to handle the exception.
> >
> >
> >                 GLib.MissingIntPtrCtorException: GLib.Object subclass
> MonoDevelop.Components.FileSelector must provide a protected or public
> IntPtr ctor to support wrapping of native object handles.
> >                   at GLib.ObjectManager.CreateObject
> >
> >                  (IntPtr raw) [0x00000]
> >                   at GLib.Object.GetObject (IntPtr o, Boolean owned_ref)
> [0x00000]
> >                   at GLib.ListBase.DataMarshal (IntPtr data) [0x00000]
> >                   at GLib.ListBase+ListEnumerator.get_Current ()
> [0x00000]
> >
> >
> >                   at GLib.ListBase.CopyTo (System.Array array, Int32
> index) [0x00000]
> >                   at GLib.Marshaller.ListToArray (GLib.ListBase list,
> System.Type type) [0x00000]
> >                   at Gtk.Window.ListToplevels () [0x00000]
> >                   at
> MonoDevelop.Components.Commands.CommandManager.GetActiveWidget
> >
> >                  (Gtk.Window win) [0x00000]
> >                   at
> MonoDevelop.Components.Commands.CommandManager.UpdateToolbars () [0x00000]
> >                   at
> MonoDevelop.Components.Commands.CommandManager.UpdateStatus () [0x00000]
> >                   at (wrapper delegate-invoke)
> >
> >                 System.MulticastDelegate:invoke_bool ()
> >                   at GLib.Timeout+TimeoutProxy.Handler () [0x00000]
> >                    at GLib.ExceptionManager.RaiseUnhandledException(
> System.Exception e, Boolean is_terminal)
> >                    at GLib.Timeout+TimeoutProxy.Handler
> >
> >                 ()
> >                    at GLib.Timeout+TimeoutProxy.Handler()
> >                    at Gtk.Application.gtk_main_iteration()
> >                    at Gtk.Application.gtk_main_iteration()
> >                    at Gtk.Application.RunIteration()
> >                    at
> MonoDevelop.Core.Gui.DispatchService.RunPendingEvents
> >
> >                 ()
> >                    at
> MonoDevelop.Ide.Gui.StatusProgressMonitor.OnProgressChanged()
> >                    at
> System.Object.__icall_wrapper_mono_remoting_wrapper(IntPtr , IntPtr )
> >                    at
> System.Object.__icall_wrapper_mono_remoting_wrapper(IntPtr , IntPtr )
> >
> >
> >                    at
> MonoDevelop.Core.Gui.ProgressMonitoring.BaseProgressMonitor.BeginTask(
> System.String name, Int32 totalWork)
> >                    at
> System.Runtime.Remoting.RemotingServices.InternalExecute(
> System.Reflection.MethodBase , System.Object
> >
> >                  , System.Object[] , System.Object[] ByRef )
> >                    at
> System.Runtime.Remoting.RemotingServices.InternalExecute(
> System.Reflection.MethodBase , System.Object , System.Object[] ,
> System.Object[] ByRef )
> >                    at
> System.Runtime.Remoting.RemotingServices.InternalExecuteMessage
> >
> >                 (System.MarshalByRefObject target, IMethodCallMessage
> reqMsg)
> >                    at
> System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage
> msg)
> >                    at
> System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage
> >
> >                 (IMessage msg)
> >                    at
> System.Runtime.Remoting.Lifetime.LeaseSink.SyncProcessMessage(IMessage
> msg)
> >                    at
> MonoDevelop.Core.Gui.SyncContextDispatchSink.AsyncDispatchMessage(
> System.Object data)
> >                    at System.MulticastDelegate.invoke_void_object
> >
> >                 (System.Object )
> >                    at MonoDevelop.Core.Gui.GuiSyncContext.AsyncDispatch(
> MonoDevelop.Core.Gui.StatefulMessageHandler cb, System.Object ob)
> >                    at
> MonoDevelop.Core.Gui.SyncContextDispatchSink.AsyncProcessMessage(IMessage
> msg, IMessageSink replySink)
> >
> >
> >                    at
> MonoDevelop.Core.Gui.SyncContextDispatchSink.SyncProcessMessage(IMessage
> msg)
> >                    at
> System.Runtime.Remoting.ClientActivatedIdentity.SyncObjectProcessMessage(IMessage
> msg)
> >                    at
> System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage
> >
> >                 (IMessage msg)
> >                    at
> System.Runtime.Remoting.Contexts.CrossContextChannel.SyncProcessMessage(IMessage
> msg)
> >                    at
> System.Runtime.Remoting.Messaging.ClientContextTerminatorSink.SyncProcessMessage(IMessage
> msg)
> >
> >                    at
> >
> System.Runtime.Remoting.Messaging.EnvoyTerminatorSink.SyncProcessMessage(IMessage
> msg)
> >                    at
> System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(IMessage request)
> >                    at
> System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
> >
> >                 (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage
> msg, System.Exception ByRef exc, System.Object[] ByRef out_args)
> >                    at
> System.Object.__icall_wrapper_mono_remoting_wrapper(IntPtr , IntPtr )
> >                    at
> System.Object.__icall_wrapper_mono_remoting_wrapper
> >
> >                 (IntPtr , IntPtr )
> >                    at
> MonoDevelop.Projects.MonoDevelopFileFormat.WriteFileInternal(System.StringactualFile,
> System.String outFile, System.Object node, IProgressMonitor monitor)
> >                    at
> MonoDevelop.Projects.MonoDevelopFileFormat.WriteFile
> >
> >                 (System.String file, System.Object node,
> IProgressMonitor monitor)
> >                    at MonoDevelop.Projects.ProjectService.WriteFile(
> System.String file, MonoDevelop.Projects.CombineEntry entry,
> IProgressMonitor monitor)
> >                    at
> >                 MonoDevelop.Projects.CombineEntry.OnSave
> >                 (IProgressMonitor monitor)
> >                    at MonoDevelop.Projects.Combine.OnSave(IProgressMonitor
> monitor)
> >                    at
> MonoDevelop.Projects.DefaultProjectServiceExtension.Save(IProgressMonitor
> monitor,
> >                 MonoDevelop.Projects.CombineEntry
> >                  entry)
> >                    at MonoDevelop.Projects.ProjectServiceExtension.Save(IProgressMonitor
> monitor, MonoDevelop.Projects.CombineEntry entry)
> >                    at MonoDevelop.Projects.ProjectServiceExtension.Save
> >                 (IProgressMonitor monitor,
> MonoDevelop.Projects.CombineEntry
> >                  entry)
> >                    at MonoDevelop.Projects.ProjectServiceExtension.Save(IProgressMonitor
> monitor, MonoDevelop.Projects.CombineEntry entry)
> >                    at
> MonoDevelop.Autotools.MakefileProjectServiceExtension.Save
> >                 (IProgressMonitor monitor,
> >                 MonoDevelop.Projects.CombineEntry entry)
> >                    at MonoDevelop.Projects.ProjectServiceExtension.Save(IProgressMonitor
> monitor, MonoDevelop.Projects.CombineEntry entry)
> >                    at MonoDevelop.Projects.ProjectServiceExtension.Save
> >
> >                 (IProgressMonitor monitor,
> MonoDevelop.Projects.CombineEntry entry)
> >                    at MonoDevelop.Projects.ProjectServiceExtension.Save(IProgressMonitor
> monitor, MonoDevelop.Projects.CombineEntry entry)
> >                    at MonoDevelop.Projects.ProjectServiceExtension.Save
> >
> >                 (IProgressMonitor monitor,
> MonoDevelop.Projects.CombineEntry entry)
> >                    at MonoDevelop.Projects.ProjectServiceExtension.Save(IProgressMonitor
> monitor, MonoDevelop.Projects.CombineEntry entry)
> >                    at MonoDevelop.Projects.CombineEntry.Save
> >
> >                 (IProgressMonitor monitor)
> >                    at MonoDevelop.Ide.Gui.ProjectOperations.SaveCombine
> ()
> >                    at
> MonoDevelop.Ide.Gui.ProjectOperations.AddCombineEntry(
> MonoDevelop.Projects.Combine parentCombine)
> >                    at
> MonoDevelop.Ide.Gui.Pads.ProjectPad.CombineNodeCommandHandler.AddProjectToCombine
> >
> >                 ()
> >                    at System.Reflection.MonoMethod.InternalInvoke(
> System.Object , System.Object[] )
> >                    at System.Reflection.MonoMethod.InternalInvoke(
> System.Object , System.Object[] )
> >                    at System.Reflection.MonoMethod.Invoke
> >
> >                 (System.Object obj, BindingFlags invokeAttr,
> System.Reflection.Binder binder, System.Object[] parameters,
> System.Globalization.CultureInfo culture)
> >                    at System.Reflection.MethodBase.Invoke(System.Objectobj,
> System.Object
> >
> >                 [] parameters)
> >                    at
> MonoDevelop.Components.Commands.CommandHandlerInfo.Run(System.ObjectcmdTarget)
> >                    at
> MonoDevelop.Components.Commands.CommandManager.DispatchCommand(
> System.Object commandId, System.Object dataItem,
> >
> >                 System.Object initialTarget)
> >                    at
> MonoDevelop.Components.Commands.CommandMenuItem.OnActivated()
> >                    at Gtk.MenuItem.activated_cb(IntPtr menu_item)
> >                    at Gtk.MenuItem.activated_cb(IntPtr )
> >                    at Gtk.Application.gtk_main
> >
> >                 ()
> >                    at Gtk.Application.gtk_main()
> >                    at Gtk.Application.Run()
> >                    at MonoDevelop.Ide.Gui.IdeApp.Run()
> >                    at MonoDevelop.Ide.Gui.IdeStartup.Run(System.String[]
> args)
> >                    at
> MonoDevelop.Core.ApplicationService.StartApplication
> >
> >                 (System.String appId, System.String[] parameters)
> >                    at MonoDevelop.Startup.SharpDevelopMain.Main(
> System.String[] args)
> >                 Erreur de segmentation
> >
> >                 2nd problem :
> >                 The "error panel", the "class panel" and the "file
> >                 panel" are empty... see the screenshot
> >
> >
> >
> >                 _______________________________________________
> >                 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.
> >
> >                 _______________________________________________
> >                 Monodevelop-list mailing list
> >                 Monodevelop-list at lists.ximian.com
> >
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >
> >
> >
> >
> >         --
> >         -- Saludos --
> >
> >
> >
> > --
> > -- Saludos --
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>


-- 
-- Saludos --
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20070514/d06589cd/attachment-0001.html 


More information about the Monodevelop-list mailing list