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 271867 - org.netbeans.modules.java.editor.codegen.GeneratorUtils$DuplicateMemberException: Class member already exists
Summary: org.netbeans.modules.java.editor.codegen.GeneratorUtils$DuplicateMemberExcept...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-30 15:54 UTC by Exceptions Reporter
Modified: 2017-11-30 15:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 231060


Attachments
stacktrace (5.31 KB, text/plain)
2017-11-30 15:55 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2017-11-30 15:54:38 UTC
This bug was originally marked as duplicate of bug 254119, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201710200002)
VM: Java HotSpot(TM) 64-Bit Server VM, 9.0.1+11, Java(TM) SE Runtime Environment, 9.0.1+11
OS: Linux

User Comments:
GUEST: Refactor -> Extract Method




Stacktrace: 
org.netbeans.modules.java.editor.codegen.GeneratorUtils$DuplicateMemberException: Class member already exists
   at org.netbeans.modules.java.editor.codegen.GeneratorUtils.insertClassMembers(GeneratorUtils.java:198)
   at org.netbeans.modules.java.editor.codegen.GeneratorUtils.insertClassMember(GeneratorUtils.java:205)
   at org.netbeans.modules.java.hints.introduce.IntroduceHint$InsertClassMember.insertClassMember(IntroduceHint.java:950)
   at org.netbeans.modules.java.hints.introduce.IntroduceMethodFix$TaskImpl.run(IntroduceMethodFix.java:903)
   at org.netbeans.modules.java.hints.introduce.IntroduceMethodFix$TaskImpl.run(IntroduceMethodFix.java:487)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:694)
Comment 1 Exceptions Reporter 2017-11-30 15:55:15 UTC
Created attachment 165521 [details]
stacktrace