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 267944

Summary: JavaFX - inserting getters / setters for Properties not working
Product: ide Reporter: helmwag
Component: CodeAssignee: issues@ide <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description helmwag 2016-09-08 17:37:15 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_74
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.74-b02

Reproducibility: Happens every time

STEPS:
  * Open dialog Source > Insert Code > Getter > select some / all
  * Click on button "Generate"

ACTUAL:
  nothing happens

EXPECTED:
 Getters are generated

If Getters / Setters of Property values are already present (e.g 
 private SimpleStringProperty categoryCol = new SimpleStringProperty();
 public final String getCategoryCol() {
       return categoryCol.get();
    }

then, when i try to create Getters for Properties : 
public SimpleStringProperty getCategoryCol() {
        return categoryCol;
    }

nothing happens. If i comment out all already existing value Getters , then the Getters for Properties are generate
Comment 1 helmwag 2016-09-08 17:37:21 UTC
Created attachment 161975 [details]
IDE log