Package: monodevelop Version: 1.9.3+dfsg-2 Monodevelop gives me an error message when i have to create a handler for a button. The error message is:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: Cannot be negative, and should be less than length of string. Parameter name: startIndex at System.String.CreateString (System.Char[] val, Int32 startIndex, Int32 length) [0x00000] at (wrapper managed-to-managed) System.String:.ctor (char[],int,int) at Mono.TextEditor.GapBuffer.GetTextAt (Int32 offset, Int32 count) [0x00000] at Mono.TextEditor.Document.GetTextAt (Int32 offset, Int32 count) [0x00000] at MonoDevelop.SourceEditor.SourceEditorView.GetText (Int32 startPosition, Int32 endPosition) [0x00000] at MonoDevelop.Projects.CodeGeneration.BaseRefactorer.GetLineIndent (IEditableTextFile buffer, Int32 line) [0x00000] at MonoDevelop.Projects.CodeGeneration.BaseRefactorer.AddMember (MonoDevelop.Projects.CodeGeneration.RefactorerContext ctx, IType cls, System.CodeDom.CodeTypeMember member) [0x00000] at MonoDevelop.Projects.CodeGeneration.CodeRefactorer.AddMember (IType cls, System.CodeDom.CodeTypeMember member) [0x00000] at MonoDevelop.GtkCore.GuiBuilder.CodeBinder.BindSignal (Stetic.Signal signal) [0x00000] at MonoDevelop.GtkCore.GuiBuilder.GuiBuilderView.OnSignalAdded (System.Object sender, Stetic.ComponentSignalEventArgs args) [0x00000] at Stetic.WidgetDesigner.OnSignalAdded (System.Object sender, Stetic.ComponentSignalEventArgs args) [0x00000] at Stetic.Project+<NotifySignalAdded>c__AnonStorey24.<>m__22 (System.Object , System.EventArgs ) [0x00000] at Stetic.GuiDispatch.InvokeSync (System.EventHandler h) [0x00000] at Stetic.Project.NotifySignalAdded (System.Object obj, System.String name, Stetic.Signal signal) [0x00000] at (wrapper remoting-invoke-with-check) Stetic.Project:NotifySignalAdded (object,string,Stetic.Signal) at Stetic.ProjectBackend.Stetic.IProject.NotifySignalAdded (Stetic.SignalEventArgs args) [0x00000] at Stetic.ObjectWrapper.OnSignalAdded (Stetic.SignalEventArgs args) [0x00000] at Stetic.SignalCollection.OnInsertComplete (Int32 index, System.Object value) [0x00000] at System.Collections.CollectionBase.System.Collections.IList.Add (System.Object value) [0x00000] --- 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] at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] at System.Delegate.DynamicInvokeImpl (System.Object[] args) [0x00000] at System.MulticastDelegate.DynamicInvokeImpl (System.Object[] args) [0x00000] at System.Delegate.DynamicInvoke (System.Object[] args) [0x00000] at GLib.Signal.ClosureInvokedCB (System.Object o, GLib.ClosureInvokedArgs args) [0x00000] at GLib.SignalClosure.Invoke (GLib.ClosureInvokedArgs args) [0x00000] at GLib.SignalClosure.MarshalCallback (IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data) [0x00000] Regards. -- Atte, Maximiliano Marin http://blog.maximilianomarin.com -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

