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.
[Netbeans 200410241800; JDS v.2; JDK 1.5.0_01-b04] Attached exception occurs everytime I try to add a non-primitive field (such as String or Object). I do it by right-clicking on the icon of the class (not java) in project view and choosing Add->Field. As next step choose for instance String, type a name and click OK.
Created attachment 18485 [details] NPE thrown after clicking on OK
Similar exception occurs when adding a method with non-primitive return type. Attaching exception.
Created attachment 18486 [details] NPE when adding method
This seems to be a consequence of a bug that is also a root cause of issue 50759.
*** This issue has been marked as a duplicate of 50759 ***
Verified as duplicate.