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 44927 - UnsupportedOperationException when opening code completion
Summary: UnsupportedOperationException when opening code completion
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: Sun SunOS
: P2 blocker (vote)
Assignee: Martin Matula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-16 09:21 UTC by Jan Lahoda
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test project. (7.97 KB, text/plain)
2004-06-16 09:21 UTC, Jan Lahoda
Details
UnsupportedOperationException (1.49 KB, text/plain)
2004-06-16 09:23 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Lahoda 2004-06-16 09:21:13 UTC
NB trunk build 200406151800, JDK1.5.0-beta3-b55.

1.Download provided test project, unpack it and
open in the IDE.
2. Open test14/CCTest14.java
3. Go to line 6, place the caret after '<' and
invoke code completion: the attached
UnsupportedOperationException is thrown.
4. The same happens on line 8.

I am not sure whether this is editor or java
module problem, so feel free to reassign.
Comment 1 Jan Lahoda 2004-06-16 09:21:43 UTC
Created attachment 15727 [details]
Test project.
Comment 2 Jan Lahoda 2004-06-16 09:23:01 UTC
Created attachment 15728 [details]
UnsupportedOperationException
Comment 3 Martin Matula 2004-06-16 23:28:33 UTC
Fixed.

Checking in
src/org/netbeans/modules/javacore/jmiimpl/javamodel/ParameterizedTypeImpl.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/ParameterizedTypeImpl.java,v
 <--  ParameterizedTypeImpl.java
new revision: 1.9; previous revision: 1.8
done
Comment 4 Jan Lahoda 2004-06-28 13:32:34 UTC
Seems OK in 200406271800.