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 58437

Summary: Code completion for bean not work until second attempt
Product: javaee Reporter: Jiri Skrivanek <jskrivanek>
Component: JSPAssignee: Marek Fukala <mfukala>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Jiri Skrivanek 2005-04-29 10:16:02 UTC
Code completion for bean not work until second attempt when it is invoked very
fast. To reproduce:

- create Web application project
- copy the following line to index.jsp

<jsp:useBean id="myBean" scope="request" class="java.lang.String" /><% myBean.

- immediatelly press Ctrl+Space to invoke code completion
- nothing is shown
- try Ctrl+Space second time and methods list will come up correctly

Build 20050428-1145, JDK1.5.0_03, WindowsXP.
Comment 1 Jiri Skrivanek 2005-05-02 10:23:48 UTC
The same behaviour occur when you type the following:

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%><c:i
Comment 2 Marek Fukala 2005-05-02 13:37:01 UTC
I will rewrite the whole JSP completion so this issue will be likely adressed by
this change.
Comment 3 Jaroslav Pospisil 2006-03-13 13:43:16 UTC
TM 5.0->TBD
Comment 4 Marek Fukala 2006-08-21 16:09:51 UTC
already fixed JMI adoption in JSP CC
Comment 5 Jindrich Sedek 2006-08-22 16:09:35 UTC
Verified