Reporter | Dmitry Pursanov (0x39dc) |
---|---|
Created | Dec 24, 2010 12:25:26 PM |
Updated | Feb 7, 2012 4:52:50 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 = “
”
--- 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,848 - 10,856)”
Data.OldText = DocTypes
Data.OldTextLen = 8
Data.NewText = TreeType.DocTypes
Data.NewTextLen = 17
Data.AroundOldText = “
case TreeType.DocTypes:
T
”
Data.LastExtension = cs
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at Action(OleCommandTargetExec).Execute(Action )
”
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,848 - 10,856)”
Data.OldText = DocTypes
Data.OldTextLen = 8
Data.NewText = TreeType.DocTypes
Data.NewTextLen = 17
Data.AroundOldText = “
case TreeType.DocTypes:
T
”
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.ReplaceText(TextRange atRange, String text) in c:\Agent\work\89b0fc7b1b46b165\Platform\src\DocumentModel\src\impl\ManagedDocumentBase.cs:line 130 at JetBrains.ReSharper.Feature.Services.Lookup.TextLookupItemBase.DoReplaceText(ITextControl textcontrol, TextRange replaceRange, String typeInName) in c:\Agent\work\89b0fc7b1b46b165\src\Feature.Services\src\Lookup\TextLookupItemBase.cs:line 228 at JetBrains.ReSharper.Feature.Services.CSharp.CodeCompletion.CSharpDeclaredElementLookupItem.DoReplaceText(ITextControl textcontrol, TextRange replaceRange, String typeInName) in c:\Agent\work\89b0fc7b1b46b165\src\Feature.Services.CSharp\src\CodeCompletion\CSharpDeclaredElementLookupItem.cs:line 63 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 148 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 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