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 229061

Summary: IllegalArgumentException: Collection is empty
Product: java Reporter: ma.schroed
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED FIXED    
Severity: normal CC: mbedward
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 200251
Attachments: stacktrace

Description ma.schroed 2013-04-26 09:49:34 UTC
Build: NetBeans IDE 7.3.1 (Build 201304162201)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Linux

User Comments:
ma.schroed: pulling up a method from one interface to another




Stacktrace: 
java.lang.IllegalArgumentException: Collection is empty
   at java.util.EnumSet.copyOf(EnumSet.java:166)
   at org.netbeans.modules.refactoring.java.plugins.PullUpTransformer.addAbstractMemberToTarget(PullUpTransformer.java:170)
   at org.netbeans.modules.refactoring.java.plugins.PullUpTransformer.addMembersToTarget(PullUpTransformer.java:122)
   at org.netbeans.modules.refactoring.java.plugins.PullUpTransformer.visitClass(PullUpTransformer.java:103)
   at org.netbeans.modules.refactoring.java.plugins.PullUpTransformer.visitClass(PullUpTransformer.java:78)
   at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:620)
Comment 1 ma.schroed 2013-04-26 09:49:35 UTC
Created attachment 133842 [details]
stacktrace
Comment 2 Ralph Ruijs 2013-05-15 11:44:34 UTC
changeset   : http://hg.netbeans.org/jet-main/rev/f1e679868537
author      : Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date        : Wed May 15 13:39:15 CEST 2013
summary     : #229061 - IllegalArgumentException: Collection is empty
Comment 3 Quality Engineering 2013-05-18 02:54:07 UTC
Integrated into 'main-golden', will be available in build *201305172300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f1e679868537
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #229061 - IllegalArgumentException: Collection is empty
Comment 4 Ralph Ruijs 2015-04-07 06:36:53 UTC
*** Bug 215332 has been marked as a duplicate of this bug. ***