[226] Exception in Rename

I was using the Rename function on a method with overloads.
I've inserted "Amethodù" as new name and I've received the following exception:
P.s.
Where is the tag?! It was so usefull !!!
Antonio.

JetBrains.ReSharper.Util.InternalErrorException: An exception has occurred ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at JetBrains.ReSharper.Psi.Impl.Search.SourceFileProcessor.VisitNode(ITreeNode treeNode) in c:\TEMP\tmpF25E.tmp\src\Psi\src\impl\search\TextOccurenceSearcher.cs:line 93
at JetBrains.ReSharper.Psi.Impl.Search.SourceFileProcessor.VisitNode(ITreeNode treeNode) in c:\TEMP\tmpF25E.tmp\src\Psi\src\impl\search\TextOccurenceSearcher.cs:line 144
at JetBrains.ReSharper.Psi.Impl.Search.SourceFileProcessor.VisitNode(ITreeNode treeNode) in c:\TEMP\tmpF25E.tmp\src\Psi\src\impl\search\TextOccurenceSearcher.cs:line 144
at JetBrains.ReSharper.Psi.Impl.Search.SourceFileProcessor.VisitNode(ITreeNode treeNode) in c:\TEMP\tmpF25E.tmp\src\Psi\src\impl\search\TextOccurenceSearcher.cs:line 144
at JetBrains.ReSharper.Psi.Impl.Search.SourceFileProcessor.VisitNode(ITreeNode treeNode) in c:\TEMP\tmpF25E.tmp\src\Psi\src\impl\search\TextOccurenceSearcher.cs:line 144
at JetBrains.ReSharper.Psi.Impl.Search.SourceFileProcessor.VisitNode(ITreeNode treeNode) in c:\TEMP\tmpF25E.tmp\src\Psi\src\impl\search\TextOccurenceSearcher.cs:line 144
at JetBrains.ReSharper.Psi.Impl.Search.SourceFileProcessor.VisitNode(ITreeNode treeNode) in c:\TEMP\tmpF25E.tmp\src\Psi\src\impl\search\TextOccurenceSearcher.cs:line 144
at JetBrains.ReSharper.Psi.Impl.Search.TextOccurenceSearcher.ProcessElement(ITreeNode treeNode) in c:\TEMP\tmpF25E.tmp\src\Psi\src\impl\search\TextOccurenceSearcher.cs:line 51
at JetBrains.ReSharper.Psi.Impl.Search.CompositeSearcher.ProcessElement(ITreeNode treeNode) in c:\TEMP\tmpF25E.tmp\src\Psi\src\impl\search\ISearcher.cs:line 46
at JetBrains.ReSharper.Psi.Impl.Search.SearchDomainSearcher.VisitElement(IElement element) in c:\TEMP\tmpF25E.tmp\src\Psi\src\impl\search\SearchDomainSearcher.cs:line 64
at JetBrains.ReSharper.Psi.Impl.Search.FileSearchDomain.Accept(SearchDomainVisitor visitor) in c:\TEMP\tmpF25E.tmp\src\Psi\src\impl\search\FileSearchDomain.cs:line 152
at JetBrains.ReSharper.Psi.Impl.Search.SearchDomainSearcher.Run() in c:\TEMP\tmpF25E.tmp\src\Psi\src\impl\search\SearchDomainSearcher.cs:line 28
at JetBrains.ReSharper.Psi.Impl.Search.Finder.PerformSearchForReferences(IDeclaredElement[] elements, ISearchDomain domain, IFindResultConsumer consumer, SearchPattern pattern, IProgressIndicator pi) in c:\TEMP\tmpF25E.tmp\src\Psi\src\impl\search\Finder.cs:line 51
at JetBrains.ReSharper.Psi.Impl.Search.Finder.FindReferences(IDeclaredElement[] elements, ISearchDomain domain, IFindResultConsumer consumer, SearchPattern pattern, IProgressIndicator pi) in c:\TEMP\tmpF25E.tmp\src\Psi\src\impl\search\Finder.cs:line 82
at JetBrains.ReSharper.Psi.Impl.Search.Finder.Find(IDeclaredElement[] elements, ISearchDomain searchDomain, IFindResultConsumer consumer, SearchPattern pattern, IProgressIndicator pi) in c:\TEMP\tmpF25E.tmp\src\Psi\src\impl\search\Finder.cs:line 158
at JetBrains.ReSharper.Refactorings.Rename.AtomicRename.SearchReferences(IProgressIndicator progressIndicator, Boolean force, Boolean searchText) in c:\TEMP\tmpF25E.tmp\src\Refactorings\src\Rename\AtomicRename.cs:line 139
at JetBrains.ReSharper.Refactorings.Rename.RenameRefactoring.SearchReferences(IProgressIndicator progressIndicator, AtomicRenames renames) in c:\TEMP\tmpF25E.tmp\src\Refactorings\src\Rename\RenameRefactoring.cs:line 116
at JetBrains.ReSharper.Refactorings.Rename.RenameRefactoringWorkflow.SetName(String name, IProgressIndicator progressIndicator, Boolean searchText) in c:\TEMP\tmpF25E.tmp\src\Refactorings\src\Rename\RenameRefactoringWorkflow.cs:line 408
at JetBrains.ReSharper.Refactorings.Rename.RenameInitialControl.Commit(IProgressIndicator progressIndicator, CustomPageCommitFlags flags) in c:\TEMP\tmpF25E.tmp\src\Refactorings\src\Rename\RenameInitialControl.cs:line 223
at JetBrains.ReSharper.Refactorings.Workflow.CustomPageCommitter.Commit(IProgressIndicator progressIndicator) in c:\TEMP\tmpF25E.tmp\src\Refactorings\src\Workflow\WorkflowProcessor.cs:line 569
--- End of inner exception stack trace ---

at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\TEMP\tmpF25E.tmp\src\Util\src\Logger.cs:line 297 column 9
at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\TEMP\tmpF25E.tmp\src\Util\src\Logger.cs:line 309 column 5
at JetBrains.ReSharper.Refactorings.Workflow.CustomPageCommitter.Commit(IProgressIndicator) in c:\TEMP\tmpF25E.tmp\src\Refactorings\src\Workflow\WorkflowProcessor.cs:line 579 column 11
at JetBrains.ReSharper.Shell.Progress.TaskHelper.Run() in c:\TEMP\tmpF25E.tmp\src\Shell\src\Progress\UITaskExecutor.cs:line 229 column 13
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message&)
at System.Windows.Forms.ScrollableControl.WndProc(Message&)
at System.Windows.Forms.ContainerControl.WndProc(Message&)
at System.Windows.Forms.ParkingWindow.WndProc(Message&)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
at JetBrains.UI.Interop.Win32Declarations.DispatchMessage(MSG&)
at JetBrains.ReSharper.Shell.Progress.UITaskExecutor.RunMessageLoop() in c:\TEMP\tmpF25E.tmp\src\Shell\src\Progress\UITaskExecutor.cs:line 127 column 11
at JetBrains.ReSharper.Shell.Progress.UITaskExecutor.ExecuteTask(TaskHelper, String, Boolean, Boolean&) in c:\TEMP\tmpF25E.tmp\src\Shell\src\Progress\UITaskExecutor.cs:line 148 column 11
at JetBrains.ReSharper.Shell.Progress.UITaskExecutor.ExecuteTask(TaskWithProgress, String, Boolean&) in c:\TEMP\tmpF25E.tmp\src\Shell\src\Progress\UITaskExecutor.cs:line 168 column 7
at JetBrains.ReSharper.Refactorings.Workflow.TaskExecutorWrapper.ExecuteTask(TaskWithProgress, String, Boolean&) in c:\TEMP\tmpF25E.tmp\src\Refactorings\src\Workflow\WorkflowProcessor.cs:line 468 column 9
at JetBrains.ReSharper.Refactorings.Workflow.WorkflowProcessor.CommitPage(ICustomPage, Boolean&, Boolean&) in c:\TEMP\tmpF25E.tmp\src\Refactorings\src\Workflow\WorkflowProcessor.cs:line 234 column 11
at JetBrains.ReSharper.Refactorings.Workflow.WorkflowProcessor.ShowNextPage() in c:\TEMP\tmpF25E.tmp\src\Refactorings\src\Workflow\WorkflowProcessor.cs:line 114 column 15
at JetBrains.ReSharper.Refactorings.Workflow.WorkflowProcessor.MyForm_OnContinueClicked(Object, EventArgs) in c:\TEMP\tmpF25E.tmp\src\Refactorings\src\Workflow\WorkflowProcessor.cs:line 93 column 7
at JetBrains.ReSharper.Refactorings.Workflow.RefactoringWizardForm.myContinueButton_Click(Object, EventArgs) in c:\TEMP\tmpF25E.tmp\src\Refactorings\src\Workflow\RefactoringWizardForm.cs:line 463 column 5
at System.Windows.Forms.Control.OnClick(EventArgs)
at System.Windows.Forms.Button.OnClick(EventArgs)
at System.Windows.Forms.Button.PerformClick()
at System.Windows.Forms.Form.ProcessDialogKey(Keys)
at System.Windows.Forms.Control.ProcessDialogKey(Keys)
at System.Windows.Forms.Control.ProcessDialogKey(Keys)
at System.Windows.Forms.Control.ProcessDialogKey(Keys)
at System.Windows.Forms.ContainerControl.ProcessDialogKey(Keys)
at System.Windows.Forms.Control.ProcessDialogKey(Keys)
at System.Windows.Forms.Control.PreProcessMessage(Message&)
at System.Windows.Forms.ThreadContext.System.Windows.Forms.UnsafeNativeMethods+IMsoComponent.FPreTranslateMessage(MSG&)

Please sign in to leave a comment.