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

RSRP-290056: The text range must be normalized.

$
0
0
Reporter Alexander Shvedov (shvedov) Alexander Shvedov (shvedov)
Created Mar 14, 2012 7:46:31 PM
Updated Mar 14, 2012 7:47:00 PM
Priority Normal
Type Exception
Fix versions No Fix versions
State Submitted
Assignee Alexander Shvedov (shvedov)
Subsystem Language - XAML
Affected versions No Affected versions
Fixed in build No Fixed in build
ReSharper 7.0 EAP Version=7.0.0.0, Built=2012-03-14T10:21:26, Configuration=“Csharp InternalMode Vbnet VS1000”
The text range must be normalized.

--- EXCEPTION #1/2 [AssertionException]
Message = “The text range must be normalized.”
ExceptionPath = Root.InnerException
ClassName = JetBrains.Util.Assertion+AssertionException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.Platform.ReSharper.Util
StackTraceString = “
  at JetBrains.Util.Assertion.Fail(String message, Object[] args) in c:\ReSharperHG\Platform\src\Util\src\Assertion.cs:line 25
     at JetBrains.Util.Assertion.Assert(Boolean condition, String message, Object[] args) in c:\ReSharperHG\Platform\src\Util\src\Assertion.cs:line 17
     at JetBrains.Util.TextRange.AssertNormalized() in c:\ReSharperHG\Platform\src\Util\src\Text\TextRange.cs:line 381
     at JetBrains.DocumentModel.impl.ManagedDocumentBase.ReplaceText(TextRange atRange, String text) in c:\ReSharperHG\Platform\src\Documents\src\impl\ManagedDocumentBase.cs:line 126
     at JetBrains.ReSharper.Feature.Services.Lookup.TextLookupItemBase.Accept(ITextControl textControl, TextRange nameRange, LookupItemInsertType lookupItemInsertType, Suffix suffix, ISolution solution, Boolean keepCaretStill) in c:\ReSharperHG\Psi.Features\src\Services\_Core\src\Lookup\TextLookupItemBase.cs:line 169
     at JetBrains.ReSharper.Feature.Services.Lookup.LookupItemCompletor.CompleteItem(Action executeInsideCommandScope) in c:\ReSharperHG\Psi.Features\src\Services\_Core\src\Lookup\LookupItemCompletor.cs:line 109
     at JetBrains.ReSharper.Feature.Services.Lookup.LookupItemCompletor.CompleteItem() in c:\ReSharperHG\Psi.Features\src\Services\_Core\src\Lookup\LookupItemCompletor.cs:line 57
     at JetBrains.ReSharper.Feature.Services.Lookup.LookupActions.TypingHandler.Type(ITypingContext typingContext) in c:\ReSharperHG\Psi.Features\src\Services\_Core\src\Lookup\LookupActions.cs:line 197
     at JetBrains.TextControl.Impl.TextControlTypingHandlers.TypingContext.CallNext() in c:\ReSharperHG\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 163
     at JetBrains.ReSharper.Feature.Services.Html.TypingAssist.ChangedTagNameTracker.HandleAction(ITextControl textControl, Action action, Func`2 selRangeConverter, Boolean shouldReCheckAfterNoMarkers) in c:\ReSharperHG\Psi.Features\src\Services\Html\src\TypingAssist\ChangedTagNameTracker.cs:line 296
     at JetBrains.ReSharper.Feature.Services.Html.TypingAssist.ChangedTagNameTracker.Type(ITypingContext typingContext) in c:\ReSharperHG\Psi.Features\src\Services\Html\src\TypingAssist\ChangedTagNameTracker.cs:line 476
     at JetBrains.TextControl.Impl.TextControlTypingHandlers.TypingContext.CallNext() in c:\ReSharperHG\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 163
     at JetBrains.ReSharper.Feature.Services.Html.TypingAssist.ChangedTagNameTracker.HandleAction(ITextControl textControl, Action action, Func`2 selRangeConverter, Boolean shouldReCheckAfterNoMarkers) in c:\ReSharperHG\Psi.Features\src\Services\Html\src\TypingAssist\ChangedTagNameTracker.cs:line 296
     at JetBrains.ReSharper.Feature.Services.Html.TypingAssist.ChangedTagNameTracker.Type(ITypingContext typingContext) in c:\ReSharperHG\Psi.Features\src\Services\Html\src\TypingAssist\ChangedTagNameTracker.cs:line 476
     at JetBrains.TextControl.Impl.TextControlTypingHandlers.TypingContext.CallNext() in c:\ReSharperHG\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 163
     at JetBrains.ReSharper.Feature.Services.Html.TypingAssist.ChangedTagNameTracker.HandleAction(ITextControl textControl, Action action, Func`2 selRangeConverter, Boolean shouldReCheckAfterNoMarkers) in c:\ReSharperHG\Psi.Features\src\Services\Html\src\TypingAssist\ChangedTagNameTracker.cs:line 296
     at JetBrains.ReSharper.Feature.Services.Html.TypingAssist.ChangedTagNameTracker.Type(ITypingContext typingContext) in c:\ReSharperHG\Psi.Features\src\Services\Html\src\TypingAssist\ChangedTagNameTracker.cs:line 476
     at JetBrains.TextControl.Impl.TextControlTypingHandlers.TypingContext.CallNext() in c:\ReSharperHG\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 163
     at JetBrains.ReSharper.LiveTemplates.Execution.LiveTemplateTracker.TypingHandler.Type(ITypingContext typingContext) in c:\ReSharperHG\Psi.Features\src\LiveTemplates\_Core\src\Actions\LiveTemplateTracker.cs:line 100
     at JetBrains.TextControl.Impl.TextControlTypingHandlers.TypingContext.CallNext() in c:\ReSharperHG\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 163
     at JetBrains.ReSharper.Feature.Services.CodeCompletion.NextTypingHandler.Type(ITypingContext typingContext) in c:\ReSharperHG\Psi.Features\src\Services\_Core\src\CodeCompletion\NextTypingHandler.cs:line 39
     at JetBrains.TextControl.Impl.TextControlTypingHandlers.TypingContext.CallNext() in c:\ReSharperHG\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 163
     at JetBrains.ReSharper.Feature.Services.CodeCompletion.IntellisenseManager.Type(ITypingContext typingContext) in c:\ReSharperHG\Psi.Features\src\Services\_Core\src\CodeCompletion\IntellisenseManager.cs:line 213
     at JetBrains.TextControl.Impl.TextControlTypingHandlers.TypingContext.CallNext() in c:\ReSharperHG\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 163
     at JetBrains.ReSharper.Features.Intellisense.ParameterInfo.ParameterInfoPopupControllerImpl.TypingHandler.Type(ITypingContext typingContext) in c:\ReSharperHG\Psi.Features\src\Features\Intellisense\src\ParameterInfo\ParameterInfoPopupControllerImpl.cs:line 333
     at JetBrains.TextControl.Impl.TextControlTypingHandlers.TypingContext.CallNext() in c:\ReSharperHG\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 163
     at JetBrains.ReSharper.Features.Environment.Tips.TipsManagerTypingHandler.<>c__DisplayClass2.<.ctor>b__0(ITypingContext context) in c:\ReSharperHG\Psi.Features\src\Features\Environment\src\Tips\SolutionEventListener.cs:line 22
     at JetBrains.TextControl.Impl.TextControlTypingHandlers.TypingContext.CallNext() in c:\ReSharperHG\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 163
     at JetBrains.ReSharper.Feature.Services.TypingAssist.SkippingTypingAssist.Type(ITypingContext typingContext) in c:\ReSharperHG\Psi.Features\src\Services\_Core\src\TypingAssist\SkippingTypingAssist.cs:line 54
     at JetBrains.TextControl.Impl.TextControlTypingHandlers.TypingContext.CallNext() in c:\ReSharperHG\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 163
     at JetBrains.TextControl.Impl.TextControlTypingHandlers.TypingContext.CallFirst(Lifetime lifetime, TypingHandler[] handlers, ITextControl textControl, Char ch, IShellLocks locks) in c:\ReSharperHG\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 142
     at JetBrains.TextControl.Impl.TextControlTypingHandlers.<>c__DisplayClass7.<Type>b__6(Lifetime lifetime1) in c:\ReSharperHG\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 110
     at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\ReSharperHG\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 26
     at JetBrains.TextControl.Impl.TextControlTypingHandlers.<>c__DisplayClass7.<Type>b__5(Lifetime lifetime) in c:\ReSharperHG\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 107
     at JetBrains.DataFlow.Lifetimes.Using(Action`1 F) in c:\ReSharperHG\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 26
     at JetBrains.TextControl.Impl.TextControlTypingHandlers.Type(ITextControl textControl, Char c) in c:\ReSharperHG\Platform\src\TextControl\src\impl\TextControlTypingHandlersManager.cs:line 104
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass12.<TryDelegateToReSharper_Typing>b__10() in c:\ReSharperHG\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 307
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.WithRegisteredDelegateBackToVsHandler(String sCommandName, Action`1 FExecDelegateBackToVs, Action FRun) in c:\ReSharperHG\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 351


--- Outer —

--- EXCEPTION #2/2 [LoggerException]
Message = “The text range must be normalized.”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = xaml
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.Util.Logger.LogException(Exception ex) in c:\ReSharperHG\Platform\src\Util\src\Logger\Logger.cs:line 622
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.WithRegisteredDelegateBackToVsHandler(String sCommandName, Action`1 FExecDelegateBackToVs, Action FRun) in c:\ReSharperHG\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 355
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.<>c__DisplayClass12.<TryDelegateToReSharper_Typing>b__11() in c:\ReSharperHG\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 311
     at JetBrains.DocumentModel.Impl.DocumentBase.ExpectCallbacksFromUnderlyingStore(Action F) in c:\ReSharperHG\Platform\src\Documents\src\impl\DocumentBase.cs:line 94
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.TryDelegateToReSharper_Typing(IntPtr pvaIn, Action`1 FExecDelegateBackToVs) in c:\ReSharperHG\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 310
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.TryDelegateToReSharper(Boolean bIsTyping, CommandID commandid, IntPtr pvaIn, Action`1 FExecDelegateBackToVsClosed) in c:\ReSharperHG\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:\ReSharperHG\Platform\src\VisualStudio\Core\src\TextControl\VsTextControlOleCommandTarget.cs:line 406
     at JetBrains.Threading.ReentrancyGuard.Execute(String name, Action action) in c:\ReSharperHG\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 266
     at JetBrains.Threading.ReentrancyGuard.TryExecute(String name, Action action) in c:\ReSharperHG\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 414
     at JetBrains.VsIntegration.Whidbey.TextControl.VsTextControlOleCommandTarget.Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.Exec(Guid& pguidCmdGroupRef, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in c:\ReSharperHG\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.VsKeyboardFilter.SendCommand(Guid cmdGroup, UInt32 cmdID, Object inParam)
     at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.TextInput(TextCompositionEventArgs args)
     at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<DispatchTextInputEvents>b__0(KeyProcessor p, TextCompositionEventArgs args)
     at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c__DisplayClass1e`1.<Dispatch>b__1a()
     at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call)
     at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.Dispatch[T](Action`2 action, T args)
     at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c__DisplayClass18.<MakeHandler>b__17(Object sender, TextCompositionEventArgs args)
     at System.Windows.Input.TextCompositionEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
     at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
     at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
     at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
     at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
     at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
     at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
     at System.Windows.Input.InputManager.ProcessStagingArea()
     at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
     at System.Windows.Input.TextCompositionManager.UnsafeCompleteComposition(TextComposition composition)
     at System.Windows.Input.TextCompositionManager.PostProcessInput(Object sender, ProcessInputEventArgs e)
     at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)
     at System.Windows.Input.InputManager.ProcessStagingArea()
     at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
     at System.Windows.Input.TextCompositionManager.UnsafeStartComposition(TextComposition composition)
     at System.Windows.Input.TextCompositionManager.PostProcessInput(Object sender, ProcessInputEventArgs e)
     at System.Windows.Input.InputManager.RaiseProcessInputEventHandlers(ProcessInputEventHandler postProcessInput, ProcessInputEventArgs processInputEventArgs)
     at System.Windows.Input.InputManager.ProcessStagingArea()
     at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
     at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
     at System.Windows.Interop.HwndKeyboardInputProvider.ProcessTextInputAction(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     at System.Windows.Interop.HwndKeyboardInputProvider.FilterMessage(IntPtr hwnd, WindowMessage message, IntPtr wParam, IntPtr lParam, Boolean& handled)
     at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
     at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
     at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
     at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
     at System.Windows.Threading.DispatcherOperation.InvokeImpl()
     at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
     at System.Threading.ExecutionContext.runTryCode(Object userData)
     at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
     at System.Windows.Threading.DispatcherOperation.Invoke()
     at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
     at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
     at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

Viewing all articles
Browse latest Browse all 106942

Trending Articles