Reporter | Arnaud Dovi (adovi) |
---|---|
Created | Mar 30, 2012 1:59:06 PM |
Updated | Mar 30, 2012 2:00:18 PM |
Priority | Normal |
Type | Exception |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Evgeny Pasynkov (pasynkov) |
Subsystem | Code Cleanup |
Affected versions | 7.0, 7.0 Preview |
Fixed in build | No Fixed in build |
ReSharper 7 EAP for Visual Studio 11 Beta Version=7.0.6.61, Built=2012-03-26T18:39:52, Configuration=“Csharp PublicMode Vbnet VS1100”
The range (4 005 - 4 023) does not fall within the range (0 - 4 018).
--- EXCEPTION #1/2 [InvalidOperationException]
Message = “The range (4 005 - 4 023) does not fall within the range (0 - 4 018).”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.Platform.ReSharper.Util
StackTraceString = “
”
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “The range (4 005 - 4 023) does not fall within the range (0 - 4 018).”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50214.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
”
The range (4 005 - 4 023) does not fall within the range (0 - 4 018).
--- EXCEPTION #1/2 [InvalidOperationException]
Message = “The range (4 005 - 4 023) does not fall within the range (0 - 4 018).”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
HResult = COR_E_INVALIDOPERATION=80131509
Source = JetBrains.Platform.ReSharper.Util
StackTraceString = “
at JetBrains.Util.TextRange.AssertContainedIn(TextRange rangeContainer) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Text\TextRange.cs:line 388 at JetBrains.DocumentModel.Impl.DocumentBase.GetText(TextRange range) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Documents\src\impl\DocumentBase.cs:line 178 at JetBrains.VsIntegration.DocumentModel.Whidbey.VsDocumentWhidbey.GetText(TextRange fromRange) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentWhidbey.cs:line 229 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiTransactionManager.AddAction(IPsiTransactionAction transactionAction) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiTransactionManager.cs:line 132 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.AddTransactionAction(IPsiTransactionAction action, ITreeNode elementContainingChanges, PsiChangedElementType changedElementType) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiManagerImpl.cs:line 174 at JetBrains.ReSharper.Psi.ExtensionsAPI.LowLevelModificationUtil.ReplaceChildRange(ITreeNode first, ITreeNode last, ITreeNode[] nodes) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\LowLevelModificationUtil.cs:line 261 at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.ModificationUtil.<>c__DisplayClass1a`1.<ReplaceChild>b__18(ITreeNode c) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\ModificationUtil.cs:line 244 at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.ModificationUtil.CloneNode(ITreeNode node, Action`1 clonedNodeAction) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\ModificationUtil.cs:line 480 at JetBrains.ReSharper.Psi.ExtensionsAPI.Tree.ModificationUtil.ReplaceChild[T](ITreeNode oldChild, T newChild) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\ExtensionsAPI\ModificationUtil.cs:line 244 at JetBrains.ReSharper.Psi.VB.Impl.Tree.VBExpressionBase.ReplaceBy(IVBExpression expr) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\VB\src\Impl\Tree\VBExpressionBase.cs:line 212 at JetBrains.ReSharper.Psi.VB.Impl.VBReferenceUtil.ReplaceReferenceElement(ITreeNode element, String refto, Boolean keepExistingTypeArguments) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\VB\src\Impl\VBReferenceUtil.cs:line 163 at JetBrains.ReSharper.Psi.VB.Impl.CodeStyle.VBOptimizeImportsProvider.JetBrains.ReSharper.Psi.Impl.CodeStyle.IOptimizeImportsServiceProvider.ShortenReference(IQualifiableReference reference, DeclaredElementInstance instance) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\VB\src\Impl\CodeStyle\Usings\VBOptimizeImportsProvider.cs:line 79 at JetBrains.ReSharper.Psi.Impl.CodeStyle.OptimizeImportsEngine.ShortenReference(IQualifiableReference reference, DeclaredElementInstance target) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\impl\CodeStyle\Usings\OptimizeImportsEngine.cs:line 191 at JetBrains.ReSharper.Psi.Impl.CodeStyle.OptimizeImportsEngine.ShortenStaticMemberReferences(IFile file, Dictionary`2 map) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\impl\CodeStyle\Usings\OptimizeImportsEngine.cs:line 158 at JetBrains.ReSharper.Psi.Impl.CodeStyle.OptimizeImportsEngine.Optimize(IFile file, IRangeMarker rangeMarker, Boolean optimizeUsings, Boolean shortenReferences, IProgressIndicator progressIndicator) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\impl\CodeStyle\Usings\OptimizeImportsEngine.cs:line 74 at JetBrains.ReSharper.Psi.Impl.CodeStyle.FormatterImplHelper.OptimizeImportsAndRefs(IOptimizeImportsServiceProvider optimizeProvider, IFile file, IRangeMarker rangeMarker, Boolean optimizeUsings, Boolean shortenReferences, IProgressIndicator progressIndicator) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\impl\CodeStyle\FormatterImplHelper.cs:line 775 at JetBrains.ReSharper.Feature.Services.VB.CodeCleanup.OptimizeImports._Closure$__1._Lambda$__2() in C:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\VB\src\CodeCleanup\OptimizeImports.vb:line 85 at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.DoTransaction(Action handler, String commandName) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiManagerImpl.cs:line 241
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “The range (4 005 - 4 023) does not fall within the range (0 - 4 018).”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50214.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.DoTransaction(Action handler, String commandName) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiManagerImpl.cs:line 255 at JetBrains.ReSharper.Feature.Services.VB.CodeCleanup.OptimizeImports.Process(IPsiSourceFile sourceFile, IRangeMarker rangeMarkerMarker, CodeCleanupProfile profile, IProgressIndicator progressIndicator) in C:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\VB\src\CodeCleanup\OptimizeImports.vb:line 86 at JetBrains.ReSharper.Feature.Services.CodeCleanup.CodeCleanup.Run(IPsiSourceFile sourceFile, DocumentRange range, Int32& caret, CodeCleanupProfile profile, IProgressIndicator progressIndicator) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\CodeCleanup\CodeCleanup.cs:line 69 at JetBrains.ReSharper.Features.Altering.CodeCleanup.CodeCleanupActionBase.<>c__DisplayClass2.<FormatFiles>b__0(IProgressIndicator progress) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Features\Altering\src\CodeCleanup\CodeCleanupAction.cs:line 131 at JetBrains.UI.Application.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 315 at JetBrains.UI.Application.Progress.UITaskExecutorRun.<>c__DisplayClass11.<RunStartTask>b__10() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 295 at JetBrains.Threading.JetDispatcher.Closure.Execute() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 829 at JetBrains.Threading.JetDispatcher.ProcessQueue() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 694 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.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(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) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ThreadContext.LocalModalMessageLoop(Form form) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.RunDialog(Form form) at System.Windows.Forms.Form.ShowDialog(IWin32Window owner) at System.Windows.Forms.Form.ShowDialog() at JetBrains.UI.Application.Progress.UITaskExecutorRun.<>c__DisplayClass3.<RunCore>b__0(Lifetime lifetime) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 125 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 41 at JetBrains.UI.Application.Progress.UITaskExecutorRun.RunCore(TaskThreadAffinity taskThreadAffinity, Action`1 FTask, Func`3 FAttachUi, ProgressIndicator progressIndicator, IWin32Window parentWindow, IThreading threading, Boolean enforceModalityState) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 84 at JetBrains.UI.Application.Progress.UITaskExecutorRuns.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Progress\UITaskExecutorRuns.cs:line 188 at JetBrains.ReSharper.Features.Altering.CodeCleanup.CodeCleanupActionBase.FormatFiles(CodeCleanupFilesCollector context, CodeCleanupProfile profile) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Features\Altering\src\CodeCleanup\CodeCleanupAction.cs:line 114 at JetBrains.ReSharper.Features.Altering.CodeCleanup.CodeCleanupActionBase.JetBrains.ActionManagement.IActionHandler.Execute(IDataContext context, DelegateExecute nextExecute) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Features\Altering\src\CodeCleanup\CodeCleanupAction.cs:line 80 at JetBrains.ActionManagement.NextActionHandler.CallExecute() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\Action\ActionHandler.cs:line 43 at JetBrains.VsIntegration.ActionManagement.ConflictingShortcutActionHandler.Execute(IDataContext context, DelegateExecute nextExecute) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\ConflictingShortcutActionHandler.cs:line 98 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__DisplayClass6.<ExecuteActionIfAvailable>b__5(Lifetime lifetime) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 162 at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 F) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 41 at JetBrains.ActionManagement.ActionManager.ExecuteActionIfAvailable(IExecutableAction action, IDataContext dataContextOverride) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 154 at JetBrains.VsIntegration.ActionManagement.VsActionManager.OleCommandTargetExec_Product(String actionid, Boolean isAuxiliaryCommand, IntPtr vIn, IntPtr vOut) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 860 at JetBrains.VsIntegration.ActionManagement.VsActionManager.<>c__DisplayClass22.<OleCommandTargetExec>b__1f() in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 332 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.ActionManagement.VsActionManager.OleCommandTargetExec(CommandID commandid, OLECMDEXECOPT nCmdExecOpt, IntPtr vIn, IntPtr vOut, VsCommandHandlerStage stage) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 328 at JetBrains.VsIntegration.ActionManagement.VsActionManager.<Init>b__59(CommandID commandid, OLECMDEXECOPT opt, IntPtr in, IntPtr out) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 1421 at JetBrains.VsIntegration.Package.VsPackageSdkStub.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& guidGroup, UInt32 nCmdId, UInt32 nCmdExcept, IntPtr vIn, IntPtr vOut) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\Package\VsPackageSdkStub.cs:line 223 at Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource.Invoke(String verb, Object pvaIn, Object& pvaOut) at Microsoft.Internal.VisualStudio.PlatformUI.DataSource.Invoke(String verb, Object pvaIn, Object& pvaOut) at Microsoft.VisualStudio.PlatformUI.VsCommand.Execute(Object parameter) at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg) 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.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(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) at Microsoft.VisualStudio.PlatformUI.NativeMethods.DispatchMessage(MSG& lpmsg) at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.<PushMessageLoopOnContextMenuTrackingComponent>b__69(Object sender, PreTranslateMessageEventArgs args) at Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent.FPreTranslateMessageCore(MSG[] pMsg) at Microsoft.VisualStudio.PlatformUI.OleComponentSupport.OleComponent.Microsoft.VisualStudio.OLE.Interop.IOleComponent.FPreTranslateMessage(MSG[] pMsg) at Microsoft.VisualStudio.OLE.Interop.IOleComponentManager.FPushMessageLoop(UInt32 dwComponentID, UInt32 uReason, IntPtr pvLoopData) at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.PushMessageLoopOnContextMenuTrackingComponent() at Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.ExecCommand(UInt32 itemid, Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Labs.HierarchyUtilities.<>c__DisplayClass22.<ExecHierParentChain>b__1f() at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method) at Microsoft.VisualStudio.Labs.HierarchyUtilities.ExecHierParentChain(IVsHierarchyItemManager manager, IVsUIHierarchy lpUIHCmd, IVsUIHierarchy lpUIHCurrent, UInt32 itemidCurrent, Guid& pguidCmdGroupRef, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Labs.HierarchyItem.HierarchyContextMenuController.ShowContextMenu(IEnumerable`1 items, Point location) at Microsoft.VisualStudio.Labs.ContextMenuController.ShowContextMenu(IEnumerable`1 items, Point location, Func`2 getController) at Microsoft.VisualStudio.Labs.ContextMenuController.ShowContextMenu(IEnumerable`1 items, Point location) at Microsoft.VisualStudio.Labs.PivotTreeView.OnContextMenuOpening(ContextMenuEventArgs e) at System.Windows.FrameworkElement.OnContextMenuOpeningThunk(Object sender, ContextMenuEventArgs e) at System.Windows.Controls.ContextMenuEventArgs.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.ContentElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.ContentElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Controls.PopupControlService.RaiseContextMenuOpeningEvent(IInputElement source, Double x, Double y, Boolean userInitiated) at System.Windows.Controls.PopupControlService.ProcessMouseUp(Object sender, MouseButtonEventArgs e) at System.Windows.Controls.PopupControlService.OnPostProcessInput(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.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)