History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-31099
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Sergey Shkredov
Reporter: Vladimir Reshetnikov
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
ReSharper

'Extract interface' does not work with long-named classes

Created: 03 Nov 06 09:34   Updated: 07 Feb 08 21:36
Component/s: Refactorings - Extract Interface
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 300


 Description  « Hide
class AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
{

}

Apply 'Extract interface'.
Exception will occur.

JetBrains.ReSharper.Util.InternalErrorException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
An exception has occurred ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at System.Collections.ObjectModel.ReadOnlyCollection`1.System.Collections.Generic.IList<T>.get_Item(Int32 index)
at JetBrains.ReSharper.UI.PopupList.Impl.JetPopupMenuDoc.FireExecuteAction(Int32 index) in c:\Agent\work\ReSharper-Main\src\IDECore\src\PopupList\Impl\JetPopupMenuDoc.cs:line 466
— End of inner exception stack trace —

at JetBrains.ReSharper.Util.Logger.LogExceptionEx(Exception, String, Boolean) in c:\Agent\work\ReSharper-Main\src\Util\src\Logger.cs:line 343 column 9
at JetBrains.ReSharper.Util.Logger.LogException(Exception) in c:\Agent\work\ReSharper-Main\src\Util\src\Logger.cs:line 355 column 5
at JetBrains.ReSharper.UI.PopupList.Impl.JetPopupMenuDoc.FireExecuteAction(Int32) in c:\Agent\work\ReSharper-Main\src\IDECore\src\PopupList\Impl\JetPopupMenuDoc.cs:line 470 column 5
at JetBrains.ReSharper.UI.PopupList.Impl.JetPopupMenuDoc.ExecuteSelectedItem() in c:\Agent\work\ReSharper-Main\src\IDECore\src\PopupList\Impl\JetPopupMenuDoc.cs:line 165 column 5
at JetBrains.ReSharper.UI.PopupList.Impl.JetPopupMenuView.OnMouseUp(MouseEventArgs) in c:\Agent\work\ReSharper-Main\src\IDECore\src\PopupList\Impl\JetPopupMenuView.cs:line 2103 column 6
at System.Windows.Forms.Control.WmMouseUp(Message&, MouseButtons, Int32)
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.Form.WndProc(Message&)
at JetBrains.ReSharper.UI.PopupList.Impl.JetPopupMenuView.WndProc(Message&) in c:\Agent\work\ReSharper-Main\src\IDECore\src\PopupList\Impl\JetPopupMenuView.cs:line 2059 column 5
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)



 All   Comments   Work Log   Change History      Sort Order:
Vladimir Reshetnikov - 03 Jun 07 18:36
In 450, it throws another exception: RSRP-42160