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

RSRP-297900: This operation requires a reader lock. Use ReadLockCookie.Execute().

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Apr 27, 2012 5:30:38 AM
Updated Apr 27, 2012 5:30:38 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 EAP for Visual Studio 11 Beta Version=7.0.25.115, Built=2012-04-25T16:31:12, Configuration=“Csharp PublicMode Vbnet VS1100”
This operation requires a reader lock. Use ReadLockCookie.Execute().

--- EXCEPTION #1/1 [LoggerException]
Message = “This operation requires a reader lock. Use ReadLockCookie.Execute().”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = aspx
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50323.1
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.Application.IShellLocksEx.AssertReadAccessAllowed(IShellLocks thіs) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\Threading\ShellLocks.cs:line 920
     at JetBrains.ProjectModel.ProjectItemBase.GetProject() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Projects\src\model2\ProjectImplementation\ProjectItemBase.cs:line 169
     at JetBrains.ReSharper.Psi.Impl.PsiModuleManagerImpl.GetPsiSourceFilesFor(IProjectFile projectFile) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiModuleManagerImpl.cs:line 107
     at JetBrains.ReSharper.Psi.PsiSourceFileExtensions.GetPsiSourceFiles(IDocument document, ISolution solution) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\IPsiSourceFile.cs:line 172
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiFilesCache.ResetChangesInDocument(IDocument committedDocument) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiFilesCache.cs:line 0
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiTransactionManager.CommitTransaction() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiTransactionManager.cs:line 271
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.CommitTransaction() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiManagerImpl.cs:line 141
     at JetBrains.ReSharper.Psi.PsiTransactionCookie.Commit() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\PsiTransactionCookie.cs:line 46
     at JetBrains.ReSharper.Psi.Impl.CodeStyle.OptimizeImportsEngine.ShortenReference(IQualifiableReference reference, DeclaredElementInstance target) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\CodeStyle\Usings\OptimizeImportsEngine.cs:line 192
     at JetBrains.ReSharper.Psi.Impl.CodeStyle.OptimizeImportsEngine.TryShortenReference(IQualifiableReference reference, OptimizeReferenceCollector collection, Boolean shortenReferences) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\CodeStyle\Usings\OptimizeImportsEngine.cs:line 227
     at JetBrains.ReSharper.Psi.Impl.CodeStyle.OptimizeImportsEngine.ShortenReferences(List`1 list, OptimizeReferenceCollector collection, Boolean shortenReferences) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\CodeStyle\Usings\OptimizeImportsEngine.cs:line 131
     at JetBrains.ReSharper.Psi.Impl.CodeStyle.OptimizeImportsEngine.ReBindRegisteredReferences(OptimizeReferenceCollector collection, Boolean shortenReferences, IProgressIndicator progressIndicator) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\CodeStyle\Usings\OptimizeImportsEngine.cs:line 79
     at JetBrains.ReSharper.Psi.Impl.CodeStyle.OptimizeImportsEngine.Optimize(IFile file, IRangeMarker rangeMarker, Boolean optimizeUsings, Boolean shortenReferences, IProgressIndicator progressIndicator) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\CodeStyle\Usings\OptimizeImportsEngine.cs:line 72
     at JetBrains.ReSharper.Psi.Impl.CodeStyle.FormatterImplHelper.OptimizeImportsAndRefs(IOptimizeImportsServiceProvider optimizeProvider, IFile file, IRangeMarker rangeMarker, Boolean optimizeUsings, Boolean shortenReferences, IProgressIndicator progressIndicator) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\CodeStyle\FormatterImplHelper.cs:line 777
     at JetBrains.ReSharper.Feature.Services.CSharp.Generate.MemberBody.CSharpMemberBodyOperations.FormatBody(IBlock body) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\CSharp\src\Generate\MemberBody\CSharpMemberBodyUtil.cs:line 180
     at JetBrains.ReSharper.Feature.Services.CSharp.Generate.MemberBody.CSharpMemberBodyOperations.<>c__DisplayClass3.<SetBody>b__0(Lifetime lifetime) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\CSharp\src\Generate\MemberBody\CSharpMemberBodyUtil.cs:line 122
     at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 20
     at JetBrains.ReSharper.Feature.Services.CSharp.Generate.MemberBody.CSharpMemberBodyOperations.SetBody(ICSharpFunctionDeclaration declaration, IBlock bodyBlock) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\CSharp\src\Generate\MemberBody\CSharpMemberBodyUtil.cs:line 125
     at JetBrains.ReSharper.Feature.Services.CSharp.Generate.MemberBody.CSharpMemberBodyOperations.SetBody(IDeclaration declaration, MethodImplementationKind implementationKind) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\CSharp\src\Generate\MemberBody\CSharpMemberBodyUtil.cs:line 66
     at JetBrains.ReSharper.Feature.Services.CSharp.Generate.MemberBody.CSharpMemberBodyOperations.SetBodyToDefault(IDeclaration declaration) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\CSharp\src\Generate\MemberBody\CSharpMemberBodyUtil.cs:line 49
     at JetBrains.ReSharper.Feature.Services.Generate.MemberBodyUtil.SetBodyToDefault(ITypeMemberDeclaration declaration) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\Generate\MemberBodyUtil.cs:line 37
     at JetBrains.ReSharper.Feature.Services.Intentions.Impl.MemberBodyTemplates.DefaultMemberBodyTemplateFieldHolderFactory.CreateBodyTemplateHolder(ITypeMemberDeclaration declaration) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\Intentions\Impl\MemberBodyTemplates\DefaultBodyTemplateFieldHolderFactory.cs:line 26
     at JetBrains.ReSharper.Feature.Services.Intentions.Impl.DeclarationBuilders.MethodDeclarationBuilder.Create(CreateMethodDeclarationContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\Intentions\Impl\DeclarationBuilders\MethodDeclarationBuilder.cs:line 98
     at JetBrains.ReSharper.Feature.Services.CSharp.Intentions.CSharpCreateMethodIntention.ExecuteEx(CreateMethodDeclarationContext context) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\CSharp\src\Intentions\CSharpCreateMethodIntention.cs:line 14
     at JetBrains.ReSharper.Feature.Services.Intentions.Util.CreateMethodUtil`1.<>c__DisplayClass2.<CreateMethod>b__1() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\Intentions\Util\CreateMethodUtil.cs:line 74
     at JetBrains.ReSharper.Psi.Impl.PsiManagerImpl.PsiManagerImpl.DoTransaction(Action handler, String commandName) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Psi\_Core\src\impl\PsiManager\PsiManagerImpl.cs:line 241
     at JetBrains.ReSharper.Feature.Services.Intentions.Util.CreateMethodUtil`1.CreateMethod(TMethodReference newReference, ITypeDeclaration targetTypeDeclaration, MemberSignature signature, AccessRights accessRights, Func`2 suggestMethodName) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\Intentions\Util\CreateMethodUtil.cs:line 79
     at JetBrains.ReSharper.Feature.Services.Lookup.Impl.CreateNewMethodLookupItem`1.DoCreateMethod(TMethodReference newReference, ITypeDeclaration targetTypeDeclaration) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\Lookup\Impl\CreateNewMethodLookupItem.cs:line 178
     at JetBrains.ReSharper.Feature.Services.Lookup.Impl.CreateNewMethodLookupItem`1.<>c__DisplayClass4.<Accept>b__2(Object , EventArgs ) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\Lookup\Impl\CreateNewMethodLookupItem.cs:line 150
     at System.EventHandler.Invoke(Object sender, EventArgs e)
     at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSessionUi.Detach(Boolean external, Boolean terminate) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\LiveTemplates\Hotspots\HotspotSessionUI.cs:line 150
     at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSessionUi.<.ctor>b__0(IHotspotSession , TerminationType ) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\LiveTemplates\Hotspots\HotspotSessionUI.cs:line 96
     at System.Action`2.Invoke(T1 arg1, T2 arg2)
     at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSessionBase.OnClosed(IHotspotSession session, TerminationType terminationType) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\LiveTemplates\Hotspots\HotspotSessionBase.cs:line 45
     at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSession.EndSession(TerminationType terminationType) in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\LiveTemplates\Hotspots\HotspotSession.cs:line 218
     at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSession.<BeforeDocumentChanged>b__13() in c:\BuildAgent\work\1d5606e7e667bf54\Psi.Features\src\Services\_Core\src\LiveTemplates\Hotspots\HotspotSession.cs:line 258
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266
     at JetBrains.Threading.ReentrancyGuard.<ExecutePendingActions>b__8(QueuedAction action) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 505
     at JetBrains.Threading.ReentrancyGuard.InterlockedQueue.TryDequeue(Action`1 funcVisitor) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 977
     at JetBrains.Threading.ReentrancyGuard.ExecutePendingActions() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 508
     at JetBrains.Threading.JetDispatcher.Closure.Execute() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Concurrency\JetDispatcher.cs:line 829
     at JetBrains.Threading.JetDispatcher.ProcessQueue() in c:\BuildAgent\work\1d5606e7e667bf54\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)

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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