Reporter | Serge Baltic (baltic) |
---|---|
Created | Mar 21, 2012 8:30:57 PM |
Updated | Mar 21, 2012 8:31:00 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 6.1 EAP Version=6.5.0.0, Built=2012-01-23T16:53:03, Configuration=“Csharp InternalMode Vbnet VS1000”
Failed to modify document. Exception from HRESULT: 0x80041001
--- EXCEPTION #1/2 [COMException]
Message = “Exception from HRESULT: 0x80041001”
ExceptionPath = Root.InnerException
ClassName = System.Runtime.InteropServices.COMException
HResult = BUFFER_E_READONLY=80041001
Source = mscorlib
StackTraceString = “
”
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “Failed to modify document.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.Document = C:\Users\baltic\AppData\Local\Temp\ReSharperCache\_ReSharper.PlatformProductStandalone.1322106123\Decompiler\decompiler\ba\532202f4\StickyNoteControl.cs
Data.DocumentRange = “(0 - 71,419)”
Data.RangeToReplace = “(3,113 - 3,129)”
Data.OldText = RegisterReadOnly
Data.OldTextLen = 16
Data.NewText = _
Data.NewTextLen = 2
Data.AroundOldText = “ropertyKey = DependencyProperty.RegisterReadOnly("Author", typeof (string), type”
Data.LastExtension = cs
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 10.0.40219.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at Action(VsTextControl.Exec).Execute(Action )
”
Failed to modify document. Exception from HRESULT: 0x80041001
--- EXCEPTION #1/2 [COMException]
Message = “Exception from HRESULT: 0x80041001”
ExceptionPath = Root.InnerException
ClassName = System.Runtime.InteropServices.COMException
HResult = BUFFER_E_READONLY=80041001
Source = mscorlib
StackTraceString = “
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at JetBrains.UI.Interop.HResultsEx.AssertSucceeded(Int32 hresult) in w:\ReSharper\Platform\src\Util\src\Interop\HResultsEx.cs:line 53 at JetBrains.VsIntegration.Interop.Shim.TextManager.IVsTextBuffer.ReplaceStreamEx(REPLACE_TEXT_FLAGS dwFlags, Int32 iPos, Int32 iOldLen, String pszText, Int32 iNewLen) in w:\ReSharper\Platform\src\VisualStudio\Core\src\Interop\Shim\TextManager\IVsTextBuffer.cs:line 496 at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.ReplaceVsStream(TextRange range, String newText) in w:\ReSharper\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 380
--- Outer —
--- EXCEPTION #2/2 [LoggerException]
Message = “Failed to modify document.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.Document = C:\Users\baltic\AppData\Local\Temp\ReSharperCache\_ReSharper.PlatformProductStandalone.1322106123\Decompiler\decompiler\ba\532202f4\StickyNoteControl.cs
Data.DocumentRange = “(0 - 71,419)”
Data.RangeToReplace = “(3,113 - 3,129)”
Data.OldText = RegisterReadOnly
Data.OldTextLen = 16
Data.NewText = _
Data.NewTextLen = 2
Data.AroundOldText = “ropertyKey = DependencyProperty.RegisterReadOnly("Author", typeof (string), type”
Data.LastExtension = cs
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 10.0.40219.1
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.ReplaceVsStream(TextRange range, String newText) in w:\ReSharper\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 384 at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.JetBrains.VsIntegration.Whidbey.DocumentModel.IDocumentOperationsHandlerWhidbey.ReplaceText(TextRange range, String newText) in w:\ReSharper\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 568 at JetBrains.VsIntegration.DocumentModel.Whidbey.VsDocumentWhidbey.ApplyInternalDocumentChange(DocumentChange documentChange, Boolean underWriteLock, Int32 timestamp) in w:\ReSharper\Platform\src\VisualStudio\Core\src\DocumentModel\Whidbey\VsDocumentWhidbey.cs:line 205 at JetBrains.DocumentModel.impl.ManagedDocumentBase.ChangeDocument(DocumentChange documentChange, Int32 timestamp) in w:\ReSharper\Platform\src\Documents\src\impl\ManagedDocumentBase.cs:line 105 at JetBrains.DocumentModel.impl.ManagedDocumentBase.ReplaceText(TextRange atRange, String text) in w:\ReSharper\Platform\src\Documents\src\impl\ManagedDocumentBase.cs:line 130 at JetBrains.ReSharper.Feature.Services.CSharp.CodeCompletion.CSharpLookupServiceProvider.BindToDeclaredElements[T](ISolution solution, ICollection`1 pointers, ITextControl textControl, TextRange range) in w:\ReSharper\Psi.Features\src\Services\CSharp\src\CodeCompletion\CSharpLookupServiceProvider.cs:line 172 at JetBrains.ReSharper.Feature.Services.Lookup.LookupUtil.BindRange[T](ISolution solution, ITextControl textControl, TextRange nameRange, ICollection`1 pointers, PsiLanguageType languageType) in w:\ReSharper\Psi.Features\src\Services\_Core\src\Lookup\LookupUtil.cs:line 484 at JetBrains.ReSharper.Feature.Services.Lookup.MethodsLookupItem.OnAfterComplete(ITextControl textControl, TextRange nameRange, TextRange decorationRange, TailType tailType, Suffix& suffix, IRangeMarker& caretPositionRangeMarker) in w:\ReSharper\Psi.Features\src\Services\_Core\src\Lookup\MethodsLookupItem.cs:line 65 at JetBrains.ReSharper.Feature.Services.CSharp.CodeCompletion.CSharpMethodsLookupItem.OnAfterComplete(ITextControl textControl, TextRange nameRange, TextRange decorationRange, TailType tailType, Suffix& suffix, IRangeMarker& caretPositionRangeMarker) in w:\ReSharper\Psi.Features\src\Services\CSharp\src\CodeCompletion\CSharpMethodsLookupItem.cs:line 59 at JetBrains.ReSharper.Feature.Services.Lookup.TextLookupItemBase.Accept(ITextControl textControl, TextRange nameRange, LookupItemInsertType lookupItemInsertType, Suffix suffix, ISolution solution, Boolean keepCaretStill) in w:\ReSharper\Psi.Features\src\Services\_Core\src\Lookup\TextLookupItemBase.cs:line 192 at JetBrains.ReSharper.Feature.Services.CSharp.CodeCompletion.CSharpMethodsLookupItem.Accept(ITextControl textControl, TextRange nameRange, LookupItemInsertType lookupItemInsertType, Suffix suffix, ISolution solution, Boolean keepCaretStill) in w:\ReSharper\Psi.Features\src\Services\CSharp\src\CodeCompletion\CSharpMethodsLookupItem.cs:line 46 at JetBrains.ReSharper.Feature.Services.Lookup.LookupItemCompletor.CompleteItem(Action executeInsideCommandScope) in w:\ReSharper\Psi.Features\src\Services\_Core\src\Lookup\LookupItemCompletor.cs:line 107 at JetBrains.ReSharper.Feature.Services.Lookup.LookupActions.CompleteHandler.Execute(IDataContext context, DelegateExecute nextExecute) in w:\ReSharper\Psi.Features\src\Services\_Core\src\Lookup\LookupActions.cs:line 124 at JetBrains.ActionManagement.ExecutableAction.Execute(IDataContext context) in w:\ReSharper\Platform\src\UI\src\ActionSystem\Action\ExecutableAction.cs:line 36 at JetBrains.ActionManagement.ActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in w:\ReSharper\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 184 at JetBrains.VsIntegration.ActionManagement.VsActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in w:\ReSharper\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 1375 at JetBrains.ActionManagement.ActionManager.<>c__DisplayClass3.<ExecuteActionUnsafe>b__2(Lifetime lifetime) in w:\ReSharper\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 146 at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in w:\ReSharper\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 20 at JetBrains.ActionManagement.ActionManager.ExecuteActionUnsafe(IExecutableAction action, IDataContext dataContextOverride) in w:\ReSharper\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 147 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClasse.<TryDelegateToReSharper_NonTyping>b__d() in w:\ReSharper\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 279 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.WithRegisteredDelegateBackToVsHandler(String sCommandName, Action`1 FExecDelegateBackToVs, Action FRun) in w:\ReSharper\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 351 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.TryDelegateToReSharper_NonTyping(CommandID commandid, Action`1 FExecDelegateBackToVs) in w:\ReSharper\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 279 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.TryDelegateToReSharper(Boolean bIsTyping, CommandID commandid, IntPtr pvaIn, Action`1 FExecDelegateBackToVsClosed) in w:\ReSharper\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 258 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass19.<Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec>b__17() in w:\ReSharper\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 406
at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in w:\ReSharper\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 264 at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in w:\ReSharper\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 415 at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroupRef, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in w:\ReSharper\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 395 at Microsoft.VisualStudio.Editor.Implementation.VsTextViewAdapter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Editor.Implementation.VsCodeWindowAdapter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)