[Gtk-sharp-list] Problem with action signals

Enrique19M enrique_90m at hotmail.com
Thu May 17 15:00:51 UTC 2012


Hello

I was making an application in monodevelop(Mono-Gtk# project), i add a
menubar to the form and then a menu, but when i  add an action in the
activated menu, the program "crashes" and throw this message:


An error has occurred

Details of this error have been automatically sent to Xamarin for analysis.

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.1/6642975f/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.1/6642975f/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.1/6642975f/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.1/6642975f/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.1/6642975f/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.1/6642975f/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.1/6642975f/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.1/6642975f/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.1/6642975f/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.1/6642975f/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.1/6642975f/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 

Can anyone can help me with this problem?

--
View this message in context: http://mono.1490590.n4.nabble.com/Problem-with-action-signals-tp4643084.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.


More information about the Gtk-sharp-list mailing list