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 50807 - NPE when adding method with non-existent return type
Summary: NPE when adding method with non-existent return type
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 14:18 UTC by Roman Strobl
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE when typing Stringx as return type (5.16 KB, text/plain)
2004-10-25 14:19 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 14:18:43 UTC
[Netbeans 200410241800; JDS v.2; JDK 1.5.0_01-b04]

Attached NPE occurs when adding a method with
non-existent return type. Steps to reproduce:

1. Start with an empty class.
2. Choose Add->Method from context menu.
3. Type in "Stringx" as return type.
4. Press Tab and the exception occurs.
Comment 1 Roman Strobl 2004-10-25 14:19:37 UTC
Created attachment 18487 [details]
NPE when typing Stringx as return type
Comment 2 Martin Matula 2004-10-25 14:26:10 UTC
Caused by exactly the same bug as issue 50805. Tomas is working on it.
Comment 3 Tomas Hurka 2004-10-25 14:41:43 UTC

*** This issue has been marked as a duplicate of 50759 ***
Comment 4 Roman Strobl 2005-07-07 14:15:18 UTC
Verified in 200507061800.