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

Summary: NPE on Refactoring : encapsulating fields
Product: java Reporter: infidel <infidel>
Component: RefactoringAssignee: Jan Pokorsky <jpokorsky>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Log file

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 ***