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 52375 - CodeCompletion on class starting with 'We' causes AIOOBE
Summary: CodeCompletion on class starting with 'We' causes AIOOBE
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-14 10:59 UTC by zikmund
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java.lang.ArrayIndexOutOfBoundsException: 7 (1.43 KB, text/plain)
2004-12-14 11:00 UTC, zikmund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2004-12-14 10:59:31 UTC
Build 200412131900

1) Run IDE with clean userdir
2) Create Java project
3) Create Class 'Well' in package 'my'
4) Go to main class
5) Add: import my.*;
6) Type into main method: We
7) Invoke CodeCompletion (Ctrl-Space)
8) ERROR:
AIOOBE - see attachment
Comment 1 zikmund 2004-12-14 11:00:10 UTC
Created attachment 19277 [details]
java.lang.ArrayIndexOutOfBoundsException: 7
Comment 2 Martin Matula 2004-12-15 10:20:12 UTC
Fixed.

Checking in src/org/netbeans/modules/javacore/ClassIndex.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/ClassIndex.java,v
 <--  ClassIndex.java
new revision: 1.23; previous revision: 1.22
done
Comment 3 Martin Matula 2004-12-16 09:56:02 UTC
Fixed in QBE200412141900 branch.

Checking in src/org/netbeans/modules/javacore/ClassIndex.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/ClassIndex.java,v
 <--  ClassIndex.java
new revision: 1.22.2.1; previous revision: 1.22
done
Comment 4 zikmund 2004-12-16 11:09:15 UTC
Verified in daily build 200412151900.
Comment 5 zikmund 2005-01-04 13:22:11 UTC
Marking as verified.