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.
Summary: | org.netbeans.modules.java.editor.codegen.GeneratorUtils$DuplicateMemberException: Class member already exists | ||
---|---|---|---|
Product: | java | Reporter: | locked <locked> |
Component: | Editor | Assignee: | Dusan Balek <dbalek> |
Status: | NEW --- | ||
Severity: | normal | CC: | athompson, dvader666, fillumina, freekamel67, ivasquezp2010 |
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 221417 |
Attachments: |
stacktrace
stacktrace |
Description
locked
2016-02-23 19:26:37 UTC
Created attachment 158621 [details]
stacktrace
Created attachment 164400 [details]
stacktrace
trying to add getters and setters for a number of properties
I had a String field named "enabled" which can contain the values "Y" or "N". I had a custom getter/setter for it which returned the value as a boolean. That is the source of the error as it tried to add the getter/setter again. |