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 209516 - IllegalArgumentException: Collection is empty
Summary: IllegalArgumentException: Collection is empty
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-13 13:56 UTC by Jiri Prox
Modified: 2012-03-17 10:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 185818


Attachments
stacktrace (2.47 KB, text/plain)
2012-03-13 13:56 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2012-03-13 13:56:50 UTC
Build: NetBeans IDE Dev (Build 201203130400)
VM: Java HotSpot(TM) Client VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows 7

User Comments:
jiriprox: IAE when using hint to create missing method




Stacktrace: 
java.lang.IllegalArgumentException: Collection is empty
   at java.util.EnumSet.copyOf(EnumSet.java:166)
   at org.netbeans.api.java.source.CodeStyle$MemberGroups$Info.check(CodeStyle.java:1144)
   at org.netbeans.api.java.source.CodeStyle$MemberGroups$Info.access$1300(CodeStyle.java:1124)
   at org.netbeans.api.java.source.CodeStyle$MemberGroups.getGroupId(CodeStyle.java:1099)
   at org.netbeans.api.java.source.GeneratorUtilities$ClassMemberComparator.compare(GeneratorUtilities.java:1035)
   at org.netbeans.api.java.source.GeneratorUtilities.insertClassMember(GeneratorUtilities.java:189)
Comment 1 Jiri Prox 2012-03-13 13:56:52 UTC
Created attachment 116665 [details]
stacktrace
Comment 2 Jiri Prox 2012-03-13 14:15:55 UTC
This blocks also insert code functionality
Comment 3 Dusan Balek 2012-03-13 15:54:41 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/78406ac4609f
Comment 4 Quality Engineering 2012-03-17 10:36:57 UTC
Integrated into 'main-golden', will be available in build *201203170400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/78406ac4609f
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #209516: IllegalArgumentException: Collection is empty - fixed.