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.
NB 5.5 beta 2. There are some other hits for this, but they were asking for exact steps to recreate. At the moment I can make this happen on demand as follows: new java project new class add an enum definition to that class: public enum Type { LOAD, SAVE, MACHINE, NETWORK } Now add a line "Type." and allow the code completion to display the possible completions. Use the down arrow to go down that list and sooner or later the exception is thrown. Something that might be significant is that just today I ran NB briefly using JDK 1.5 update 8 and then went back to update 7. Perhaps this has munged something in the user dir?
Created attachment 33258 [details] /var/log/messages
Please, is this reproducible when using fresh userdir? (you can start ide with -userdir switch)
Still reproducible with -userdir. I can recreate it exactly as described every time. Some more specific information: as I use the down arrow to move down the list of possible completions for Type, it fails when I get to "valueOf". One other thing: you have to wait for the internal parsing to complete so that the Type members are visible in the member panel before causing the completion list to come up. If you don't do that, then the completion list doesn't contain the enumerated values but just some class stuff. I'll attach a screen shot to show you what I mean. If you can give me some instructions for enabling debugging in the IDE then I can capture a trace for you.
Created attachment 33276 [details] Screen shot of IDE about to hit the problem
Reorganization of java component
This issue is not valid in current builds any more. Java support was completely redesigned in 6.0 time frame. Please use NetBeans 6.0 and later.