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

RSRP-291497: Failed to modify document. Object reference not set to an instance of an object.

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Mar 24, 2012 2:14:13 PM
Updated Mar 24, 2012 2:14:13 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 7 EAP for Visual Studio 11 Beta Version=7.0.3.261, Built=2012-03-15T21:51:20, Configuration=“Csharp PublicMode Vbnet VS1100”
Failed to modify document. Object reference not set to an instance of an object.

--- EXCEPTION #1/2 [NullReferenceException]
Message = “Object reference not set to an instance of an object.”
ExceptionPath = Root.InnerException
ClassName = System.NullReferenceException
HResult = COR_E_NULLREFERENCE=E_POINTER=80004003
Source = Microsoft.VisualStudio.Editor.Implementation
StackTraceString = “
  at Microsoft.VisualStudio.Editor.Implementation.VsTextBufferAdapter.TryCheckOut()
     at Microsoft.VisualStudio.Editor.Implementation.VsTextBufferAdapter.ReplaceStreamEx(UInt32 dwFlags, Int32 iPos, Int32 iOldLen, IntPtr pszText, Int32 iNewLen, Int32& piActualLen)
     at JetBrains.VsIntegration.Interop.Shim.TextManager.IVsTextBuffer.ReplaceStreamEx(REPLACE_TEXT_FLAGS dwFlags, Int32 iPos, Int32 iOldLen, String pszText, Int32 iNewLen) in c:\BuildAgent\work\1939c01d7b25093a\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\1939c01d7b25093a\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 = D:\NASA\Projects\Nasa8x.Web.Optimization\Nasa8x.Web.Optimization\BundleCollectionExtensions.cs
Data.DocumentRange = “(0 - 1,639)”
Data.RangeToReplace = “(471 - 471)”
Data.OldTextLen = 0
Data.NewText = bundles
Data.NewTextLen = 7
Data.AroundOldText = “foreach (BundleItem bundleItem in sectio”
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\1939c01d7b25093a\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\1939c01d7b25093a\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\1939c01d7b25093a\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\1939c01d7b25093a\Platform\src\Documents\src\impl\ManagedDocumentBase.cs:line 105
     at JetBrains.DocumentModel.impl.ManagedDocumentBase.ReplaceText(TextRange atRange, String text) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Documents\src\impl\ManagedDocumentBase.cs:line 130
     at JetBrains.ReSharper.Feature.Services.Lookup.TextLookupItemBase.DoReplaceText(ITextControl textcontrol, TextRange replaceRange, String typeInName) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\Lookup\TextLookupItemBase.cs:line 248
     at JetBrains.ReSharper.Feature.Services.CSharp.CodeCompletion.CSharpDeclaredElementLookupItem.DoReplaceText(ITextControl textcontrol, TextRange replaceRange, String typeInName) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\CSharp\src\CodeCompletion\CSharpDeclaredElementLookupItem.cs:line 72
     at JetBrains.ReSharper.Feature.Services.Lookup.TextLookupItemBase.Accept(ITextControl textControl, TextRange nameRange, LookupItemInsertType lookupItemInsertType, Suffix suffix, ISolution solution, Boolean keepCaretStill) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\Lookup\TextLookupItemBase.cs:line 157
     at JetBrains.ReSharper.Feature.Services.CSharp.CodeCompletion.CSharpDeclaredElementLookupItem.Accept(ITextControl textControl, TextRange nameRange, LookupItemInsertType lookupItemInsertType, Suffix suffix, ISolution solution, Boolean keepCaretStill) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\CSharp\src\CodeCompletion\CSharpDeclaredElementLookupItem.cs:line 89
     at JetBrains.ReSharper.Feature.Services.Lookup.LookupItemCompletor.CompleteItem(Action executeInsideCommandScope) in c:\BuildAgent\work\1939c01d7b25093a\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 c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Services\_Core\src\Lookup\LookupActions.cs:line 124
     at JetBrains.ActionManagement.ExecutableAction.Execute(IDataContext context) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\ActionSystem\Action\ExecutableAction.cs:line 36
     at JetBrains.ActionManagement.ActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 184
     at JetBrains.VsIntegration.ActionManagement.VsActionManager.CoreExecuteAction(IExecutableAction action, IDataContext context) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\ActionManagement\VSActionManager.cs:line 1375
     at JetBrains.ActionManagement.ActionManager.<>c__DisplayClass3.<ExecuteActionUnsafe>b__2(Lifetime lifetime) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 146
     at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 20
     at JetBrains.ActionManagement.ActionManager.ExecuteActionUnsafe(IExecutableAction action, IDataContext dataContextOverride) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\ActionSystem\ActionManager\ActionManager.cs:line 147
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClasse.<TryDelegateToReSharper_NonTyping>b__d() in c:\BuildAgent\work\1939c01d7b25093a\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 c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 351
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.TryDelegateToReSharper_NonTyping(CommandID commandid, Action`1 FExecDelegateBackToVs) in c:\BuildAgent\work\1939c01d7b25093a\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 c:\BuildAgent\work\1939c01d7b25093a\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 c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 406
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266
     at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\BuildAgent\work\1939c01d7b25093a\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 c:\BuildAgent\work\1939c01d7b25093a\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 395
     at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
     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)

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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