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.
Using popped-up CC leads to IAE in some cases. Steps to reproduce: ------------------- 1) Create new j2se project 2) Paste following code inside main() int[] index = new int[1]; index[0] = 0; ind| // pipe stands for carret 3) Place carret as shown above 4) Finish typing of index and press 'dot', like this: index.| 5) Wait for CC to appear, use up/down arrow few times --> IllegalArgumentException java.lang.IllegalArgumentException: Unknown type class org.netbeans.modules.javacore.jmiimpl.javamodel.ArrayCloneMethod at org.netbeans.modules.javacore.internalapi.JavaModelUtil.unwrapElement(JavaModelUtil.java:387) at org.netbeans.modules.javacore.internalapi.JavaModelUtil.getOverriddenMethods(JavaModelUtil.java:396) at org.netbeans.modules.editor.java.NbJMICompletionJavaDoc$JMIParsingThread.setFeature(NbJMICompletionJavaDoc.java:534) ... (whole stack trace attached) [5.0 200512262030, JDK 1.5.0_02, GNU/Linux 2.6.11.3 i686]
Created attachment 28089 [details] exception stack trace
Checking in JavaModelUtil.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/internalapi/JavaModelUtil.java,v <-- JavaModelUtil.java new revision: 1.19; previous revision: 1.18 done
Verified in 5.1 200601031900.
*** Issue 70973 has been marked as a duplicate of this issue. ***
*** Issue 71013 has been marked as a duplicate of this issue. ***
*** Issue 75214 has been marked as a duplicate of this issue. ***
Fix merged into release55 branch. /cvs/java/javacore/src/org/netbeans/modules/javacore/internalapi/JavaModelUtil.java new revision: 1.12.4.3.2.1; previous revision: 1.12.4.3
Thanks, Dane. Verified inside 5.5dev branch. ---------- NetBeans 5.5 Dev (Build 200605110500) SunOS version 5.10 running on sparc Java HotSpot(TM) Client VM 1.6.0-beta2-b81
Reorganization of java component