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

RSRP-199985: The file-based document has not been cleared for write access.

$
0
0
Reporter Serge Baltic (baltic) Serge Baltic (baltic)
Created Dec 9, 2010 6:45:49 PM
Updated Mar 14, 2012 12:19:23 AM
Priority Normal
Type Exception
Fix versions No Fix versions
State Submitted
Assignee Serge Baltic (baltic)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build

The file-based document has not been cleared for write access.

--- EXCEPTION #1/2 [InvalidOperationException]
Message = “The file-based document has not been cleared for write access.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.DocumentMoniker = W:\ReSharper\ReSharper\Platform\src\Shell\src\Application\Environment\Components\SuspendResume.cs
Data.ProjectFile = W:\ReSharper\ReSharper\Platform\src\Shell\src\Application\Environment\Components\SuspendResume.cs
Data.Cause = “The file-based document has not been cleared for write access (for example, with Source Code Control). It is not safe to modify documents without SCC clearance.”
Data.Fix = “Use DocumentManager::EnsureWritable to get clearance for write access.”
HResult = COR_E_INVALIDOPERATION=80131509

--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “The file-based document has not been cleared for write access.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = cs
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.DocumentManagers.SolutionDocumentChangeProvider.AssertOnFileBasedDocumentModification(DocumentBase document, IProjectFile projectFile) in w:\ReSharper\ReSharper\Platform\src\DocumentManager\src\SolutionDocumentChangeProvider.cs:line 115
     at JetBrains.DocumentManagers.SolutionDocumentChangeProvider.JetBrains.Application.IChangeProvider.Execute(IChangeMap changeMap) in w:\ReSharper\ReSharper\Platform\src\DocumentManager\src\SolutionDocumentChangeProvider.cs:line 84
at JetBrains.Application.Changes.ChangeManagerImpl.<>c__DisplayClassc.<InvokeOrderedDependentProviders>b__b(IChangeProvider dependentChangeProvider) in w:\ReSharper\ReSharper\Platform\src\Shell\src\changes\ChangeManagerImpl.cs:line 271
     at JetBrains.Util.CollectionUtil.ForEach[T](IEnumerable`1 collection, Action`1 action) in w:\ReSharper\ReSharper\Platform\src\Util\src\Collections\CollectionUtil.cs:line 1390
at JetBrains.Application.Changes.ChangeManagerImpl.<>c__DisplayClassc.<InvokeOrderedDependentProviders>b__a(IProgressIndicator pro) in w:\ReSharper\ReSharper\Platform\src\Shell\src\changes\ChangeManagerImpl.cs:line 263
     at JetBrains.Application.Progress.SimpleTaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task) in w:\ReSharper\ReSharper\Platform\src\Shell\src\Progress\SimpleTaskExecutor.cs:line 70
     at JetBrains.Application.Changes.ChangeManagerImpl.InvokeOrderedDependentProviders(ITaskExecutor executor, IEnumerable`1 dependentProviders, ChangeMap changeMap) in w:\ReSharper\ReSharper\Platform\src\Shell\src\changes\ChangeManagerImpl.cs:line 287
     at JetBrains.Application.Changes.ChangeManagerImpl.OnProviderChanged(IChangeProvider changeProvider, Object change, ITaskExecutor executor) in w:\ReSharper\ReSharper\Platform\src\Shell\src\changes\ChangeManagerImpl.cs:line 230
     at JetBrains.DocumentModel.Impl.DocumentBase.RaiseDocumentChangedEvents(DocumentChange args, Boolean needCopyChangeEvent) in w:\ReSharper\ReSharper\Platform\src\DocumentModel\src\impl\DocumentBase.cs:line 311
     at JetBrains.DocumentModel.impl.ManagedDocumentBase.HandleExternalDocumentChange(DocumentChange args, Boolean underWriteLock, Int32 timestamp) in w:\ReSharper\ReSharper\Platform\src\DocumentModel\src\impl\ManagedDocumentBase.cs:line 169
     at JetBrains.DocumentModel.impl.ManagedDocumentBase.HandleExternalChange(DocumentChange documentChange, Int32 timestamp, Boolean underWriteLock) in w:\ReSharper\ReSharper\Platform\src\DocumentModel\src\impl\ManagedDocumentBase.cs:line 72
     at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.OnLoadCompletedInternal(Int32 fReload) in w:\ReSharper\ReSharper\Platform\src\VSIntegration\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 340
at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.<>c__DisplayClass47.<Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted>b__45() in w:\ReSharper\ReSharper\Platform\src\VSIntegration\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 657
at Action(DocumentOperationHandlers.OnLoadCompleted).Execute(Action )
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in w:\ReSharper\ReSharper\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 256
     at JetBrains.Threading.ReentrancyGuard.ExecuteOrQueue(String name, Action action) in w:\ReSharper\ReSharper\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 296
     at JetBrains.Threading.IThreadingEx.ExecuteOrQueue(IThreading thіs, String name, Action action) in w:\ReSharper\ReSharper\Platform\src\Shell\src\Threading\Invocator.cs:line 205
     at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload) in w:\ReSharper\ReSharper\Platform\src\VSIntegration\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 657
     at Microsoft.VisualStudio.Editor.Implementation.VsTextBufferAdapter.LoadCompletedEventHandler.Invoke(Int32 fReload)
     at Microsoft.VisualStudio.Editor.Implementation.VsTextBufferAdapter.NotifyOfTextBufferLoad(Boolean isReload)
     at Microsoft.VisualStudio.Editor.Implementation.VsTextBufferAdapter.Load(String pszFilename, UInt32 grfMode, Int32 fReadOnly)
     at Microsoft.VisualStudio.Editor.Implementation.VsTextBufferAdapter.LoadDocData(String pszMkDocument)

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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