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

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

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Apr 1, 2012 4:14:13 PM
Updated Apr 1, 2012 4:30:27 PM
Resolved Apr 1, 2012 4:30:26 PM
Priority Normal
Type Exception
Fix versions No Fix versions
State Duplicate
Assignee Serge Baltic (baltic)
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”
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:\BuildAgent\work\3355b838ddaf4e5c\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 c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\VisualStudio\Core\src\Interop\Shim\TextManager\IVsTextBuffer.cs:line 496
     at JetBrains.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.ReplaceVsStream(TextRange range, String newText) in c:\BuildAgent\work\3355b838ddaf4e5c\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\manar.husrieh\documents\visual studio 2010\Projects\HRSystemTest\HRSystemTest\Helpers\WebDriverExtensions.cs”
Data.DocumentRange = “(0 - 4,351)”
Data.RangeToReplace = “(1,279 - 1,279)”
Data.OldTextLen = 0
Data.NewText = ()
Data.NewTextLen = 2
Data.AroundOldText = “
(by));
Thread.Sleep(waitTime);
return

Data.LastExtension = cs
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.VsIntegration.DocumentModel.VsDocumentOperationsHandlerWhidbey.ReplaceVsStream(TextRange range, String newText) in c:\BuildAgent\work\3355b838ddaf4e5c\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 c:\BuildAgent\work\3355b838ddaf4e5c\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 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.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 169
     at JetBrains.ReSharper.Feature.Services.CSharp.CodeCompletion.CSharpMethodsLookupItem.Accept(ITextControl textControl, TextRange nameRange, LookupItemInsertType lookupItemInsertType, Suffix suffix, ISolution solution, Boolean keepCaretStill) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\CSharp\src\CodeCompletion\CSharpMethodsLookupItem.cs:line 46
     at JetBrains.ReSharper.Feature.Services.Lookup.LookupItemCompletor.CompleteItem(Action executeInsideCommandScope) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\Lookup\LookupItemCompletor.cs:line 107
     at JetBrains.ReSharper.Feature.Services.Lookup.Lookup.Complete(Suffix suffix, LookupItemInsertType lookupItemInsertType) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\Lookup\Lookup.cs:line 231
     at JetBrains.ReSharper.Feature.Services.Lookup.LookupWindow.<PerformActionOnSelectedItem>b__10() in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\Lookup\LookupWindow.cs:line 298
     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.ExecuteOrQueue(String name, Action action) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 304
     at JetBrains.ReSharper.Feature.Services.Lookup.LookupWindow.PerformActionOnSelectedItem(Boolean selectedByMouse) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\Lookup\LookupWindow.cs:line 302
     at JetBrains.ReSharper.Feature.Services.Lookup.ListForm`1.<.ctor>b__1(Object sender, EventArgs args) in c:\BuildAgent\work\3355b838ddaf4e5c\Psi.Features\src\Services\_Core\src\Lookup\ListForm.cs:line 51
     at System.Windows.Forms.Control.OnClick(EventArgs e)
     at System.Windows.Forms.ListBox.WndProc(Message& m)
     at JetBrains.UI.Controls.CustomListBoxControl`1.WndProc(Message& m) in c:\BuildAgent\work\3355b838ddaf4e5c\Platform\src\UI\src\Controls\CustomListBoxControl.cs:line 198
     at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
     at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
     at System.Windows.Forms.NativeWindow.DebuggableCallback(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>