Reporter | Marcel Malik (MarcelMalik) |
---|---|
Created | Mar 31, 2012 7:26:51 PM |
Updated | Mar 31, 2012 7:26:51 PM |
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.6.61, Built=2012-03-26T18:39:52, Configuration=“Csharp PublicMode Vbnet VS1100”
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 = “C:\dev\Projects\Task List\TaskList.Tasks\ViewModels\TaskListToolBarViewModel.cs”
Data.ProjectFile = “C:\dev\Projects\Task List\TaskList.Tasks\ViewModels\TaskListToolBarViewModel.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 = xaml
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 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 = “C:\dev\Projects\Task List\TaskList.Tasks\ViewModels\TaskListToolBarViewModel.cs”
Data.ProjectFile = “C:\dev\Projects\Task List\TaskList.Tasks\ViewModels\TaskListToolBarViewModel.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 = xaml
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.DocumentManagers.SolutionDocumentChangeProvider.AssertOnFileBasedDocumentModification(DocumentBase document, IProjectFile projectFile) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\ProjectDocuments\src\SolutionDocumentChangeProvider.cs:line 115 at JetBrains.DocumentManagers.SolutionDocumentChangeProvider.JetBrains.Application.IChangeProvider.Execute(IChangeMap changeMap) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\ProjectDocuments\src\SolutionDocumentChangeProvider.cs:line 83 at JetBrains.Application.Changes.ChangeManagerImpl.<>c__DisplayClassc.<InvokeOrderedDependentProviders>b__b(IChangeProvider dependentChangeProvider) in c:\BuildAgent\work\3355b838ddaf4e5c\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\3355b838ddaf4e5c\Platform\src\Util\src\Collections\CollectionUtil.cs:line 1571 at JetBrains.Application.Changes.ChangeManagerImpl.<>c__DisplayClassc.<InvokeOrderedDependentProviders>b__a(IProgressIndicator pro) in c:\BuildAgent\work\3355b838ddaf4e5c\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\3355b838ddaf4e5c\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\3355b838ddaf4e5c\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\3355b838ddaf4e5c\Platform\src\Shell\src\changes\ChangeManagerImpl.cs:line 218 at JetBrains.DocumentModel.Impl.DocumentBase.RaiseDocumentChangedEvents(DocumentChange args, Boolean needCopyChangeEvent) in c:\BuildAgent\work\3355b838ddaf4e5c\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\3355b838ddaf4e5c\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\3355b838ddaf4e5c\Platform\src\Documents\src\impl\ManagedDocumentBase.cs:line 72 at JetBrains.VsIntegration.Whidbey.DocumentModel.FileSystemDocumentOperationsHandlerWhidbey.ReplaceText(TextRange range, String newText) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\FileSystemDocumentOperationsHandlerWhidbey.cs:line 90 at JetBrains.VsIntegration.DocumentModel.Whidbey.VsDocumentWhidbey.ApplyInternalDocumentChange(DocumentChange documentChange, Boolean underWriteLock, Int32 timestamp) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentWhidbey.cs:line 205 at JetBrains.DocumentModel.impl.ManagedDocumentBase.ChangeDocument(DocumentChange documentChange, Int32 timestamp) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Documents\src\impl\ManagedDocumentBase.cs:line 105 at JetBrains.DocumentModel.impl.ManagedDocumentBase.ReplaceText(TextRange atRange, String text) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Documents\src\impl\ManagedDocumentBase.cs:line 130 at JetBrains.ReSharper.Feature.Services.Lookup.TextLookupItemBase.DoReplaceText(ITextControl textcontrol, TextRange replaceRange, String typeInName) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\Lookup\TextLookupItemBase.cs:line 248 at JetBrains.ReSharper.Feature.Services.Lookup.TextLookupItemBase.Accept(ITextControl textControl, TextRange nameRange, LookupItemInsertType lookupItemInsertType, Suffix suffix, ISolution solution, Boolean keepCaretStill) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\Lookup\TextLookupItemBase.cs:line 157 at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.Hotspot.Evaluate() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\LiveTemplates\Hotspots\Hotspot.cs:line 201 at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSessionBase.EvaluateHotspot(Hotspot hotspot) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\LiveTemplates\Hotspots\HotspotSessionBase.cs:line 80 at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSession.GoToNextHotspot() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\LiveTemplates\Hotspots\HotspotSession.cs:line 161 at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSession.StartSession() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\LiveTemplates\Hotspots\HotspotSession.cs:line 89 at JetBrains.ReSharper.Feature.Services.LiveTemplates.Hotspots.HotspotSessionExecutor.ExecuteSession(HotspotSession hotspotSession, IDisposable tryFinallyCookie) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\LiveTemplates\Hotspots\HotspotSessionExecutor.cs:line 64 at JetBrains.ReSharper.LiveTemplates.FileTemplates.FileTemplatesManagerImpl.CreateFileFromTemplate(String fileNameNoExtension, IProjectFolder targetFolder, Template template, Action`1 init) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\LiveTemplates\_Core\src\FileTemplates\FileTemplatesManagerImpl.cs:line 109 at JetBrains.ReSharper.Feature.Services.LiveTemplates.FileTemplates.FileFromTemplateActionHandler.Execute(IDataContext context, DelegateExecute nextExecute) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\LiveTemplates\FileTemplates\FileFromTemplateActionHandler.cs:line 63 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.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.UIElement.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)