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.
Development build #200506281800 of NetBeans 4.2 Windows XP, JDK 1.5.0_03 build #06 or JDK 1.6.0 EA build #42 Description: ============ Code completion does not work when CTRL+Space is pressed when Java packages should be suggested. Please note that JDK 1.5 and 1.6 throw different exceptions. Steps to reproduce: =================== 1. Create new sample web application project. 2. Type <%@page import "|"%> in index.jsp and press CTRL+Space. 3. NPE will be thrown in case of JDK 1.5.0_03 and CCE in case of JDK 1.6.0.
Created attachment 22952 [details] NPE thrown when running IDE on JDK 1.5.0_03.
Created attachment 22953 [details] NPE thrown when running IDE on JDK 1.6.0.
This issue is JDK specific.
*** Issue 60911 has been marked as a duplicate of this issue. ***
Please note that similar exception is thrown when code completion is invoked in this case: <jsp:useBean class="| This is very annoying, increasing priority.
It is Q-build stopper. Please fix it ASAP. Thanks.
fixed in trunk. Jirko, can you please verify it asap so I can commit it to the q-build branch as well? Checking in AttrSupports.java; /cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/completion/AttrSupports.java,v <-- AttrSupports.java new revision: 1.3; previous revision: 1.2 done Checking in JspCompletionQuery.java; /cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/completion/JspCompletionQuery.java,v <-- JspCompletionQuery.java new revision: 1.5; previous revision: 1.4 done
I am gonna verify this in the first available continuous trunk build.
It's working properly now. I agree with merging the fix to Q-build branch. Verified in continuous development build #20050725-1205.
fixed in QBE200507191800 branch Checking in AttrSupports.java; /cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/completion/AttrSupports.java,v <-- AttrSupports.java new revision: 1.2.6.1; previous revision: 1.2 done Checking in JspCompletionQuery.java; /cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/completion/JspCompletionQuery.java,v <-- JspCompletionQuery.java new revision: 1.4.4.1; previous revision: 1.4 done