Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Fixed
Assignee
Eugene Vigdorchik
Subsystem
Refactoring
Affected versions
No Affected versions
Fixed in build
108.65  
  • Created by   Stephen Friedrich
    5 years ago (28 Nov 2006 00:57)
  • Updated by   root
    2 years ago (17 Jan 2010 20:38)
  • Jira: IDEADEV-12267
    (history, comments)
 
IDEA-35727 AIOOB on "Extract Method"
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
Posting the exception currently does not work, so here's a jira item:
In this code select the line with the comment
public class Main {
    public static void main(String[] args) {
        // lsaƶkj haksdjhf kjsad hfkjsahdf

    }
}

and invoke "extract method":
1
java.lang.ArrayIndexOutOfBoundsException: 1
	at com.intellij.refactoring.util.duplicates.DuplicatesFinder.<init>(DuplicatesFinder.java:112)
	at com.intellij.refactoring.extractMethod.ExtractMethodProcessor.prepare(ExtractMethodProcessor.java:64)
	at com.intellij.refactoring.extractMethod.ExtractMethodHandler.a(ExtractMethodHandler.java:12)
	at com.intellij.refactoring.extractMethod.ExtractMethodHandler.invoke(ExtractMethodHandler.java:28)
	at com.intellij.refactoring.actions.BaseRefactoringAction.actionPerformed(BaseRefactoringAction.java:27)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:61)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:26)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:70)
	at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:171)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:48)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


Issue was resolved
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments