Bug 34754

Summary: Array out of bounds in code assist
Product: [Eclipse Project] JDT Reporter: John Arthorne <john.arthorne>
Component: TextAssignee: Kai-Uwe Maetzel <kai-uwe_maetzel>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 RC3   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Attachments:
Description Flags
Log file showing stack trace none

Description John Arthorne CLA 2003-03-11 17:06:02 EST
Build: 2.1 RC2


I got into a state when invoking code assist where the popup window was empty. I 
can't reproduce it, but I was typing while the popup was open.  When I entered a 
character that narrowed down the possible search values to zero, I was left with 
an empty popup window.  In my case I had entered resource.getK (and there are no 
methods starting with "getk" on IResource).


This resulted in an ArrayIndexOutOfBoundsException in the log.  I will attach 
the log.
Comment 1 John Arthorne CLA 2003-03-11 17:06:43 EST
Created attachment 4022 [details]
Log file showing stack trace
Comment 2 Kai-Uwe Maetzel CLA 2003-03-13 04:46:07 EST
Approved by Erich and Kai.
Comment 3 Kai-Uwe Maetzel CLA 2003-03-14 14:42:33 EST
Build 20030314. Reviewed by Andre.
Comment 4 Dani Megert CLA 2003-06-17 09:20:05 EDT
*** Bug 29222 has been marked as a duplicate of this bug. ***