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

Summary: CodeCompletion on class starting with 'We' causes AIOOBE
Product: java Reporter: zikmund <zikmund>
Component: UnsupportedAssignee: issues@java <issues>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P2    
Version: 4.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: java.lang.ArrayIndexOutOfBoundsException: 7

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.