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

Miguel Ángel Pérez mangelp at gmail.com
Mon May 14 07:53:41 EDT 2007


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.String actualFile, 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.Object obj, System.Object
> > [] parameters)
> >    at MonoDevelop.Components.Commands.CommandHandlerInfo.Run(System.Object cmdTarget)
> >    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 --
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20070514/de1904ad/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture-1.png
Type: image/png
Size: 144536 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20070514/de1904ad/attachment-0001.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FileSelector.diff
Type: text/x-patch
Size: 704 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20070514/de1904ad/attachment-0001.bin 


More information about the Monodevelop-list mailing list