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 134366 - NPE on Refactoring : encapsulating fields
Summary: NPE on Refactoring : encapsulating fields
Status: RESOLVED DUPLICATE of bug 131619
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-02 05:26 UTC by infidel
Modified: 2008-05-15 16:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file (8.76 KB, application/x-gzip)
2008-05-02 05:27 UTC, infidel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description infidel 2008-05-02 05:26:14 UTC
I created a Java class with about 11 fields, mostly Boolean but with a few java.sql.Date fields and a String fields.
I attempted to create getters/setters for all fields using the Refactoring/Encapsulate Fields function and got an NPE. 
This is fully repeatable, even after an IDE restart.
Comment 1 infidel 2008-05-02 05:27:17 UTC
Created attachment 60948 [details]
Log file
Comment 2 Jan Pokorsky 2008-05-15 16:03:06 UTC
This should be already fixed in the dev build.

*** This issue has been marked as a duplicate of 131619 ***