This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 62030 - NoSuchElementException when extracting interface from Enum
Summary: NoSuchElementException when extracting interface from Enum
Status: VERIFIED DUPLICATE of bug 61510
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 5.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-10 12:02 UTC by Jiri Prox
Modified: 2007-04-03 18:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception (1.06 KB, text/plain)
2005-08-10 12:03 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2005-08-10 12:02:45 UTC
NB 4.2 (2005008091800)
JDK 1.5.0_04

NoSuchElementException is thrown in console when extacting interface from enum.
Undo refactoring is not enabled.

steps to reproduce:
1) open/create some enum containig methods
2) call Extract Interface on this enum
3) fill in opened dialog and confirm

-> java.util.NoSuchElementException
        at java.util.LinkedList.getFirst(LinkedList.java:109)
        at
org.netbeans.modules.javacore.internalapi.UndoManager.addItem(UndoManager.java:267)
Comment 1 Jiri Prox 2005-08-10 12:03:54 UTC
Created attachment 23629 [details]
exception
Comment 2 Tomas Hurka 2005-08-19 15:19:47 UTC

*** This issue has been marked as a duplicate of 61510 ***
Comment 3 Jiri Prox 2006-01-17 14:18:59 UTC
verified duplicate