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

RSRP-290248: Formatted range couldn't survive formatting

$
0
0
Reporter ReSharper anonymous (resharper) ReSharper anonymous (resharper)
Created Mar 15, 2012 11:03:07 PM
Updated Mar 15, 2012 11:03:07 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.2.101, Built=2012-03-15T00:06:38, Configuration=“Csharp PublicMode Vbnet VS1100”
Formatted range couldn't survive formatting

--- EXCEPTION #1/1 [LoggerException]
Message = “Formatted range couldn't survive formatting”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
Data.LastExtension = cshtml
Data.PlatformSccRevision = CompiledWithoutBuildServer
Data.ProductSccRevision = CompiledWithoutBuildServer
Data.VsVersion = 11.0.50214.1
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
  at JetBrains.ReSharper.Psi.Html.Impl.CodeStyle.HtmlCodeFormatter.Format(ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, IProgressIndicator progressIndicator, IContextBoundSettingsStore overrideSettingsStore) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\Html\src\Impl\CodeStyle\HtmlCodeFormatter.cs:line 85
     at JetBrains.ReSharper.Psi.Razor.Impl.CodeStyle.RazorCodeFormatter.FormatMixedRangesInsideOriginal(IFile originalFile, IFile generatedFile, ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, IProgressIndicator progressIndicator) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\Razor\src\Impl\CodeStyle\RazorCodeFormatter.cs:line 141
     at JetBrains.ReSharper.Psi.Razor.Impl.CodeStyle.RazorCodeFormatter.TryCustomFormat(ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, IProgressIndicator progressIndicator) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\Razor\src\Impl\CodeStyle\RazorCodeFormatter.cs:line 223
     at JetBrains.ReSharper.Psi.Html.Impl.CodeStyle.HtmlCodeFormatter.FormatInternal(ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, IProgressIndicator progressIndicator, IContextBoundSettingsStore overrideSettingsStore) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\Html\src\Impl\CodeStyle\HtmlCodeFormatter.cs:line 122
     at JetBrains.ReSharper.Psi.Html.Impl.CodeStyle.HtmlCodeFormatter.Format(ITreeNode firstElement, ITreeNode lastElement, CodeFormatProfile profile, IProgressIndicator progressIndicator, IContextBoundSettingsStore overrideSettingsStore) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\Html\src\Impl\CodeStyle\HtmlCodeFormatter.cs:line 81
     at JetBrains.ReSharper.Psi.Impl.CodeStyle.FormatterImplHelper.FormatInsertedNodesHelper(ICodeFormatterImpl codeFormatter, ITreeNode nodeFirst, ITreeNode nodeLast, Boolean formatSurround, Action`2 customFormatLeftOuterSpace, Action`2 customFormatRightOuterSpace) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\impl\CodeStyle\FormatterImplHelper.cs:line 1228
     at JetBrains.ReSharper.Psi.Html.Impl.CodeStyle.HtmlCodeFormatter.FormatInsertedNodes(ITreeNode nodeFirst, ITreeNode nodeLast, Boolean formatSurround) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\Html\src\Impl\CodeStyle\HtmlCodeFormatter.cs:line 262
     at JetBrains.ReSharper.Psi.Razor.CSharp.Impl.Regenerator.RazorCSharpRegenerator.GenerateAndInsertRazorStatements(ITreeNode parent, ITreeNode anchor, ITreeRange codeBehindStatements, Boolean before, ITreeRange rangeToTrack) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\Razor.CSharp\src\Impl\Regenerator\RazorCSharpRegenerator.cs:line 193
     at JetBrains.ReSharper.Psi.Razor.CSharp.Impl.CustomHandlers.RegenerationAction.DoAction() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\Razor.CSharp\src\Impl\CustomHandlers\RegeneratorModificationHelper.cs:line 254
     at JetBrains.ReSharper.Psi.Razor.CSharp.Impl.CustomHandlers.RazorCSharpCustomModificationHandler.HandleChangeStatements(IPsiServices psiServices, ITreeRange treeRange, Func`1 changeAction, Boolean strict) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\Razor.CSharp\src\Impl\CustomHandlers\RazorCSharpCustomModificationHandler.cs:line 197
     at JetBrains.ReSharper.Psi.CSharp.Util.CSharpModificationUtil.HandleChangeStatements(ITreeRange rangeBeforeChange, Func`1 changeAction, Boolean strict) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\CSharp\src\Util\CSharpModificationUtil.cs:line 56
     at JetBrains.ReSharper.Refactorings.CSharp.ExtractMethod2.FromStatements.CSharpExtractMethodRunnerFromStatements.UpdateCallSite(CSharpElementFactory factory, IClassMemberDeclaration newDeclaration) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Refactorings\CSharp\src\ExtractMethod2\FromStatements\CSharpExtractMethodRunnerFromStatements.cs:line 228
     at JetBrains.ReSharper.Refactorings.Razor.CSharp.ExtractMethod.RazorCSharpExtractHelperRefactoring.Execute(IProgressIndicator pi) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Refactorings\Razor.CSharp\src\ExtractMethod\RazorCSharpExtractHelperRefactoring.cs:line 59
     at JetBrains.ReSharper.Refactorings.Workflow.DrivenRefactoringConflictSearcher.<>c__DisplayClass6.<SearchConflicts>b__0() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Refactorings\_Core\src\Workflow\DrivenRefactoringConflictSearcher.cs:line 45
     at JetBrains.ReSharper.Psi.PsiTransactionCookie.ExecuteConditionally(IPsiServices psiServices, Func`1 action, String commandName) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Psi\_Core\src\PsiTransactionCookie.cs:line 88
     at JetBrains.ReSharper.Refactorings.Workflow.DrivenRefactoringConflictSearcher.SearchConflicts(IProgressIndicator pi, Boolean canPerformRefactoring) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Refactorings\_Core\src\Workflow\DrivenRefactoringConflictSearcher.cs:line 40
     at JetBrains.ReSharper.Refactorings.WorkflowNew.WorkflowExecuter.<>c__DisplayClass14.<InitPage>b__b(IProgressIndicator pi) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Refactorings\_Core\src\WorkflowNew\WorkflowExecuter.cs:line 305
     at JetBrains.ReSharper.Refactorings.WorkflowNew.FunctionWrapper`1.ExecuteAction(IProgressIndicator pi) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Refactorings\_Core\src\WorkflowNew\FunctionWrapper.cs:line 33
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.RunStartTaskCallTaskAction(IProperty`1 isDone, ProgressIndicator progressIndicator, TaskThreadAffinity taskThreadAffinity, Action`1 FTask, JetDispatcher dispatcherPrimary) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 315
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.<>c__DisplayClass3.<RunCore>b__0(Lifetime lifetime) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 139
     at JetBrains.DataFlow.Lifetimes.Using[TRetVal](Func`2 F) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\DataFlow\Lifetime\Lifetimes.cs:line 41
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.RunCore(TaskThreadAffinity taskThreadAffinity, Action`1 FTask, Func`3 FAttachUi, ProgressIndicator progressIndicator, IWin32Window parentWindow, IThreading threading, Boolean enforceModalityState) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 84
     at JetBrains.UI.Application.Progress.UITaskExecutorRun.Run(TaskThreadAffinity taskThreadAffinity, Action`1 task, Func`3 FAttachUi, ProgressIndicator indicator, IWin32Window parentWindow, IThreading threading, Boolean enforceModalityState) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\UI\src\Progress\UITaskExecutorRun.cs:line 45
     at JetBrains.ReSharper.Refactorings.Workflow.RefactoringsTaskExecutor.JetBrains.Application.Progress.ITaskExecutor.ExecuteTask(String name, TaskCancelable cancelable, Action`1 task) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Refactorings\_Core\src\Workflow\RefactoringsTaskExecutor.cs:line 54
     at JetBrains.ReSharper.Refactorings.WorkflowNew.WorkflowExecuter.RunWithProgress[TResult](Func`2 action, String taskName, TResult& result) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Refactorings\_Core\src\WorkflowNew\WorkflowExecuter.cs:line 382
     at JetBrains.ReSharper.Refactorings.WorkflowNew.WorkflowExecuter.InitPage(IRefactoringPage page) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Refactorings\_Core\src\WorkflowNew\WorkflowExecuter.cs:line 305
     at JetBrains.ReSharper.Refactorings.WorkflowNew.WorkflowExecuter.NextPage(IRefactoringPage currentPage) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Refactorings\_Core\src\WorkflowNew\WorkflowExecuter.cs:line 268
     at JetBrains.ReSharper.Refactorings.WorkflowNew.WorkflowExecuter.MoveToNextPage() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Refactorings\_Core\src\WorkflowNew\WorkflowExecuter.cs:line 167
     at JetBrains.ReSharper.Refactorings.WorkflowNew.WorkflowHostWithWizardForm.<NextClick>b__a() in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Refactorings\_Core\src\WorkflowNew\WorkflowHostWithWizardForm.cs:line 161
     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.ExecuteOrQueue(String name, Action action) in c:\BuildAgent\work\1939c01d7b25093a\Platform\src\Util\src\Concurrency\ReentrancyGuard.cs:line 304
     at JetBrains.ReSharper.Refactorings.WorkflowNew.WorkflowHostWithWizardForm.NextClick(Object sender, EventArgs e) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Refactorings\_Core\src\WorkflowNew\WorkflowHostWithWizardForm.cs:line 162
     at JetBrains.ReSharper.Refactorings.WorkflowW.RefactoringWizardForm.myContinueButton_Click(Object sender, EventArgs e) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Refactorings\_Core\src\WorkflowW\RefactoringWizardForm.cs:line 569
     at System.Windows.Forms.Control.OnClick(EventArgs e)
     at System.Windows.Forms.Button.OnClick(EventArgs e)
     at System.Windows.Forms.Button.PerformClick()
     at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData)
     at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
     at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
     at System.Windows.Forms.ContainerControl.ProcessDialogKey(Keys keyData)
     at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData)
     at JetBrains.ReSharper.Features.Common.UI.CompletionPickerEdit.ProcessDialogKey(Keys keyData) in c:\BuildAgent\work\1939c01d7b25093a\Psi.Features\src\Features\Common\src\UI\CompletionPickerEdit.cs:line 581
     at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
     at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
     at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
     at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
     at System.Windows.Forms.ComponentManagerProxy.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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