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 46260 - IDE unusable when Auto Comment is opened on source with 1.5 features
Summary: IDE unusable when Auto Comment is opened on source with 1.5 features
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-16 20:11 UTC by _ rkubacki
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE stack trace (3.88 KB, text/plain)
2004-07-16 20:11 UTC, _ rkubacki
Details
source file (518 bytes, text/plain)
2004-07-16 20:13 UTC, _ rkubacki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2004-07-16 20:11:24 UTC
trunk build from Jul 16, JDK1.5.0b55, Linux, GTK L&F

When Auto comment action is invoked on a source
that contain Java 1.5 features the IDE starts to
produce endless stream of NPEs and becomes unusable.
Comment 1 _ rkubacki 2004-07-16 20:11:55 UTC
Created attachment 16300 [details]
NPE stack trace
Comment 2 _ rkubacki 2004-07-16 20:13:30 UTC
Created attachment 16301 [details]
source file
Comment 3 Jan Pokorsky 2004-07-19 13:49:05 UTC
It looks like a bug of the java src model. FieldElement.getType cannot
return null even for a generic type.
Comment 4 Daniel Prusa 2004-07-20 10:26:11 UTC
Fixed.
Checking in FieldElementImpl.java;
/cvs/java/src/org/netbeans/modules/java/bridge/FieldElementImpl.java,v
 <--  FieldElementImpl.java
new revision: 1.5; previous revision: 1.4
Comment 5 Jiri Prox 2005-07-11 14:50:27 UTC
Verified in 4.2 (200507110943)
Comment 6 Quality Engineering 2007-09-20 12:09:35 UTC
Reorganization of java component