Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-274597: Offset must be nonnegative. Parameter name: offset Actual value was -1.

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Aug 1, 2011 1:20:33 AM
Updated Nov 14, 2011 6:55:38 PM
Priority Normal
Type Exception
Fix versions No Fix versions
State Submitted
Assignee Slava Tutushkin (slava.tutushkin)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
ReSharper 6.0 Version=6.0.2202.688, Built=2011-06-30T04:14:16, Configuration=“Csharp InternalMode Vbnet VS1000”
Offset must be nonnegative. Parameter name: offset Actual value was -1.

--- EXCEPTION #1/2 [ArgumentOutOfRangeException]
Message = “Offset must be nonnegative.”
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)
     at JetBrains.DocumentModel.Impl.LineIndex.GetLineColByOffset(Int32 offset)
     at JetBrains.DocumentModel.Impl.DocumentBase.GetCoordsByOffset(Int32 offset)
     at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.ReformatAndShortenBulkOperation.EndsWithWhitespace(IDocument document, TextRange rangeAfter, IPsiSourceFile sourceFile)
     at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.ReformatAndShortenBulkOperation.ExecuteBulkOperation()
     at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.LiveTemplateHotspotSessionController.Init(String actionName, ITextControl textControl, Int32& startOffset, ISolution solution)
     at JetBrains.ReSharper.Feature.Services.LiveTemplates.LiveTemplates.LiveTemplatesManager.CreateHotspotSessionFromTemplate(String actionName, Template template, ISolution solution, ITextControl textControl, Action`1 init)
     at JetBrains.ReSharper.Feature.Services.LiveTemplates.SurroundTemplates.SurroundManager.Execute(Template surround, ISolution solution, ITextControl textControl)
     at JetBrains.ReSharper.LiveTemplates.Surround.SurroundAction.<>c__DisplayClass5.<>c__DisplayClass8.<Execute>b__4()
     at JetBrains.Application.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F)
     at JetBrains.Application.IShellLocksEx.<>c__DisplayClass4.<ExecuteOrQueueReadLock>b__3()
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “
Offset must be nonnegative.
Parameter name: offset
Actual value was -1.

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 10.0.40208.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action)
     at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action)
     at JetBrains.Threading.IThreadingEx.ExecuteOrQueue(IThreading thіs, String name, Action action)
     at JetBrains.Application.IShellLocksEx.ExecuteOrQueueReadLock(IShellLocks thіs, String name, Action F)
     at JetBrains.ReSharper.LiveTemplates.Surround.SurroundAction.<>c__DisplayClass5.<Execute>b__3(Object key)
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
     at JetBrains.UI.PopupMenu.JetPopupMenu.<>c__DisplayClass19.<>c__DisplayClass1d.<ShowCore>b__13(JetPopupMenuItem item)
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value)
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie)
     at JetBrains.DataFlow.Signal`1.Fire(TValue value)
     at JetBrains.UI.PopupMenu.Impl.JetPopupMenuDoc.ExecuteSelectedItem()
     at JetBrains.UI.PopupMenu.Impl.JetPopupMenuDoc.ExecuteMnemonic(Char ch, Boolean& bMnemonicWasAccepted)
     at JetBrains.UI.PopupMenu.Impl.JetPopupMenuMainpartView.OnKeyDownLowPriority(KeyEventArgs args)
     at JetBrains.UI.PopupMenu.Impl.JetPopupMenuView.OnKeyDown(KeyEventArgs args)
     at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
     at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
     at System.Windows.Forms.Control.WndProc(Message& m)
     at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
     at System.Windows.Forms.Form.WndProc(Message& m)
     at JetBrains.UI.PopupMenu.Impl.JetPopupMenuView.WndProc(Message& m)
     at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
     at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
     at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>