Reporter | ReSharper anonymous (resharper) |
---|---|
Created | Mar 31, 2012 1:34:44 PM |
Updated | Mar 31, 2012 1:51:52 PM |
Resolved | Mar 31, 2012 1:51:51 PM |
Priority | Normal |
Type | Exception |
Fix versions | No Fix versions |
State | Duplicate |
Assignee | Ilya Ryzhenkov (orangy) |
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.5.37, Built=2012-03-25T14:12:10, Configuration=“Csharp PublicMode Vbnet VS1100”
The span does not belong to a source snapshot of the projection snapshot
--- EXCEPTION #1/2 [ArgumentException]
Message = “The span does not belong to a source snapshot of the projection snapshot”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentException
HResult = COR_E_ARGUMENT=E_INVALIDARG=80070057
Source = Microsoft.VisualStudio.Platform.VSEditor
StackTraceString = “
”
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “The span does not belong to a source snapshot of the projection snapshot”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = ascx
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsErrorInfo = “
Invalid cookie
Parameter name: cookie
”
Data.VsVersion = 11.0.50214.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
”
The span does not belong to a source snapshot of the projection snapshot
--- EXCEPTION #1/2 [ArgumentException]
Message = “The span does not belong to a source snapshot of the projection snapshot”
ExceptionPath = Root.InnerException
ClassName = System.ArgumentException
HResult = COR_E_ARGUMENT=E_INVALIDARG=80070057
Source = Microsoft.VisualStudio.Platform.VSEditor
StackTraceString = “
at Microsoft.VisualStudio.Text.Projection.Implementation.ProjectionSnapshot.MapFromSourceSnapshot(SnapshotSpan sourceSpan) at Microsoft.VisualStudio.Text.Projection.Implementation.BufferGraph.MapUpOneLevel(List`1 spans, ITextSnapshot& chosenSnapshot, Predicate`1 match, List`1 topSpans) at Microsoft.VisualStudio.Text.Projection.Implementation.BufferGraph.CheckedMapUpToBuffer(SnapshotSpan span, SpanTrackingMode trackingMode, Predicate`1 match) at Microsoft.VisualStudio.Text.Projection.Implementation.BufferGraph.MapUpToBuffer(SnapshotSpan span, SpanTrackingMode trackingMode, ITextBuffer targetBuffer) at Microsoft.VisualStudio.Text.Implementation.MappingSpan.GetSpans(ITextBuffer targetBuffer) at Microsoft.VisualStudio.Text.Implementation.MappingSpan.GetSpans(ITextSnapshot targetSnapshot) at JetBrains.VsIntegration.DevTen.Markup.VsHighlightingVisualManager.<>c__DisplayClass12.<OnTagsChanged>b__f() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\v10.v11\Src\Markup\VsHighlightingVisualManager.cs:line 131 at JetBrains.VsIntegration.DevTen.Markup.VsHighlightingVisualManager.OnTagsChanged(Object sender, TagsChangedEventArgs e) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\v10.v11\Src\Markup\VsHighlightingVisualManager.cs:line 137
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “The span does not belong to a source snapshot of the projection snapshot”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = ascx
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsErrorInfo = “
Invalid cookie
Parameter name: cookie
”
Data.VsVersion = 11.0.50214.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.VsIntegration.DevTen.Markup.VsHighlightingVisualManager.OnTagsChanged(Object sender, TagsChangedEventArgs e) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\v10.v11\Src\Markup\VsHighlightingVisualManager.cs:line 143 at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args) at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.RaiseEvents(Object sender, IMappingSpan span) at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.SourceTaggerTagsChanged(Object sender, SnapshotSpanEventArgs e) at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at JetBrains.VsIntegration.DevTen.Markup.VsDocumentMarkupTagger.MarkupUpdated() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\v10.v11\Src\Markup\VsDocumentMarkupTagger.cs:line 118 at JetBrains.VsIntegration.DevTen.Markup.VsDocumentMarkupTagger.DocumentChangedForTextBuffer(PropertyChangedEventArgs`1 args) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\v10.v11\Src\Markup\VsDocumentMarkupTagger.cs:line 72 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524 at JetBrains.DataFlow.Property`1.FireChange(TValue old, TValue new, Object cookie) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Property!1.cs:line 280 at JetBrains.DataFlow.Property`1.SetValue(TValue value, Object cookie) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Property!1.cs:line 560 at JetBrains.DataFlow.IPropertyEx_ObsoleteWithoutLifetime.<>c__DisplayClass5`1.<PushValue>b__4() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Extension\IPropertyEx_ObsoleteWithoutLifetime.cs:line 45 at JetBrains.DataFlow.Disposable.NonFinalizableDisposable.Close() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Lifetime\Disposable.cs:line 390 at JetBrains.DataFlow.Disposable.NonFinalizableDisposable.Dispose() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Lifetime\Disposable.cs:line 431 at JetBrains.DataFlow.SingleDisposable.Put(IDisposable new) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\SingleDisposable.cs:line 51 at JetBrains.DataFlow.SingleDisposable.Dispose() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\SingleDisposable.cs:line 106 at JetBrains.DataFlow.Lifetime.<>c__DisplayClass1.<AddDispose>b__0() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Lifetime\Lifetime.cs:line 94 at JetBrains.DataFlow.Lifetime.Terminate() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Lifetime\Lifetime.cs:line 363 at JetBrains.DataFlow.ObsoleteLifetimeAndDefinitionAtTheSameTime.Terminate() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Lifetime\ObsoleteLifetimeAndDefinitionAtTheSameTime.cs:line 92 at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.Dispose() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 445 at JetBrains.VsIntegration.DocumentModel.Whidbey.VsDocumentWhidbey.SetDocumentOperationsHandler(IDocumentOperationsHandlerWhidbey value, Boolean creatingDocument) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentWhidbey.cs:line 151 at JetBrains.VsIntegration.DocumentModel.Whidbey.VsDocumentWhidbey.OnCloseInEditor(IProjectFile projectFile) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentWhidbey.cs:line 114 at JetBrains.VsIntegration.Whidbey.DocumentModel.VsDocumentManagerWhidbey.OnUnregisterTextBuffer(VSCOOKIE docCookie, SpecialFileOperation specialFileOperation) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentManagerWhidbey.cs:line 587 at JetBrains.VsIntegration.Whidbey.DocumentModel.VsDocumentManagerWhidbey.<>c__DisplayClass27.<OnRdtBeforeLastDocumentUnlock>b__26() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentManagerWhidbey.cs:line 418 at JetBrains.Application.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Shell\src\Threading\ShellLocks.cs:line 989 at JetBrains.VsIntegration.Whidbey.DocumentModel.VsDocumentManagerWhidbey.<>c__DisplayClass27.<OnRdtBeforeLastDocumentUnlock>b__25() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentManagerWhidbey.cs:line 412 at JetBrains.Util.LogCookie.Execute(String comment, Action F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Logger\LogCookie.cs:line 37 at JetBrains.VsIntegration.Whidbey.DocumentModel.VsDocumentManagerWhidbey.<>c__DisplayClass27.<OnRdtBeforeLastDocumentUnlock>b__24() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentManagerWhidbey.cs:line 412 at JetBrains.Util.Concurrency.UnguardedCallbackMerger.<>c__DisplayClass3.<ExecuteOrQueueOrMerge>b__0() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\UnguardedCallbackMerger.cs:line 139 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.Threading.ReentrancyGuardEx.ExecuteOrQueue(ReentrancyGuard thіs, Lifetime lifetime, String name, Action F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\ReentrancyGuardEx.cs:line 64 at JetBrains.Util.Concurrency.UnguardedCallbackMerger.ExecuteOrQueueOrMerge(Lifetime lifetimeQueue, String name, Action F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\UnguardedCallbackMerger.cs:line 136 at JetBrains.VsIntegration.Whidbey.DocumentModel.VsDocumentManagerWhidbey.OnRdtBeforeLastDocumentUnlock(EventArgs`1 args) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentManagerWhidbey.cs:line 412 at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363 at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524 at JetBrains.DataFlow.Signal`1.Fire(TValue value) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Signal!1.cs:line 473 at JetBrains.VsIntegration.Interop.Events.VsRunningDocumentTableEvents.Sink.Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents.OnBeforeLastDocumentUnlock(UInt32 docCookie, UInt32 dwRDTLockType1, UInt32 dwReadLocksRemaining, UInt32 dwEditLocksRemaining) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\Interop\Events\VsRunningDocumentTableEvents.cs:line 411 at Microsoft.VisualStudio.Shell.Interop.IVsRunningDocumentTable.UnlockDocument(UInt32 grfRDTLockType, UInt32 dwCookie) at Microsoft.VisualStudio.Platform.WindowManagement.RdtLock.DisposeNativeResources() at Microsoft.VisualStudio.PlatformUI.DisposableObject.Dispose() at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.QueryCloseFrame(__FRAMECLOSE originalFrameClose, Int32& hr) at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.frameView_Hiding(Object sender, CancelEventArgs e) at Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent(CancelEventHandler eventHandler, Object source, CancelEventArgs args) at Microsoft.VisualStudio.PlatformUI.Shell.View.RaiseHiding() at Microsoft.VisualStudio.PlatformUI.Shell.View.Hide() at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.OnHideViewCore(ViewElement closingViewElement, Boolean hideOnlyActiveView) at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.OnHideView(Object sender, ExecutedRoutedEventArgs args) at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.<.cctor>b__9(Object sender, ExecutedRoutedEventArgs args) at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e) at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding) at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute) at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute) at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e) at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e) at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target) 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.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated) at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated) at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Button.OnClick() at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.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.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.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.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, 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.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(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.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout) 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)