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 #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.
Created attachment 28714 [details] Exception thrown instead of code completion suggestions.
already fixed
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.
Don't you think is rather a P4?
I have no idea how frequently people face this problem but as it has no duplicates etc. I am downgrading it.
I just tried in NB 6.1. The index_jsp.java is not editable. Mark it as "INVALID"