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

RSRP-295275: The document cannot not be modified without an active Undo scope.

$
0
0
Reporter Kirill Falk (kfalk) Kirill Falk (kfalk)
Created Apr 17, 2012 4:42:02 PM
Updated Apr 21, 2012 2:07:39 PM
Priority Show-stopper
Type Exception
Fix versions 7.0 Preview
State Submitted
Assignee Sergey Shkredov (serjic.shkredov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
ReSharper Branch Build “default” Version=7.0.17.7, Built=2012-04-17T19:57:44, Configuration=“Csharp PublicMode Vbnet VS1100”
The document cannot not be modified without an active Undo scope.

--- EXCEPTION #1/2 [InvalidOperationException]
Message = “The document cannot not be modified without an active Undo scope.”
ExceptionPath = Root.InnerException
ClassName = System.InvalidOperationException
Data.DocumentMoniker = “C:\Users\kfalk.LABS\Documents\Visual Studio 11\Projects\Application1\Application4\default.html”
Data.ProjectFile = “C:\Users\kfalk.LABS\Documents\Visual Studio 11\Projects\Application1\Application4\default.html”
Data.Cause = “There is no Undo scope opened to make sure the action could be undone on the document.”
Data.Fix = “Scope the change with CommandProcessor::WithCommand.”
HResult = COR_E_INVALIDOPERATION=80131509

--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “The document cannot not be modified without an active Undo scope.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = html
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50323.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\1d5606e7e667bf54\Platform\src\ProjectDocuments\src\SolutionDocumentChangeProvider.cs:line 133
     at JetBrains.DocumentManagers.SolutionDocumentChangeProvider.JetBrains.Application.IChangeProvider.Execute(IChangeMap changeMap) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\ProjectDocuments\src\SolutionDocumentChangeProvider.cs:line 83
     at JetBrains.Application.Changes.ChangeManagerImpl.<>c__DisplayClassb.<InvokeOrderedDependentProviders>b__a(IProgressIndicator pro) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\changes\ChangeManagerImpl.cs:line 262
     at JetBrains.Application.Progress.SimpleTaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task) in c:\BuildAgent\work\1d5606e7e667bf54\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\1d5606e7e667bf54\Platform\src\Shell\src\changes\ChangeManagerImpl.cs:line 280
     at JetBrains.Application.Changes.ChangeManagerImpl.OnProviderChanged(IChangeProvider changeProvider, Object change, ITaskExecutor executor) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\changes\ChangeManagerImpl.cs:line 218
     at JetBrains.DocumentModel.Impl.DocumentBase.RaiseDocumentChangedEvents(DocumentChange args, Boolean needCopyChangeEvent) in c:\BuildAgent\work\1d5606e7e667bf54\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\1d5606e7e667bf54\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\1d5606e7e667bf54\Platform\src\Documents\src\impl\ManagedDocumentBase.cs:line 72
     at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.OnLoadCompletedInternal(Int32 fReload) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 336
     at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.<>c__DisplayClass47.<Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted>b__45() in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 668
     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.ExecuteOrQueue(String name, Action action) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 304
     at JetBrains.Threading.IThreadingEx.ExecuteOrQueue(IThreading thіs, String name, Action action) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\Shell\src\Threading\Invocator.cs:line 218
     at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload) in c:\BuildAgent\work\1d5606e7e667bf54\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 668
     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)
     at Microsoft.VisualStudio.Shell.Interop.IVsUIShellOpenDocument.OpenStandardEditor(UInt32 grfOpenStandard, String pszMkDocument, Guid& rguidLogicalView, String pszOwnerCaption, IVsUIHierarchy pHier, UInt32 itemid, IntPtr punkDocDataExisting, IServiceProvider psp, IVsWindowFrame& ppWindowFrame)
     at Microsoft.VisualStudio.Project.VS.Implementation.Package.FileDocumentManager.Open(SimpleHierarchyNode projectItem, Boolean newFile, Boolean openWith, UInt32 editorFlags, Guid& editorType, String physicalView, Guid& logicalView, IntPtr docDataExisting, IVsWindowFrame& windowFrame, WindowFrameShowAction windowFrameAction)
     at Microsoft.VisualStudio.Project.VS.Implementation.Package.FileDocumentManager.Open(SimpleHierarchyNode projectItem, Boolean newFile, Boolean openWith, Guid& logicalView, IntPtr docDataExisting, IVsWindowFrame& windowFrame, WindowFrameShowAction windowFrameAction)
     at Microsoft.VisualStudio.Project.VS.Implementation.Package.FileDocumentManager.Open(SimpleHierarchyNode projectItem, Boolean newFile, Boolean openWith, Guid logicalView, IVsWindowFrame& frame, WindowFrameShowAction windowFrameAction)
     at Microsoft.VisualStudio.Project.VS.Implementation.Package.FileDocumentManager.Open(SimpleHierarchyNode projectItem, Boolean newFile, Boolean openWith, WindowFrameShowAction windowFrameAction)
     at Microsoft.VisualStudio.Project.VS.Implementation.Package.Components.DefaultVsUIHierarchyWindowCmdsHandler.TryHandleCommand(IImmutableSet`1 items, Int64 commandId, Boolean focused, Int64 commandExecuteOptions, IntPtr variantArgIn, IntPtr variantArgOut)
     at Microsoft.VisualStudio.Project.VS.Implementation.Package.ProjectNode.InternalExecCommand(Guid cmdGroup, UInt32 cmdId, UInt32 cmdExecOpt, UInt32 itemId, IntPtr vaIn, IntPtr vaOut, CommandOrigin commandOrigin)
     at Microsoft.VisualStudio.Project.VS.Implementation.Package.ProjectNode.<>c__DisplayClass161.<ExecCommand>b__160()
     at Microsoft.VisualStudio.Project.Utilities.HResult.Invoke(Func`1 action, IServiceProvider vsShellServiceProvider)
     at Microsoft.VisualStudio.Project.VS.Implementation.Package.ProjectNode.ExecCommand(UInt32 itemId, Guid& guidCmdGroup, UInt32 nCmdId, UInt32 nCmdExecOpt, IntPtr pvain, IntPtr p)
     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.HierarchyInvocationController.Invoke(IEnumerable`1 items, InputSource inputSource, Boolean preview)
     at Microsoft.VisualStudio.Labs.InvocationController.Invoke(IEnumerable`1 items, InputSource inputSource, Boolean preview, Func`2 getController)
     at Microsoft.VisualStudio.Labs.InvocationController.Invoke(IEnumerable`1 items, InputSource inputSource, Boolean preview)
     at Microsoft.VisualStudio.Labs.PivotTreeViewItem.InvokeItem(InputDevice sourceDevice)
     at Microsoft.VisualStudio.Labs.PivotTreeViewItem.OnMouseLeftButtonDown(MouseButtonEventArgs e)
     at System.Windows.UIElement.OnMouseLeftButtonDownThunk(Object sender, MouseButtonEventArgs e)
     at System.Windows.Input.MouseButtonEventArgs.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.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
     at System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)
     at System.Windows.Input.MouseButtonEventArgs.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.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>