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

RSRP-468259: Length cannot be less than zero. Parameter name: length

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Feb 6, 2018 6:19:50 AM
Updated Apr 8, 2018 4:02:31 PM
Subsystem Typing Assistance
Assignee Dmitry Osinovsky (Dmitry.Osinovsky)
Priority Critical
State Fixed In Branch
Type Exception
Fix version 2018.1.1
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
ReSharperPlatformVs15 Wave 12 Hive _a5b92070 — JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20180130.130149-eap01d

JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180130.130149-eap01d

SubProducts.0 = JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180130.130149-eap01d

Length cannot be less than zero. Parameter name: length

— EXCEPTION #1/2 [ArgumentOutOfRangeException]
Message = “Length cannot be less than zero.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentOutOfRangeException
HResult = COR_E_ARGUMENTOUTOFRANGE=80131502
Source = mscorlib
ParamName = length
StackTraceString = “
 at System.String.Substring(Int32 startIndex, Int32 length)
 at System.String.Substring(Int32 startIndex, Int32 length)
 at JetBrains.ReSharper.Feature.Services.CSharp.TypingAssist.CSharpTypingAssistBase.TrimWhitespaceInLineCommentOnEnter(IDocument document, CachingLexer lexer, String commentStart, Int32& caretPosition) in W:\ReSharper\Psi.Features\Core\Services\CSharp\Src\TypingAssist\CSharpTypingAssistBase.cs:line 1613
 at JetBrains.ReSharper.Feature.Services.CSharp.TypingAssist.CSharpTypingAssistBase.DoHandleEnterInLineCommentPressed(ITextControl textControl) in W:\ReSharper\Psi.Features\Core\Services\CSharp\Src\TypingAssist\CSharpTypingAssistBase.cs:line 1596
 at JetBrains.ReSharper.Feature.Services.CSharp.TypingAssist.CSharpTypingAssistBase.HandleEnterPressed(IActionContext context) in W:\ReSharper\Psi.Features\Core\Services\CSharp\Src\TypingAssist\CSharpTypingAssistBase.cs:line 1083
 at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.ChainedContextBase`2.CallNext() in W:\ReSharper\Psi.Features\Core\Services\_Core\Src\TypingAssist\TypingAssistManager.cs:line 175
 at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.Handle[TContext,THandler](TContext context, List`1 handlers, ChainedContextBase`2 chainedContextFactory) in W:\ReSharper\Psi.Features\Core\Services\_Core\Src\TypingAssist\TypingAssistManager.cs:line 71
 at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.Act(ITextControl textControl, String actionId, DelegateExecute nextExecute) in W:\ReSharper\Psi.Features\Core\Services\_Core\Src\TypingAssist\TypingAssistManager.cs:line 80
 at JetBrains.ReSharper.Feature.Services.TypingAssist.ExternalActionHandler.Execute(IDataContext context, DelegateExecute nextExecute) in W:\ReSharper\Psi.Features\Core\Services\_Core\Src\TypingAssist\ExternalActionHandler.cs:line 33
 at JetBrains.Application.UI.ActionsRevised.Handlers.ExececutableActionEvaluator.Execute(IAction action, List`1 allActions, IDataContext dataContext) in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\ExececutableActionEvaluator.cs:line 50
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<ExecuteWithoutRequirements>b__23_0(Lifetime lt) in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 83
 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 λ) in W:\ReSharper\Platform\Core\Shell\RdCore\Src\Lifetime\Lifetimes.cs:line 287
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.ExecuteWithoutRequirements() in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 75
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_0.<PrepareRequirementsAsync>b__1() in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 52
 at JetBrains.Util.Logging.Logger.Catch(Action action) in W:\ReSharper\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 339


— Outer —

— EXCEPTION #2/2 [LoggerException]
Message = “
Length cannot be less than zero.
Parameter name: length

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.ManagedThreadName = <NULL>
Data.LastExtension = cs
Data.SccRevisionShell = “<there are no packages matching the criteria>”
Data.HostProductInfo = “JetBrains ReSharper Ultimate 2018.1 EAP 1 D Build 112.0.20180130.130149-eap01d”
Data.SubProducts.#0 = “JetBrains ReSharper 2018.1 EAP 1 D Build 2018.1.20180130.130149-eap01d”
Data.SccRevisionEnv = “
Platform\Core\Shell,
Platform\VisualStudio:
    git::refs/heads/wave12::c230aa3719beb488627585059513aa45b19cc644

Data.VsVersion = 15.4.27004.2010
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex) in W:\ReSharper\Platform\Core\Shell\Core\Src\Logging\ILogger.cs:line 24
 at JetBrains.Util.LoggerBase.Log(LoggingLevel level, String message, Exception ex) in W:\ReSharper\Platform\Core\Shell\Core\Src\Logging\ILogger.cs:line 24
 at JetBrains.Util.Logging.LogEx.Error(ILog this, Exception ex, String message) in W:\ReSharper\Platform\Core\Shell\RdCore\Src\Logging\LogEx.cs:line 213
 at JetBrains.Util.Logging.Logger.LogException(Exception ex) in W:\ReSharper\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 974
 at JetBrains.Util.Logging.Logger.Catch(Action action) in W:\ReSharper\Platform\Core\Shell\Core\Src\Logging\Logger.cs:line 343
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.<>c__DisplayClass21_0.<PrepareRequirementsAsync>b__0() in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 52
 at JetBrains.Application.UI.ActionSystem.ActionsRevised.Handlers.RequirementsManager.ExecuteActionAsync(IActionRequirement requirement, Action continueWith, Action failWith, Boolean reSharperIsThinking) in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionSystem\ActionsRevised\Handlers\RequirementsManager.cs:line 94
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.PrepareRequirementsAsync(OuterLifetime lifetime, Func`1 executeWhenRequirementsReady, Action`1 failWith) in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 48
 at JetBrains.Application.UI.ActionsRevised.Handlers.EvaluatedAction.Execute() in W:\ReSharper\Platform\Core\Shell\Shell\Src\UI\ActionsRevised\Handlers\EvaluatedAction.cs:line 70
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass26_0.<TryDelegateToTypingHandlers_NonTyping>b__0() in W:\ReSharper\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 290
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.WithRegisteredDelegateBackToVsHandler(String sCommandName, Action`1 FExecDelegateBackToVs, Action FRun) in W:\ReSharper\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 349
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.TryDelegateToTypingHandlers_NonTyping(CommandID commandid, Action`1 FExecDelegateBackToVs) in W:\ReSharper\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 290
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.TryDelegateToTypingHandlers(Boolean bIsTyping, CommandID commandid, IntPtr pvaIn, Action`1 FExecDelegateBackToVsClosed) in W:\ReSharper\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 263
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass29_0.<Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec>b__0() in W:\ReSharper\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 396
 at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in W:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 300
 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in W:\ReSharper\Platform\Core\Shell\Core\Src\Concurrency\ReentrancyGuard.cs:line 524
 at JetBrains.VsIntegration.TextControl.VsTextControlOleCommandTarget.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroupRef, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in W:\ReSharper\Platform\VisualStudio\Core\Src\TextControl\VsTextControlOleCommandTarget.cs:line 383
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CompoundTextViewWindow.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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