SharpDevelop Version : 5.1.0.5134-RC-d5052dc5
.NET Version : 4.6.00079
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 : 119652kb
GC Heap Memory : 17100kb
Error on LoadSolutionProjects thread
Exception thrown:
System.AggregateException: One or more errors occurred. ---> System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at System.String.Substring(Int32 startIndex, Int32 length)
at ICSharpCode.NRefactory.Editor.StringTextSource.GetText(Int32 offset, Int32 length)
at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)
at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)
at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseFile(ITextSource fileContent, IProject parentProject, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserService.ParseFile(FileName fileName, ITextSource fileContent, IProject parentProject, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ProjectContentContainer.<>c__DisplayClass27_0.<ParseFiles>b__0(FileName fileName)
at System.Threading.Tasks.Parallel.<>c__DisplayClass21`2.<ForEachWorker>b__22(Int32 i)
at System.Threading.Tasks.Parallel.<>c__DisplayClass9`1.<ForWorker>b__11()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass0.<ExecuteSelfReplicating>b__1(Object )
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IList`1 list, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body)
at ICSharpCode.SharpDevelop.Parser.ProjectContentContainer.ParseFiles(List`1 filesToParse, IProgressMonitor progressMonitor)
at ICSharpCode.SharpDevelop.Parser.ProjectContentContainer.Initialize(IProgressMonitor progressMonitor, List`1 filesToParse)
at ICSharpCode.SharpDevelop.Parser.ProjectContentContainer.<>c__DisplayClass10_0.<.ctor>b__0(IProgressMonitor monitor)
at ICSharpCode.SharpDevelop.Parser.LoadSolutionProjects.JobTask.Run(IProgressMonitor progressMonitor)
at ICSharpCode.SharpDevelop.Parser.LoadSolutionProjects.JobQueue.RunThread()
---> (Inner Exception #0) System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at System.String.Substring(Int32 startIndex, Int32 length)
at ICSharpCode.NRefactory.Editor.StringTextSource.GetText(Int32 offset, Int32 length)
at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)
at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)
at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseFile(ITextSource fileContent, IProject parentProject, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserService.ParseFile(FileName fileName, ITextSource fileContent, IProject parentProject, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ProjectContentContainer.<>c__DisplayClass27_0.<ParseFiles>b__0(FileName fileName)
at System.Threading.Tasks.Parallel.<>c__DisplayClass21`2.<ForEachWorker>b__22(Int32 i)
at System.Threading.Tasks.Parallel.<>c__DisplayClass9`1.<ForWorker>b__11()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass0.<ExecuteSelfReplicating>b__1(Object )<---
---- Recent log messages:
10:58:49.688 [1] INFO - Loading addin WiX Binding
10:58:49.695 [1] INFO - Initialize DirectoryNode D:\Acquisition
10:58:49.736 [1] DEBUG - [AddInManager2.Events] Package list download ended (success: True).
10:58:49.740 [1] DEBUG - NavigationService -- suspend logging
10:58:49.740 [1] INFO - Open file D:\Acquisition\AcquisitionResultForm.cs
10:58:49.740 [1] DEBUG - Service startup: ICSharpCode.SharpDevelop.Workbench.IDisplayBindingService
10:58:49.783 [1] INFO - Loading addin Search & Replace
10:58:49.797 [1] DEBUG - Service startup: ICSharpCode.SharpDevelop.ILanguageService
10:58:49.866 [1] DEBUG - Service startup: ICSharpCode.SharpDevelop.Editor.IEditorControlService
10:58:49.895 [1] DEBUG - Update Foldings
10:58:49.896 [1] DEBUG - Service startup: ICSharpCode.SharpDevelop.Editor.Bookmarks.IBookmarkManager
10:58:49.906 [1] DEBUG - Trying to restore memento of '[AvalonEditViewContent D:\Acquisition\AcquisitionResultForm.cs]' from key '1e13ec5:D:\ACQUISITION\ACQUISITIONRESULTFORM.CS'
10:58:49.982 [1] DEBUG - NavigationService -- resume logging
10:58:49.987 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent D:\Acquisition\AcquisitionResultForm.cs]
10:58:49.987 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: AcquisitionResultForm.cs]
10:58:49.987 [1] INFO - CurrentProject changed to Acquisition
10:58:49.987 [1] DEBUG - NavigationService
ActiveViewContent: AcquisitionResultForm.cs
Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}
10:58:49.987 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent D:\Acquisition\AcquisitionResultForm.cs]
10:58:50.044 [1] INFO - Loading addin ASP.NET MVC Binding
10:58:50.046 [1] DEBUG - Service startup: ICSharpCode.UnitTesting.ITestService
10:58:50.054 [LoadSolutionProjects] DEBUG - Deserializing C:\Users\Graham\AppData\Local\Temp\SharpDevelop5.1\Acquisition.17f1d263.prj
10:58:50.108 [1] DEBUG - Update Foldings
10:58:50.148 [12] ERROR - Got ArgumentOutOfRangeException while parsing D:\Acquisition\MainForm.cs
10:58:50.151 [LoadSolutionProjects] ERROR - Error on LoadSolutionProjects thread
--> Exception:
System.AggregateException: One or more errors occurred. ---> System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at System.String.Substring(Int32 startIndex, Int32 length)
at ICSharpCode.NRefactory.Editor.StringTextSource.GetText(Int32 offset, Int32 length)
at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)
at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)
at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseFile(ITextSource fileContent, IProject parentProject, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserService.ParseFile(FileName fileName, ITextSource fileContent, IProject parentProject, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ProjectContentContainer.<>c__DisplayClass27_0.<ParseFiles>b__0(FileName fileName)
at System.Threading.Tasks.Parallel.<>c__DisplayClass21`2.<ForEachWorker>b__22(Int32 i)
at System.Threading.Tasks.Parallel.<>c__DisplayClass9`1.<ForWorker>b__11()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass0.<ExecuteSelfReplicating>b__1(Object )
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at System.Threading.Tasks.Parallel.ForWorker[TLocal](Int32 fromInclusive, Int32 toExclusive, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Func`4 bodyWithLocal, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IList`1 list, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEachWorker[TSource,TLocal](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body, Action`2 bodyWithState, Action`3 bodyWithStateAndIndex, Func`4 bodyWithStateAndLocal, Func`5 bodyWithEverything, Func`1 localInit, Action`1 localFinally)
at System.Threading.Tasks.Parallel.ForEach[TSource](IEnumerable`1 source, ParallelOptions parallelOptions, Action`1 body)
at ICSharpCode.SharpDevelop.Parser.ProjectContentContainer.ParseFiles(List`1 filesToParse, IProgressMonitor progressMonitor)
at ICSharpCode.SharpDevelop.Parser.ProjectContentContainer.Initialize(IProgressMonitor progressMonitor, List`1 filesToParse)
at ICSharpCode.SharpDevelop.Parser.ProjectContentContainer.<>c__DisplayClass10_0.<.ctor>b__0(IProgressMonitor monitor)
at ICSharpCode.SharpDevelop.Parser.LoadSolutionProjects.JobTask.Run(IProgressMonitor progressMonitor)
at ICSharpCode.SharpDevelop.Parser.LoadSolutionProjects.JobQueue.RunThread()
---> (Inner Exception #0) System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
at System.String.Substring(Int32 startIndex, Int32 length)
at ICSharpCode.NRefactory.Editor.StringTextSource.GetText(Int32 offset, Int32 length)
at ICSharpCode.NRefactory.Editor.ReadOnlyDocument.GetText(Int32 offset, Int32 length)
at CSharpBinding.Parser.TParser.AddCommentTags(SyntaxTree cu, IList`1 tagComments, ITextSource fileContent, FileName fileName, IDocument& document)
at CSharpBinding.Parser.TParser.Parse(FileName fileName, ITextSource fileContent, Boolean fullParseInformationRequested, IProject parentProject, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseWithExceptionHandling(ITextSource fileContent, Boolean fullParseInformationRequested, IProject project, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.DoParse(ITextSource fileContent, IProject parentProject, Boolean fullParseInformationRequested, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserServiceEntry.ParseFile(ITextSource fileContent, IProject parentProject, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ParserService.ParseFile(FileName fileName, ITextSource fileContent, IProject parentProject, CancellationToken cancellationToken)
at ICSharpCode.SharpDevelop.Parser.ProjectContentContainer.<>c__DisplayClass27_0.<ParseFiles>b__0(FileName fileName)
at System.Threading.Tasks.Parallel.<>c__DisplayClass21`2.<ForEachWorker>b__22(Int32 i)
at System.Threading.Tasks.Parallel.<>c__DisplayClass9`1.<ForWorker>b__11()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.InnerInvokeWithArg(Task childTask)
at System.Threading.Tasks.Task.<>c__DisplayClass0.<ExecuteSelfReplicating>b__1(Object )<---
10:58:50.154 [LoadSolutionProjects] WARN - Stack trace of last exception log:
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at ICSharpCode.SharpDevelop.Logging.SDMessageService.ShowException(Exception ex, String message)
at ICSharpCode.SharpDevelop.Parser.LoadSolutionProjects.JobQueue.RunThread()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
---- Post-error application state information:
Installed 3rd party AddIns:
ProjectService.CurrentSolution: [Solution D:\Acquisition\Acquisition.sln with 1 projects]
ProjectService.CurrentProject: [CSharpProject: Acquisition]
Workbench.ActiveContent: System.InvalidOperationException: The calling thread cannot access this object because a different thread owns it.
at System.Windows.Threading.Dispatcher.VerifyAccess()
at ICSharpCode.SharpDevelop.DispatcherMessageLoop.VerifyAccess()
at ICSharpCode.SharpDevelop.Workbench.WpfWorkbench.get_ActiveContent()
at ICSharpCode.SharpDevelop.Workbench.WorkbenchStartup.<>c.<InitializeWorkbench>b__4_0()
at ICSharpCode.Core.ApplicationStateInfoService.GetCurrentApplicationStateInfo()