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

RSRP-201181: Failed to modify document. Exception from HRESULT: 0x80041001

$
0
0
Reporter Dmitry Pursanov (0x39dc) Dmitry Pursanov (0x39dc)
Created Dec 24, 2010 12:25:28 PM
Updated Apr 1, 2012 12:35:49 PM
Priority Normal
Type Exception
Fix versions No Fix versions
State Submitted
Assignee Serge Baltic (baltic)
Subsystem No subsystem
Affected versions 6.0
Fixed in build No Fixed in build
ReSharper 6.0 EAP Version=6.0.2070.19, Built=2010-12-22T19:29:32, Configuration=“Csharp PublicMode Vbnet VS1000”
Used smart completion in debug mode
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 c:\Agent\work\89b0fc7b1b46b165\Platform\src\Util\src\Interop\HResultsEx.cs:line 54
     at JetBrains.VsIntegration.Interop.Shim.TextManager.IVsTextBuffer.ReplaceStreamEx(REPLACE_TEXT_FLAGS dwFlags, Int32 iPos, Int32 iOldLen, String pszText, Int32 iNewLen) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\VSIntegration\src\Interop\Shim\TextManager\IVsTextBuffer.cs:line 487
     at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.ReplaceVsStream(TextRange range, String newText) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\VSIntegration\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 381


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “Failed to modify document.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.Document = “D:\Work\Debug Versions\Court\CommonWinForms\UserControls\DocTypeTree.cs”
Data.DocumentRange = “(0 - 24,093)”
Data.RangeToReplace = “(10,865 - 10,865)”
Data.OldTextLen = 0
Data.NewText = :
Data.NewTextLen = 1
Data.AroundOldText = “
case TreeType.DocTypes:
Tree = new

Data.LastExtension = cs
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.ReplaceVsStream(TextRange range, String newText) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\VSIntegration\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 385
     at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.JetBrains.VsIntegration.Whidbey.DocumentModel.IDocumentOperationsHandlerWhidbey.ReplaceText(TextRange range, String newText) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\VSIntegration\src\DocumentModel\Whidbey\VsDocumentOperationsHandlerWhidbey.cs:line 560
     at JetBrains.VsIntegration.DocumentModel.Whidbey.VsDocumentWhidbey.ApplyInternalDocumentChange(DocumentChange documentChange, Boolean underWriteLock, Int32 timestamp) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\VSIntegration\src\DocumentModel\Whidbey\VsDocumentWhidbey.cs:line 192
     at JetBrains.DocumentModel.impl.ManagedDocumentBase.ChangeDocument(DocumentChange documentChange, Int32 timestamp) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\DocumentModel\src\impl\ManagedDocumentBase.cs:line 105
     at JetBrains.DocumentModel.impl.ManagedDocumentBase.InsertText(Int32 offset, String text, TextModificationSide modificationSide) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\DocumentModel\src\impl\ManagedDocumentBase.cs:line 120
     at JetBrains.DocumentModel.Impl.DocumentBase.InsertText(Int32 offset, String text) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\DocumentModel\src\impl\DocumentBase.cs:line 129
     at JetBrains.ReSharper.Feature.Services.Lookup.LookupUtil.InsertTokens(ITextControl textControl, TokenNodeType[] tokens, Int32 offset, BracketsBalanceEvaluator balancer, CachingLexer lexer) in c:\Agent\work\89b0fc7b1b46b165\src\Feature.Services\src\Lookup\LookupUtil.cs:line 292
     at JetBrains.ReSharper.Feature.Services.Lookup.LookupUtil.InsertTailType(ITextControl editor, Int32 offset, TailType tailType, ISolution solution, Boolean emulateTypingOfSpace) in c:\Agent\work\89b0fc7b1b46b165\src\Feature.Services\src\Lookup\LookupUtil.cs:line 186
     at JetBrains.ReSharper.Feature.Services.Lookup.TextLookupItemBase.InsertTailType(ITextControl textControl, ISolution solution, Int32 offset, TailType tailType) in c:\Agent\work\89b0fc7b1b46b165\src\Feature.Services\src\Lookup\TextLookupItemBase.cs:line 207
     at JetBrains.ReSharper.Feature.Services.Lookup.TextLookupItemBase.Accept(ITextControl textControl, TextRange nameRange, LookupItemInsertType lookupItemInsertType, Suffix suffix, ISolution solution, Boolean keepCaretStill) in c:\Agent\work\89b0fc7b1b46b165\src\Feature.Services\src\Lookup\TextLookupItemBase.cs:line 173
     at JetBrains.ReSharper.Feature.Services.CSharp.CodeCompletion.CSharpDeclaredElementLookupItem.Accept(ITextControl textControl, TextRange nameRange, LookupItemInsertType lookupItemInsertType, Suffix suffix, ISolution solution, Boolean keepCaretStill) in c:\Agent\work\89b0fc7b1b46b165\src\Feature.Services.CSharp\src\CodeCompletion\CSharpDeclaredElementLookupItem.cs:line 81
     at JetBrains.ReSharper.Feature.Services.CodeCompletion.ManualCodeCompletionSession.AutoCompleteSingleItem(Boolean autoComplete, ILookupItem lookupItem, ICodeCompletionResult result) in c:\Agent\work\89b0fc7b1b46b165\src\Feature.Services\src\CodeCompletion\ManualCodeCompletionSession.cs:line 87
     at JetBrains.ReSharper.Feature.Services.CodeCompletion.ManualCodeCompletionSession.ShowList(ICodeCompletionResult context, Action onItemCompleted) in c:\Agent\work\89b0fc7b1b46b165\src\Feature.Services\src\CodeCompletion\ManualCodeCompletionSession.cs:line 30
     at JetBrains.ReSharper.Feature.Services.CodeCompletion.CodeCompletionManager.<>c__DisplayClassa.<ExecuteManualCompletion>b__9(Lifetime lifetime) in c:\Agent\work\89b0fc7b1b46b165\src\Feature.Services\src\CodeCompletion\CodeCompletionManager.cs:line 216
     at JetBrains.DataFlow.Lifetime.CreateAtomic(Action`1 FAtomic) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\Util\src\DataFlow\Disposables.cs:line 149
     at JetBrains.DataFlow.SequentialLifetimes.Next(Action`1 FNext) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\Util\src\DataFlow\SequentialLifetimes.cs:line 41
     at JetBrains.ReSharper.Feature.Services.CodeCompletion.CodeCompletionManager.ExecuteManualCompletion(CodeCompletionType codeCompletionType, ITextControl textControl, ISolution solution, Action onItemCompleted) in c:\Agent\work\89b0fc7b1b46b165\src\Feature.Services\src\CodeCompletion\CodeCompletionManager.cs:line 221
     at JetBrains.ReSharper.Features.Intellisense.CodeCompletion.CodeCompletionActionBase.Execute(IDataContext context, DelegateExecute nextExecute) in c:\Agent\work\89b0fc7b1b46b165\src\Features\Intellisense\src\CodeCompletion\CodeCompletionActionBase.cs:line 47
     at JetBrains.ReSharper.Features.Intellisense.CodeCompletion.SmartCodeCompletionAction.Execute(IDataContext context, DelegateExecute nextExecute) in c:\Agent\work\89b0fc7b1b46b165\src\Features\Intellisense\src\CodeCompletion\SmartCodeCompletionAction.cs:line 14
     at JetBrains.ActionManagement.ExecutableAction.Execute(IDataContext context) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\UI\src\ActionSystem\Action\ExecutableAction.cs:line 29
     at JetBrains.ActionManagement.ActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\UI\src\ActionSystem\ActionManager\ActionManagerBase.cs:line 697
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\VSIntegration\src\ActionManagement\VSActionManager.cs:line 1841
     at JetBrains.ActionManagement.ActionManager.ExecuteActionIfAvailable(IExecutableAction action) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\UI\src\ActionSystem\ActionManager\ActionManagerBase.cs:line 655
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.OleCommandTargetExec_Product(String actionid, Boolean isAuxiliaryCommand, IntPtr vIn, IntPtr vOut) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\VSIntegration\src\ActionManagement\VSActionManager.cs:line 1020
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.<>c__DisplayClass20.<OleCommandTargetExec>b__1d() in c:\Agent\work\89b0fc7b1b46b165\Platform\src\VSIntegration\src\ActionManagement\VSActionManager.cs:line 375
at Action(OleCommandTargetExec).Execute(Action )
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 256
     at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 407
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.OleCommandTargetExec(CommandID commandid, OLECMDEXECOPT nCmdExecOpt, IntPtr vIn, IntPtr vOut, VsCommandHandlerStage stage) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\VSIntegration\src\ActionManagement\VSActionManager.cs:line 371
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.<Init>b__82(CommandID commandid, OLECMDEXECOPT opt, IntPtr in, IntPtr out) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\VSIntegration\src\ActionManagement\VSActionManager.cs:line 1939
     at JetBrains.VsIntegration.Package.VsPackageSdkStub.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& guidGroup, UInt32 nCmdId, UInt32 nCmdExcept, IntPtr vIn, IntPtr vOut) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\VSIntegration\src\Package\VsPackageSdkStub.cs:line 226

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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