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

RSRP-294591: Specified argument was out of the range of valid values. Parameter name: span

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Apr 15, 2012 12:38:18 AM
Updated Apr 15, 2012 12:53:46 AM
Resolved Apr 15, 2012 12:53:46 AM
Priority Normal
Type Exception
Fix versions No Fix versions
State Duplicate
Assignee Sergey Coox (coox)
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.7.347, Built=2012-04-02T05:58:30, Configuration=“Csharp PublicMode Vbnet VS1100”
Specified argument was out of the range of valid values. Parameter name: span

--- EXCEPTION #1/2 [ArgumentOutOfRangeException]
Message = “Specified argument was out of the range of valid values.”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentOutOfRangeException
RemoteStackTraceString = “
Server stack trace:
     at Microsoft.VisualStudio.Text.Implementation.BinaryStringRebuilder.GetText(Span span)
     at Microsoft.VisualStudio.Text.Implementation.TextSnapshot.GetText(Span span)
     at Microsoft.VisualStudio.Text.Implementation.BaseSnapshot.GetText(Int32 startIndex, Int32 length)
     at Microsoft.VisualStudio.ExpressionHost.HostServices.HostTextBuffer.Microsoft.Expression.DesignHost.IHostReadOnlyTextBuffer.GetText(Int32 offset, Int32 length)
     at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteHostTextBuffer.Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteHostReadOnlyTextBuffer.GetText(Int32 offset, Int32 length)
     at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
     at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]:
     at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.WaitForCompletion(BlockingCall call)
     at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.Invoke(BlockingCall call)
     at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.Invoke[T](Func`1 func, WaitHandle aborted)
     at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalIn[T](IRemoteObject targetObject, Func`1 func)
     at Microsoft.Expression.DesignHost.Isolation.Remoting.RemoteDesignerLanguageContext.Microsoft.Expression.DesignHost.Isolation.Remoting.IRemoteDesignerLanguageContext.FormatSource(Int32 offset, Int32 length)
     at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
     at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [1]:

HResult = COR_E_ARGUMENTOUTOFRANGE=80131502
Source = Microsoft.VisualStudio.Platform.VSEditor
ParamName = span
StackTraceString = “
  at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.WaitForCompletion(BlockingCall call)
     at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.Invoke(BlockingCall call)
     at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.CallQueue.Invoke[T](Func`1 func, WaitHandle aborted)
     at Microsoft.Expression.DesignHost.Isolation.Remoting.ThreadMarshaler.MarshalOut[T,V](RemoteHandle`1 targetObject, Func`1 func)
     at Microsoft.Expression.DesignHost.Isolation.Remoting.LocalDesignerLanguageContext.Microsoft.Expression.DesignHost.IDesignerLanguageContext.FormatSource(Int32 offset, Int32 length)
     at Microsoft.Expression.DesignHost.IsolatedDesignerService.DesignerLanguageContextWrapper.Microsoft.Expression.DesignHost.IDesignerLanguageContext.FormatSource(Int32 offset, Int32 length)
     at Microsoft.VisualStudio.ExpressionHost.LanguageServices.Xaml.XamlSource.FormatSpan(IVsTextView view, TextSpan span)
     at Microsoft.VisualStudio.ExpressionHost.LanguageServices.Xaml.XamlLanguageService.XamlViewFilter.HandlePostExec(Guid& guidCmdGroup, UInt32 nCmdId, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut, Boolean bufferWasChanged)
     at Microsoft.VisualStudio.Package.ViewFilter.ExecCommand(Guid& guidCmdGroup, UInt32 nCmdId, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at Microsoft.VisualStudio.ExpressionHost.LanguageServices.Xaml.XamlLanguageService.XamlViewFilter.ExecCommand(Guid& guidCmdGroup, UInt32 nCmdId, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at Microsoft.VisualStudio.Package.ViewFilter.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& guidCmdGroup, UInt32 nCmdId, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at Microsoft.VisualStudio.Editor.Implementation.CommandFilterWrapper.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at Microsoft.QuickFind.CommandBlocker.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass5.<ExecDelegateBackToVs>b__4() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 160
     at JetBrains.Application.CommandProcessing.ICommandProcessorEx.<>c__DisplayClass1.<WithCommand>b__0(Lifetime lifetime) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\CommandProcessing\ICommandProcessorEx.cs:line 22
     at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 20
     at JetBrains.Application.CommandProcessing.ICommandProcessorEx.WithCommand(ICommandProcessor thіs, String commandName, Action action) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\CommandProcessing\ICommandProcessorEx.cs:line 19
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass5.<ExecDelegateBackToVs>b__3() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 153
     at JetBrains.DocumentModel.Impl.DocumentBase.ExpectCallbacksFromUnderlyingStore(Action F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Documents\src\impl\DocumentBase.cs:line 94
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.ExecDelegateBackToVs(String sCommandName, CommandID commandid, OLECMDEXECOPT nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 153
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass19.<Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec>b__18(String sCommandName) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 404
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass15.<WithRegisteredDelegateBackToVsHandler>b__14() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 331
     at JetBrains.Util.Logger.Catch(Action action) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Logger\Logger.cs:line 243


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “
Specified argument was out of the range of valid values.
Parameter name: span

ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = xaml
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.40825.2
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.DelegateToVs() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 126
     at JetBrains.VsIntegration.TextControl.VsTextControlsActionSystemInit.VsTextControlDelegatingActionHandler.Execute(IDataContext context, DelegateExecute nextExecute) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlsActionSystemInit.cs:line 52
     at JetBrains.ActionManagement.NextActionHandler.CallExecute() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\Action\ActionHandler.cs:line 43
     at JetBrains.ReSharper.Features.Common.Clipboard.OverridenActionHandler.Execute(Int32 handlerIndex, IDataContext context, DelegateExecute originalExecute) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Features\Common\src\Clipboard\OverridenActionHandler.cs:line 34
     at JetBrains.ReSharper.Features.Common.Clipboard.OverridenActionHandler.<>c__DisplayClass1.<Execute>b__0() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Features\Common\src\Clipboard\OverridenActionHandler.cs:line 31
     at JetBrains.ReSharper.InplaceRefactorings.CutCopyPaste.CopyPasteManager.DoPaste(IDataContext context, DelegateExecute nextExecute) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Refactorings\Inplace\src\CutCopyPaste\CopyPasteManager.cs:line 222
     at JetBrains.ReSharper.Features.Common.Clipboard.OverridenActionHandler.Execute(Int32 handlerIndex, IDataContext context, DelegateExecute originalExecute) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Features\Common\src\Clipboard\OverridenActionHandler.cs:line 34
     at JetBrains.ReSharper.Features.Common.Clipboard.PasteHandler.Execute(IDataContext context, DelegateExecute nextExecute) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Features\Common\src\Clipboard\PasteHandler.cs:line 18
     at JetBrains.ActionManagement.NextActionHandler.CallExecute() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\Action\ActionHandler.cs:line 43
     at JetBrains.ReSharper.Feature.Services.TypingAssist.ActionContext.CallNext() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\TypingAssist\ActionContext.cs:line 44
     at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.ChainedContextBase`2.CallNext() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\TypingAssist\TypingAssistManager.cs:line 168
     at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.Handle[TContext,THandler](TContext context, List`1 handlers, ChainedContextBase`2 chainedContextFactory) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\TypingAssist\TypingAssistManager.cs:line 65
     at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.<>c__DisplayClass2.<Act>b__1(Lifetime lifetime) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\TypingAssist\TypingAssistManager.cs:line 72
     at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 20
     at JetBrains.ReSharper.Feature.Services.TypingAssist.TypingAssistManager.Act(ITextControl textControl, String actionId, DelegateExecute nextExecute) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\TypingAssist\TypingAssistManager.cs:line 74
     at JetBrains.ReSharper.Feature.Services.TypingAssist.ExternalActionHandler.Execute(IDataContext context, DelegateExecute nextExecute) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\TypingAssist\ExternalActionHandler.cs:line 38
     at JetBrains.ActionManagement.ExecutableAction.Execute(IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\Action\ExecutableAction.cs:line 36
     at JetBrains.ActionManagement.ActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 184
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 1375
     at JetBrains.ActionManagement.ActionManager.<>c__DisplayClass3.<ExecuteActionUnsafe>b__2(Lifetime lifetime) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 146
     at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 20
     at JetBrains.ActionManagement.ActionManager.ExecuteActionUnsafe(IExecutableAction action, IDataContext dataContextOverride) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 147
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClasse.<TryDelegateToReSharper_NonTyping>b__d() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 279
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.WithRegisteredDelegateBackToVsHandler(String sCommandName, Action`1 FExecDelegateBackToVs, Action FRun) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 351
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.TryDelegateToReSharper_NonTyping(CommandID commandid, Action`1 FExecDelegateBackToVs) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 279
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.TryDelegateToReSharper(Boolean bIsTyping, CommandID commandid, IntPtr pvaIn, Action`1 FExecDelegateBackToVsClosed) in c:\BuildAgent\work\3355b838ddaf4e5c\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\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 406
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266
     at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\BuildAgent\work\3355b838ddaf4e5c\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\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 395
     at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at Microsoft.VisualStudio.Editor.Implementation.VsCodeWindowAdapter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at MS.Internal.Designer.TextEditor.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     at MS.Internal.Designer.EditorTab.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.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>