Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

some bug

$
0
0

SharpDevelop Version : 5.1.0.5134-RC-d5052dc5
.NET Version         : 4.6.01038
OS Version           : Microsoft Windows NT 6.3.9600.0
Current culture      : English (United States) (en-US)
Running under WOW6432, processor architecture: x86-64
Working Set Memory   : 203276kb
GC Heap Memory       : 36049kb

Unhandled WPF exception
Exception thrown:
System.ArgumentOutOfRangeException: Value must be between 1 and 431
Parameter name: line
Actual value was 2147483647.
   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetOffset(Int32 line, Int32 column)
   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetOffset(TextLocation location)
   at ICSharpCode.NRefactory.CSharp.Refactoring.DocumentScript.GetCurrentOffset(TextLocation originalDocumentLocation)
   at ICSharpCode.NRefactory.CSharp.Refactoring.Script.InsertAfter(AstNode node, AstNode newNode)
   at CSharpBinding.Refactoring.CSharpCodeGenerator.InsertEventHandler(ITypeDefinition target, String name, IEvent eventDefinition, Boolean jumpTo, InsertEventHandlerBodyKind bodyKind)
   at CSharpBinding.FormsDesigner.CSharpEventBindingService.InsertEventHandlerInternal(String methodName, IEvent evt)
   at CSharpBinding.FormsDesigner.CSharpEventBindingService.<>c__DisplayClass10_1.<ShowCode>b__0()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

---- Recent log messages:
07:14:12.367 [1] DEBUG - FormsDesigner loaded, setting ActiveDesignSurface to System.ComponentModel.Design.DesignSurface
07:14:12.374 [1] INFO - Form Designer: END INITIALIZE
07:14:12.374 [1] DEBUG - FormsDesigner view content activated, setting ActiveDesignSurface to System.ComponentModel.Design.DesignSurface
07:14:12.380 [1] DEBUG - ParseInformationUpdated C:\Users\shob\Documents\SharpDevelop Projects\Practice\MainForm.cs (updated)
07:14:12.380 [1] DEBUG - ParseInformationUpdated C:\Users\shob\Documents\SharpDevelop Projects\Practice\MainForm.cs (updated)
07:14:12.380 [1] DEBUG - ParseInformationUpdated C:\Users\shob\Documents\SharpDevelop Projects\Practice\MainForm.Designer.cs (updated)
07:14:12.380 [1] DEBUG - ActiveContentChanged to ICSharpCode.FormsDesigner.FormsDesignerViewContent
07:14:12.380 [1] DEBUG - IDEContainer: Connecting property grid to service provider
07:14:12.477 [1] DEBUG - Folding update ignored; parse information is outdated version
07:14:12.479 [1] DEBUG - Folding update ignored; parse information is outdated version
07:14:14.997 [1] DEBUG - Forms designer: ComponentChanged: textBox3 [System.Windows.Forms.TextBox], Text: , Member=TextChanged, OldValue=<null>, NewValue=<null>; Loading=False; Unloading=False
07:14:14.997 [1] DEBUG - Forms designer: ComponentChanged: textBox3 [System.Windows.Forms.TextBox], Text: , Member=TextChanged, OldValue=<null>, NewValue=TextBox3TextChanged; Loading=False; Unloading=False
07:14:15.020 [1] DEBUG - NavigationService
    ActiveViewContent: MainForm.cs
              Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}
07:14:15.020 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent C:\Users\shob\Documents\SharpDevelop Projects\Practice\MainForm.cs]
07:14:15.022 [1] DEBUG - Forms designer: Save C:\Users\shob\Documents\SharpDevelop Projects\Practice\MainForm.cs
07:14:15.022 [1] INFO - Merging form changes...
07:14:15.023 [1] DEBUG - ResourceWriter requested for culture:
07:14:15.102 [1] INFO - DesignerLoader.Write called
07:14:15.115 [1] INFO - Finished merging form changes
07:14:15.118 [1] DEBUG - FormsDesigner view content deactivated, setting ActiveDesignSurface to null
07:14:15.124 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent C:\Users\shob\Documents\SharpDevelop Projects\Practice\MainForm.cs]
07:14:15.124 [1] DEBUG - IDEContainer: Disconnecting property grid from service provider
07:14:15.128 [1] DEBUG - ParseInformationUpdated C:\Users\shob\Documents\SharpDevelop Projects\Practice\MainForm.Designer.cs (updated)
07:14:15.129 [1] INFO - Open file C:\Users\shob\Documents\SharpDevelop Projects\Practice\MainForm.cs
07:14:15.140 [1] ERROR - Unhandled WPF exception
--> Exception:
System.ArgumentOutOfRangeException: Value must be between 1 and 431
Parameter name: line
Actual value was 2147483647.
   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetOffset(Int32 line, Int32 column)
   at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetOffset(TextLocation location)
   at ICSharpCode.NRefactory.CSharp.Refactoring.DocumentScript.GetCurrentOffset(TextLocation originalDocumentLocation)
   at ICSharpCode.NRefactory.CSharp.Refactoring.Script.InsertAfter(AstNode node, AstNode newNode)
   at CSharpBinding.Refactoring.CSharpCodeGenerator.InsertEventHandler(ITypeDefinition target, String name, IEvent eventDefinition, Boolean jumpTo, InsertEventHandlerBodyKind bodyKind)
   at CSharpBinding.FormsDesigner.CSharpEventBindingService.InsertEventHandlerInternal(String methodName, IEvent evt)
   at CSharpBinding.FormsDesigner.CSharpEventBindingService.<>c__DisplayClass10_1.<ShowCode>b__0()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

---- Post-error application state information:
Installed 3rd party AddIns:
ProjectService.CurrentSolution: [Solution C:\Users\shob\Documents\SharpDevelop Projects\Practice\Practice.sln with 1 projects]
ProjectService.CurrentProject: [CSharpProject: Practice]
Workbench.ActiveContent: [AvalonEditViewContent C:\Users\shob\Documents\SharpDevelop Projects\Practice\MainForm.cs]

 


Viewing all articles
Browse latest Browse all 1764

Trending Articles