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

exception by typing mid(String,...

$
0
0

I got following exception while typing mid(pfad,

SharpDevelop Version : 4.4.1.9729-7196a277
.NET Version         : 4.0.30319.34209
OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1
Current culture      : German (Germany) (de-DE)
Current UI language  : en
Running under WOW6432, processor architecture: x86-64
Working Set Memory   : 172172kb
GC Heap Memory       : 52402kb

Unhandled WPF exception
Exception thrown:
System.ArgumentOutOfRangeException: Value must be between 1 and 602
Parameter name: number
Actual value was 603.
   at ICSharpCode.AvalonEdit.Document.TextDocument.GetLineByNumber(Int32 number)
   at ICSharpCode.SharpDevelop.Editor.AvalonEdit.AvalonEditDocumentAdapter.GetLine(Int32 lineNumber)
   at ICSharpCode.SharpDevelop.ParserService.FindFullExpression(Int32 caretLine, Int32 caretColumn, IDocument document, String fileName)
   at ICSharpCode.SharpDevelop.Refactoring.EditorContext.GetExpressionAt(ITextEditor editor, Int32 caretLine, Int32 caretColumn)
   at ICSharpCode.SharpDevelop.Refactoring.EditorContext.ResolveExpression(Expression expression)
   at SharpRefactoring.ContextActions.CheckAssignmentCache.ExpressionIsValueType(Expression expr)
   at SharpRefactoring.ContextActions.CheckAssignmentCache.GetVariableNameFromVariableDeclaration(LocalVariableDeclaration declaration)
   at SharpRefactoring.ContextActions.CheckAssignmentCache.GetVariableName(EditorContext context)
   at SharpRefactoring.ContextActions.CheckAssignmentCache.Initialize(EditorContext context)
   at ICSharpCode.SharpDevelop.Refactoring.EditorContext.GetCached[T]()
   at SharpRefactoring.ContextActions.CheckAssignmentNull.IsAvailable(EditorContext context)
   at ICSharpCode.SharpDevelop.Refactoring.ContextAction.<GetAvailableActions>d__0.MoveNext()
   at ICSharpCode.SharpDevelop.Refactoring.EditorActionsProvider.<GetActions>d__4.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Collections.ObjectModel.ObservableCollection`1.CopyFrom(IEnumerable`1 collection)
   at System.Collections.ObjectModel.ObservableCollection`1..ctor(IEnumerable`1 collection)
   at ICSharpCode.SharpDevelop.Refactoring.ContextActionsBulbViewModel..ctor(EditorActionsProvider model)
   at ICSharpCode.AvalonEdit.AddIn.ContextActionsRenderer.BuildPopupViewModel(ITextEditor editor)
   at ICSharpCode.AvalonEdit.AddIn.ContextActionsRenderer.TimerMoveTick(Object sender, EventArgs e)
   at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

---- Recent log messages:
11:21:04.140 [1] DEBUG - Removing part V:\GmbH\Finanzen\Controlling\User\Opfermann\SharpDevelop Projects\Doku_oeffnen\Doku_oeffnen\MainForm.vb from compound class Doku_oeffnen.MainForm
11:21:04.140 [1] DEBUG - Second-to-last part removed (old part count = 2), overwriting compound with last part
11:21:04.140 [1] DEBUG - Adding existing class MainForm from MainForm.vb
11:21:04.140 [1] DEBUG - Creating compound for Doku_oeffnen.MainForm
11:21:04.171 [1] DEBUG - ParseInformationUpdated V:\GmbH\Finanzen\Controlling\User\Opfermann\SharpDevelop Projects\Doku_oeffnen\Doku_oeffnen\MainForm.vb new!=null:True
11:21:04.358 [1] DEBUG - ShowInsight for >>Mid<<
11:21:04.477 [1] WARN - not expected: [C# <Identifier>/VB <EOL> Location=(Line 537, Col 38) EndLocation=(Line 538, Col 1) val=]
11:21:04.569 [9] DEBUG - Removing part V:\GmbH\Finanzen\Controlling\User\Opfermann\SharpDevelop Projects\Doku_oeffnen\Doku_oeffnen\MainForm.vb from compound class Doku_oeffnen.MainForm
11:21:04.569 [9] DEBUG - Second-to-last part removed (old part count = 2), overwriting compound with last part
11:21:04.569 [9] DEBUG - Adding existing class MainForm from MainForm.vb
11:21:04.569 [9] DEBUG - Creating compound for Doku_oeffnen.MainForm
11:21:04.569 [1] DEBUG - ParseInformationUpdated V:\GmbH\Finanzen\Controlling\User\Opfermann\SharpDevelop Projects\Doku_oeffnen\Doku_oeffnen\MainForm.vb new!=null:True
11:21:04.881 [1] WARN - not expected: [C# <Identifier>/VB <EOL> Location=(Line 537, Col 38) EndLocation=(Line 538, Col 1) val=]
11:21:04.896 [1] WARN - not expected: [C# <Identifier>/VB <EOL> Location=(Line 537, Col 38) EndLocation=(Line 538, Col 1) val=]
11:21:05.489 [20] DEBUG - Aborting FindReferencesInCurrentFile due to timeout
11:21:06.316 [1] WARN - not expected: [C# <Identifier>/VB <EOL> Location=(Line 537, Col 38) EndLocation=(Line 538, Col 1) val=]
11:21:06.332 [1] WARN - not expected: [C# <Identifier>/VB <EOL> Location=(Line 537, Col 38) EndLocation=(Line 538, Col 1) val=]
11:21:06.971 [1] DEBUG - ShowInsight for >>Mid<<
11:21:07.486 [1] DEBUG - Removing part V:\GmbH\Finanzen\Controlling\User\Opfermann\SharpDevelop Projects\Doku_oeffnen\Doku_oeffnen\MainForm.vb from compound class Doku_oeffnen.MainForm
11:21:07.486 [1] DEBUG - Second-to-last part removed (old part count = 2), overwriting compound with last part
11:21:07.486 [1] DEBUG - Adding existing class MainForm from MainForm.vb
11:21:07.486 [1] DEBUG - Creating compound for Doku_oeffnen.MainForm
11:21:07.502 [1] WARN - not expected: [C# <Literal>/VB <Identifier> Location=(Line 539, Col 12) EndLocation=(Line 539, Col 16) val=Pfad]
11:21:07.502 [1] WARN - not expected: [C# <EOF>/VB <EOF> Location=(Line 602, Col 1) EndLocation=(Line 602, Col 1) val=]
11:21:07.502 [1] WARN - not expected: [C# <EOF>/VB <EOF> Location=(Line 602, Col 1) EndLocation=(Line 602, Col 1) val=]

---- Post-error application state information:
Installed 3rd party AddIns:
Workbench.ActiveContent: [AvalonEditViewContent V:\GmbH\Finanzen\Controlling\User\Opfermann\SharpDevelop Projects\Doku_oeffnen\Doku_oeffnen\MainForm.vb]
ProjectService.OpenSolution: [Solution: FileName=V:\GmbH\Finanzen\Controlling\User\Opfermann\SharpDevelop Projects\Doku_oeffnen\Doku_oeffnen.sln, HasProjects=True, ReadOnly=False]
ProjectService.CurrentProject: [VBNetProject: Doku_oeffnen]


Viewing all articles
Browse latest Browse all 1764

Trending Articles