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 72169 - [cc] Completion stopped working in servlet generated from JSP
Summary: [cc] Completion stopped working in servlet generated from JSP
Status: RESOLVED INVALID
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-02 14:15 UTC by Jiri Kovalsky
Modified: 2008-05-19 21:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception thrown instead of code completion suggestions. (972 bytes, text/plain)
2006-02-02 14:16 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2006-02-02 14:15:54 UTC
Development build #200601312300 of NetBeans 5.5 Preview
Windows XP, JDK 1.5.0_05 build #05

Description:
============
User can't use code completion in servlets generated from JSP because upon
pressing CTRL+Space below attached IllegalArgumentException is always thrown.
Please note that this is regression against NetBeans 5.0.

Steps to reproduce:
===================
1. Launch NetBeans 5.5 Preview IDE.
2. Invoke "File|New Project..." from main menu.
3. Select "Web" category and "Web Application" project.
4. Push "Next >" button, then "Finish".
5. Invoke "Run|Run Main Project" from main menu and after a while close the web
browser displaying "JSP Page".
6. Right click editor area of index.jsp and select "View Servlet" action.
7. Try to press CTRL+Space anywhere in index_jsp.java but exception is thrown.
Comment 1 Jiri Kovalsky 2006-02-02 14:16:57 UTC
Created attachment 28714 [details]
Exception thrown instead of code completion suggestions.
Comment 2 Marek Fukala 2006-02-25 16:08:30 UTC
already fixed

Comment 3 Jiri Kovalsky 2006-03-22 12:50:51 UTC
Yes, the exception is not thrown but code completion does not offer anything
located in java package. Just try setting your cursor at position 3:8 i.e.
import |javax.servlet.*; and press CTRL+Space. "java" does not show up as valid
package name. Trying to reproduce in development build #200603220300 of NetBeans
5.5.
Comment 4 Marek Fukala 2006-05-31 17:12:53 UTC
Don't you think is rather a P4?
Comment 5 Jiri Kovalsky 2006-06-01 09:37:59 UTC
I have no idea how frequently people face this problem but as it has no
duplicates etc. I am downgrading it.
Comment 6 Dongmei Cao 2008-05-19 21:15:14 UTC
I just tried in NB 6.1. The index_jsp.java is not editable. Mark it as "INVALID"