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 50805 - NPE thrown when adding String or Object field
Summary: NPE thrown when adding String or Object field
Status: CLOSED DUPLICATE of bug 50759
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-25 13:42 UTC by Roman Strobl
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE thrown after clicking on OK (2.67 KB, text/plain)
2004-10-25 13:43 UTC, Roman Strobl
Details
NPE when adding method (2.68 KB, text/plain)
2004-10-25 13:53 UTC, Roman Strobl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Strobl 2004-10-25 13:42:46 UTC
[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.
Comment 1 Roman Strobl 2004-10-25 13:43:31 UTC
Created attachment 18485 [details]
NPE thrown after clicking on OK
Comment 2 Roman Strobl 2004-10-25 13:52:26 UTC
Similar exception occurs when adding a method with non-primitive
return type. Attaching exception.
Comment 3 Roman Strobl 2004-10-25 13:53:06 UTC
Created attachment 18486 [details]
NPE when adding method
Comment 4 Martin Matula 2004-10-25 14:13:21 UTC
This seems to be a consequence of a bug that is also a root cause of
issue 50759.
Comment 5 Tomas Hurka 2004-10-25 14:40:00 UTC

*** This issue has been marked as a duplicate of 50759 ***
Comment 6 Roman Strobl 2005-07-07 14:14:16 UTC
Verified as duplicate.