Reporter | ReSharper anonymous (resharper) |
---|---|
Created | Mar 28, 2012 3:52:23 AM |
Updated | Mar 28, 2012 3:52:25 AM |
Priority | Normal |
Type | Exception |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Unassigned |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
ReSharper 7 EAP for Visual Studio 11 Beta Version=7.0.3.261, Built=2012-03-16T11:51:20, Configuration=“Csharp PublicMode VS1100”
Offset must not be above the buffer length, 0. Parameter name: offset Actual value was 1.
--- EXCEPTION #1/2 [ArgumentOutOfRangeException]
Message = “Offset must not be above the buffer length, 0.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentOutOfRangeException
HResult = COR_E_ARGUMENTOUTOFRANGE=80131502
Source = JetBrains.Platform.ReSharper.DocumentModel
ParamName = offset
ActualValue = 1
StackTraceString = “
”
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “
Offset must not be above the buffer length, 0.
Parameter name: offset
Actual value was 1.
”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = cshtml
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50316.0
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
”
Offset must not be above the buffer length, 0. Parameter name: offset Actual value was 1.
--- EXCEPTION #1/2 [ArgumentOutOfRangeException]
Message = “Offset must not be above the buffer length, 0.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentOutOfRangeException
HResult = COR_E_ARGUMENTOUTOFRANGE=80131502
Source = JetBrains.Platform.ReSharper.DocumentModel
ParamName = offset
ActualValue = 1
StackTraceString = “
at JetBrains.DocumentModel.Impl.LineIndex.FindLineByOffset(List`1 segments, Int32 offset) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Documents\src\impl\LineIndex.cs:line 218 at JetBrains.DocumentModel.Impl.LineIndex.GetLineColByOffset(Int32 offset) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Documents\src\impl\LineIndex.cs:line 72 at JetBrains.DocumentModel.Impl.DocumentBase.GetCoordsByOffset(Int32 offset) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Documents\src\impl\DocumentBase.cs:line 199 at JetBrains.ReSharper.Feature.Services.Html.TypingAssist.ChangedTagNameTracker.HandleAction(ITextControl textControl, Action action, Func`2 selRangeConverter, Boolean shouldReCheckAfterNoMarkers) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\Html\src\TypingAssist\ChangedTagNameTracker.cs:line 335 at JetBrains.ReSharper.Feature.Services.Html.TypingAssist.ChangedTagNameTracker.Type(ITypingContext typingContext) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\Html\src\TypingAssist\ChangedTagNameTracker.cs:line 476 at JetBrains.TextControl.Impl.TextControlTypingHandlers.TypingContext.CallNext() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 163 at JetBrains.ReSharper.LiveTemplates.Execution.LiveTemplateTracker.TypingHandler.Type(ITypingContext typingContext) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\LiveTemplates\_Core\src\Actions\LiveTemplateTracker.cs:line 100 at JetBrains.TextControl.Impl.TextControlTypingHandlers.TypingContext.CallNext() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 163 at JetBrains.ReSharper.Feature.Services.CodeCompletion.NextTypingHandler.Type(ITypingContext typingContext) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\CodeCompletion\NextTypingHandler.cs:line 39 at JetBrains.TextControl.Impl.TextControlTypingHandlers.TypingContext.CallNext() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 163 at JetBrains.ReSharper.Feature.Services.CodeCompletion.IntellisenseManager.Type(ITypingContext typingContext) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\CodeCompletion\IntellisenseManager.cs:line 217 at JetBrains.TextControl.Impl.TextControlTypingHandlers.TypingContext.CallNext() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 163 at JetBrains.ReSharper.Features.Intellisense.ParameterInfo.ParameterInfoPopupControllerImpl.TypingHandler.Type(ITypingContext typingContext) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Features\Intellisense\src\ParameterInfo\ParameterInfoPopupControllerImpl.cs:line 333 at JetBrains.TextControl.Impl.TextControlTypingHandlers.TypingContext.CallNext() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 163 at JetBrains.ReSharper.Features.Environment.Tips.TipsManagerTypingHandler.<>c__DisplayClass2.<.ctor>b__0(ITypingContext context) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Features\Environment\src\Tips\SolutionEventListener.cs:line 22 at JetBrains.TextControl.Impl.TextControlTypingHandlers.TypingContext.CallNext() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 163 at JetBrains.ReSharper.Feature.Services.TypingAssist.SkippingTypingAssist.Type(ITypingContext typingContext) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\TypingAssist\SkippingTypingAssist.cs:line 54 at JetBrains.TextControl.Impl.TextControlTypingHandlers.TypingContext.CallNext() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 163 at JetBrains.TextControl.Impl.TextControlTypingHandlers.TypingContext.CallFirst(Lifetime lifetime, TypingHandler[] handlers, ITextControl textControl, Char ch, IShellLocks locks) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 142 at JetBrains.TextControl.Impl.TextControlTypingHandlers.<>c__DisplayClass7.<Type>b__6(Lifetime lifetime1) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 109 at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 20 at JetBrains.TextControl.Impl.TextControlTypingHandlers.<>c__DisplayClass7.<Type>b__5(Lifetime lifetime) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 107 at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 20 at JetBrains.TextControl.Impl.TextControlTypingHandlers.Type(ITextControl textControl, Char c) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 104 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass12.<TryDelegateToReSharper_Typing>b__10() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 307 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.WithRegisteredDelegateBackToVsHandler(String sCommandName, Action`1 FExecDelegateBackToVs, Action FRun) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 351
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “
Offset must not be above the buffer length, 0.
Parameter name: offset
Actual value was 1.
”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = cshtml
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50316.0
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.WithRegisteredDelegateBackToVsHandler(String sCommandName, Action`1 FExecDelegateBackToVs, Action FRun) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 355 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass12.<TryDelegateToReSharper_Typing>b__11() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 311 at JetBrains.DocumentModel.Impl.DocumentBase.ExpectCallbacksFromUnderlyingStore(Action F) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Documents\src\impl\DocumentBase.cs:line 94 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.TryDelegateToReSharper_Typing(IntPtr pvaIn, Action`1 FExecDelegateBackToVs) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 310 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.TryDelegateToReSharper(Boolean bIsTyping, CommandID commandid, IntPtr pvaIn, Action`1 FExecDelegateBackToVsClosed) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 258 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass19.<Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec>b__17() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 406 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 415 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroupRef, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 395 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.SendCommand(Guid cmdGroup, UInt32 cmdID, Object inParam) at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.TextInput(TextCompositionEventArgs args) at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<DispatchTextInputEvents>b__0(KeyProcessor p, TextCompositionEventArgs args) at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c__DisplayClass1e`1.<Dispatch>b__1a() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call) at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.Dispatch[T](Action`2 action, T args) at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c__DisplayClass18.<MakeHandler>b__17(Object sender, TextCompositionEventArgs args) at System.Windows.Input.TextCompositionEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.TextCompositionManager.UnsafeCompleteComposition(TextComposition composition) at System.Windows.Input.TextCompositionManager.PostProcessInput(Object sender, ProcessInputEventArgs e) at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.TextCompositionManager.UnsafeStartComposition(TextComposition composition) at System.Windows.Input.TextCompositionManager.PostProcessInput(Object sender, ProcessInputEventArgs e) at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndKeyboardInputProvider.ProcessTextInputAction(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndKeyboardInputProvider.FilterMessage(IntPtr hwnd, WindowMessage message, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 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) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)