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

Key: IDEADEV-12267
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Eugene Vigdorchik
Reporter: Stephen Friedrich
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

AIOOB on "Extract Method"

Created: 27 Nov 06 23:57   Updated: 28 Nov 06 13:58
Component/s: Refactoring
Fix Version/s: Demetra 6.0.3

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

Build: 6,111
Fixed in build: 6,575
Severity: Medium


 Description  « Hide
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)


 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.