Bug 5612 - Crash adding new handler for the Activated signal
Summary: Crash adding new handler for the Activated signal
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: GTK# Designer ()
Version: 3.0.x
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-06-11 21:59 UTC by buasdjasid
Modified: 2017-05-15 23:19 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NOT_REPRODUCIBLE

Description buasdjasid 2012-06-11 21:59:08 UTC
Hi, I'm trying to complete the basic tutorial here: http://monodevelop.com/Stetic_GUI_Designer

When I get to this step: "Click on the "Click here to add a new handler" next to the "Activated" signal and type "OnOpen" into the entry and press enter." I get an error with the following:

"System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NotImplementedException: The requested feature is not implemented.
  at MonoDevelop.Ide.TypeSystem.CodeGenerationService.GetSuitableInsertionPoint (IEnumerable`1 points, IUnresolvedTypeDefinition cls, IUnresolvedMember member) [0x0003e] in /Users/builder/data/lanes/monodevelop-mac-3.0.2/046db1bb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/CodeGenerationService.cs:335 
  at MonoDevelop.Ide.TypeSystem.CodeGenerationService.AddNewMember (ITypeDefinition type, IUnresolvedTypeDefinition part, IUnresolvedMember newMember, Boolean implementExplicit) [0x00043] in /Users/builder/data/lanes/monodevelop-mac-3.0.2/046db1bb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.TypeSystem/CodeGenerationService.cs:91 
  at MonoDevelop.GtkCore.GuiBuilder.CodeBinder.BindSignal (Stetic.Signal signal) [0x000de] in /Users/builder/data/lanes/monodevelop-mac-3.0.2/046db1bb/source/monodevelop/main/src/addins/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/CodeBinder.cs:182 
  at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderView.OnSignalAdded (System.Object sender, Stetic.ComponentSignalEventArgs args) [0x00000] in /Users/builder/data/lanes/monodevelop-mac-3.0.2/046db1bb/source/monodevelop/main/src/addins/MonoDevelop.GtkCore/MonoDevelop.GtkCore.GuiBuilder/GuiBuilderView.cs:316 
  at Stetic.WidgetDesigner.OnSignalAdded (System.Object sender, Stetic.ComponentSignalEventArgs args) [0x0000b] in /Users/builder/data/lanes/monodevelop-mac-3.0.2/046db1bb/source/monodevelop/main/src/addins/MonoDevelop.GtkCore/libsteticui/WidgetDesigner.cs:341 
  at Stetic.Project+<NotifySignalAdded>c__AnonStoreyD.<>m__17 (System.Object , System.EventArgs ) [0x00034] in /Users/builder/data/lanes/monodevelop-mac-3.0.2/046db1bb/source/monodevelop/main/src/addins/MonoDevelop.GtkCore/libsteticui/Project.cs:605 
  at Stetic.GuiDispatch.InvokeSync (System.EventHandler h) [0x00018] in /Users/builder/data/lanes/monodevelop-mac-3.0.2/046db1bb/source/monodevelop/main/src/addins/MonoDevelop.GtkCore/libsteticui/GuiDispatchServerSink.cs:123 
  at Stetic.Project.NotifySignalAdded (System.Object obj, System.String name, Stetic.Signal signal) [0x00022] in /Users/builder/data/lanes/monodevelop-mac-3.0.2/046db1bb/source/monodevelop/main/src/addins/MonoDevelop.GtkCore/libsteticui/Project.cs:601 
  at (wrapper remoting-invoke-with-check) Stetic.Project:NotifySignalAdded (object,string,Stetic.Signal)
  at Stetic.ProjectBackend.Stetic.IProject.NotifySignalAdded (Stetic.SignalEventArgs args) [0x00017] in /Users/builder/data/lanes/monodevelop-mac-3.0.2/046db1bb/source/monodevelop/main/src/addins/MonoDevelop.GtkCore/libsteticui/ProjectBackend.cs:825 
  at Stetic.ObjectWrapper.OnSignalAdded (Stetic.SignalEventArgs args) [0x0001d] in /Users/builder/data/lanes/monodevelop-mac-3.0.2/046db1bb/source/monodevelop/main/src/addins/MonoDevelop.GtkCore/libstetic/ObjectWrapper.cs:395 
  at Stetic.SignalCollection.OnInsertComplete (Int32 index, System.Object value) [0x0001c] in /Users/builder/data/lanes/monodevelop-mac-3.0.2/046db1bb/source/monodevelop/main/src/addins/MonoDevelop.GtkCore/libstetic/wrapper/SignalCollection.cs:67 
  at System.Collections.CollectionBase.System.Collections.IList.Add (System.Object value) [0x00000] in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0 
  at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
  at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] in <filename unknown>:0 
  at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] in <filename unknown>:0 
  at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
  at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] in <filename unknown>:0 
  at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] in <filename unknown>:0 "

I downloaded MonoDevelop and MonoFramework recently. MonoDevelop is version 3.02 and the Framework is :"MonoFramework-MRE-2.10.9_11.macos10.xamarin.x86.dmg" I'm using Mac OS X 10.6.8
Comment 1 Mohit Kheterpal 2016-01-08 13:02:10 UTC
Today I have followed steps provided in tutorial http://www.monodevelop.com/documentation/stetic-gui-designer/ and observed that it does not throw exception when I "Click on the "Click here to add a new handler" next to the "Activated" signal and type "OnOpen" into the entry and press enter."

It would be helpful, if you check this issue at your end with latest stable builds. And if its still occurring then please provide the IDE logs (Help->Open Log Directory->IDE Logs).

Thanks
Comment 2 Kirill Osenkov 2017-05-15 23:19:40 UTC
Since this issue is over 5 years old and we have evolved significantly since then, resolving as not reproducible. If you still have problems with the latest version of MonoDevelop please feel free to open a new bug. Thanks.
Comment 3 Kirill Osenkov 2017-05-15 23:19:59 UTC
Resolving.