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

RSRP-289629: This operation requires a writer lock. Use WriteLockCookie.Execute().

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Mar 9, 2012 3:09:18 AM
Updated Mar 9, 2012 3:09:18 AM
Priority Normal
Type Exception
Fix versions No Fix versions
State Submitted
Assignee Unassigned
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
ReSharper 7 Preview for Visual Studio 11 Beta EAP Version=7.0.0.325, Built=2012-03-02T18:39:56, Configuration=“Csharp PublicMode Vbnet VS1100”
This operation requires a writer lock. Use WriteLockCookie.Execute().

--- EXCEPTION #1/1 [LoggerException]
Message = “This operation requires a writer lock. Use WriteLockCookie.Execute().”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = cs
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsErrorInfo = “
Invalid cookie
Parameter name: cookie

Data.VsVersion = 11.0.50214.1
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Application.IShellLocksEx.AssertWriteAccessAllowed(IShellLocks thіs) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Shell\src\Threading\ShellLocks.cs:line 934
     at JetBrains.ReSharper.Psi.Impl.Caches2.CacheManagerImpl.CacheManagerChangeProvider.Execute(IChangeMap changeMap) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\impl\caches2\CacheManagerImpl.cs:line 246
     at JetBrains.Application.Changes.ChangeManagerImpl.<>c__DisplayClassc.<InvokeOrderedDependentProviders>b__b(IChangeProvider dependentChangeProvider) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Shell\src\changes\ChangeManagerImpl.cs:line 261
     at JetBrains.Util.CollectionUtil.ForEach[T](IEnumerable`1 collection, Action`1 action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Collections\CollectionUtil.cs:line 1555
     at JetBrains.Application.Changes.ChangeManagerImpl.<>c__DisplayClassc.<InvokeOrderedDependentProviders>b__a(IProgressIndicator pro) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Shell\src\changes\ChangeManagerImpl.cs:line 253
     at JetBrains.Application.Progress.SimpleTaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Shell\src\Progress\SimpleTaskExecutor.cs:line 66
     at JetBrains.Application.Changes.ChangeManagerImpl.InvokeOrderedDependentProviders(ITaskExecutor executor, IEnumerable`1 dependentProviders, ChangeMap changeMap) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Shell\src\changes\ChangeManagerImpl.cs:line 277
     at JetBrains.Application.Changes.ChangeManagerImpl.OnProviderChanged(IChangeProvider changeProvider, Object change, ITaskExecutor executor) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Shell\src\changes\ChangeManagerImpl.cs:line 218
     at JetBrains.DocumentModel.Impl.DocumentBase.RaiseDocumentChangedEvents(DocumentChange args, Boolean needCopyChangeEvent) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Documents\src\impl\DocumentBase.cs:line 311
     at JetBrains.DocumentModel.impl.ManagedDocumentBase.HandleExternalDocumentChange(DocumentChange args, Boolean underWriteLock, Int32 timestamp) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Documents\src\impl\ManagedDocumentBase.cs:line 169
     at JetBrains.DocumentModel.impl.ManagedDocumentBase.HandleExternalChange(DocumentChange documentChange, Int32 timestamp, Boolean underWriteLock) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Documents\src\impl\ManagedDocumentBase.cs:line 72
     at JetBrains.VsIntegration.DocumentModel.Whidbey.VsDocumentWhidbey.<>c__DisplayClass4.<SetDocumentOperationsHandler>b__2() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentWhidbey.cs:line 163
     at JetBrains.DocumentModel.Impl.DocumentBase.ExpectCallbacksFromUnderlyingStore(Action F) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Documents\src\impl\DocumentBase.cs:line 94
     at JetBrains.VsIntegration.DocumentModel.Whidbey.VsDocumentWhidbey.SetDocumentOperationsHandler(IDocumentOperationsHandlerWhidbey value, Boolean creatingDocument) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentWhidbey.cs:line 160
     at JetBrains.VsIntegration.DocumentModel.Whidbey.VsDocumentWhidbey.AttachToVsTextBuffer(IVsTextBuffer textStream, Boolean isCreatingDocument, IVsFileChangeEx vsFileChangeEx, VsDocumentManagerSynchronization vsDocumentManagerSynchronization, DocumentToProjectFileMappingStorage documentToProjectFileMappingStorage, VsCommandProcessor vsCommandProcessor, IFileSystemTracker fileSystemTracker) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentWhidbey.cs:line 140
     at JetBrains.VsIntegration.Whidbey.DocumentModel.VsDocumentOverProjectFileFactoryWhidbey.CreateNewDocumentCore(IProjectFile projectFile, SolutionDocumentTransactionManager documentTransactionManager) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentFactoryWhidbey.cs:line 98
     at JetBrains.DocumentManagers.impl.StandaloneDocumentOverProjectFileFactory.JetBrains.DocumentManagers.IDocumentOverProjectFileFactory_TransactionManager.CreateNewDocument_TransactionManager(IProjectFile projectFile, SolutionDocumentTransactionManager documentTransactionManager) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\ProjectDocuments\src\Creation\StandaloneDocumentFactory.cs:line 37
     at JetBrains.DocumentManagers.Transactions.SolutionDocumentTransactionManager.JetBrains.DocumentManagers.IDocumentOverProjectFileFactory.CreateNewDocument(IProjectFile projectFile) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\ProjectDocuments\src\Transactions\SolutionDocumentTransactionManager.cs:line 138
     at JetBrains.DocumentManagers.DocumentsOnProjectFiles.GetOrCreateDocument_Create(IProjectFile profile, IDocumentOverProjectFileFactory myFactory) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\ProjectDocuments\src\Creation\DocumentsOnProjectFiles.cs:line 75
     at JetBrains.DocumentManagers.DocumentsOnProjectFiles.GetOrCreateDocument(IProjectFile profile, IDocumentOverProjectFileFactory factory) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\ProjectDocuments\src\Creation\DocumentsOnProjectFiles.cs:line 60
     at JetBrains.VsIntegration.Whidbey.DocumentModel.VsDocumentManagerWhidbey.OnRegisterTextBuffer(VsTextBufferData textBufferData) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentManagerWhidbey.cs:line 486
     at JetBrains.VsIntegration.Whidbey.DocumentModel.VsDocumentManagerWhidbey.<>c__DisplayClass1d.<OnRdtAfterFirstDocumentLock>b__1c() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentManagerWhidbey.cs:line 368
     at JetBrains.Application.IShellLocksEx.ExecuteWithReadLock(IShellLocks thіs, Action F) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Shell\src\Threading\ShellLocks.cs:line 989
     at JetBrains.VsIntegration.Whidbey.DocumentModel.VsDocumentManagerWhidbey.<>c__DisplayClass1d.<OnRdtAfterFirstDocumentLock>b__1b() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentManagerWhidbey.cs:line 361
     at JetBrains.Util.LogCookie.Execute(String comment, Action F) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Logger\LogCookie.cs:line 37
     at JetBrains.VsIntegration.Whidbey.DocumentModel.VsDocumentManagerWhidbey.<>c__DisplayClass1d.<OnRdtAfterFirstDocumentLock>b__1a() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentManagerWhidbey.cs:line 361
     at JetBrains.Util.Concurrency.UnguardedCallbackMerger.<>c__DisplayClass3.<ExecuteOrQueueOrMerge>b__0() in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\UnguardedCallbackMerger.cs:line 139
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266
     at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\BuildAgent\work\1939c01d7b25093a\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\1939c01d7b25093a\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\1939c01d7b25093a\Platform\src\Util\src\Concurrency\UnguardedCallbackMerger.cs:line 136
     at JetBrains.VsIntegration.Whidbey.DocumentModel.VsDocumentManagerWhidbey.OnRdtAfterFirstDocumentLock(EventArgs`1 args) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentManagerWhidbey.cs:line 361
     at JetBrains.DataFlow.Signal`1.NotifySinks(TValue payload) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 363
     at JetBrains.DataFlow.Signal`1.Fire(TValue value, Object cookie) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 524
     at JetBrains.DataFlow.Signal`1.Fire(TValue value) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Signal!1.cs:line 473
     at JetBrains.VsIntegration.Interop.Events.VsRunningDocumentTableEvents.Sink.Microsoft.VisualStudio.Shell.Interop.IVsRunningDocTableEvents.OnAfterFirstDocumentLock(UInt32 docCookie, UInt32 dwRDTLockType1, UInt32 dwReadLocksRemaining, UInt32 dwEditLocksRemaining) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\Interop\Events\VsRunningDocumentTableEvents.cs:line 288
     at Microsoft.VisualStudio.Shell.Interop.IVsHierarchyDropDataTarget.Drop(IDataObject pDataObject, UInt32 grfKeyState, UInt32 itemid, UInt32& pdwEffect)
     at Microsoft.VisualStudio.Labs.HierarchyItem.OnDrop(DirectionalDropArea area, DragEventArgs e)
     at Microsoft.VisualStudio.Labs.PivotTreeViewItem.<>c__DisplayClassa.<OnDrop>b__9(DirectionalDropArea area, IDragDropTargetPattern target)
     at Microsoft.VisualStudio.Labs.PivotTreeViewItem.HandleDragEvent(DragEventArgs e, Action`2 handler)
     at Microsoft.VisualStudio.Labs.PivotTreeViewItem.OnDrop(DragEventArgs e)
     at System.Windows.UIElement.OnDropThunk(Object sender, DragEventArgs e)
     at System.Windows.DragEventArgs.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.RaiseEvent(RoutedEventArgs e)
     at System.Windows.OleDropTarget.RaiseDragEvent(RoutedEvent dragEvent, Int32 dragDropKeyStates, Int32& effects, DependencyObject target, Point targetPoint)
     at System.Windows.OleDropTarget.MS.Win32.UnsafeNativeMethods.IOleDropTarget.OleDrop(Object data, Int32 dragDropKeyStates, Int64 point, Int32& effects)
     at Microsoft.VisualStudio.Labs.HierarchyItem.HierarchyDragDropController.DoDragDrop(IDataObject dataObject, IDropSource dropSource, UInt32 allowedEffects, UInt32& effect)
     at Microsoft.VisualStudio.Labs.HierarchyItem.HierarchyDragDropController.DoDragDrop(IEnumerable`1 items)
     at Microsoft.VisualStudio.Labs.DragDropSourceController.DoDragDrop(IEnumerable`1 items, Func`2 getController)
     at Microsoft.VisualStudio.Labs.DragDropSourceController.DoDragDrop(IEnumerable`1 items)
     at Microsoft.VisualStudio.Labs.PivotTreeView.OnDragStarted(Object sender, ScreenDragEventArgs args)
     at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
     at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
     at System.Delegate.DynamicInvokeImpl(Object[] args)
     at System.Windows.RoutedEventArgs.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.RaiseEvent(RoutedEventArgs e)
     at Microsoft.VisualStudio.Labs.PivotTreeViewItem.OnDragStarted(Point point)
     at Microsoft.VisualStudio.Labs.DraggableListBoxItem.OnMouseMove(MouseEventArgs e)
     at System.Windows.UIElement.OnMouseMoveThunk(Object sender, MouseEventArgs e)
     at System.Windows.Input.MouseEventArgs.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)

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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