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 #200603270200 of NetBeans 5.5 Windows XP, JDK 1.5.0_05 build #05 Description: ============ Error annotation of incorrect expression language statements sometimes contains name of nested exception javax.servlet.jsp.el.ELException which prolongs the tooltip and is useless. Take a look at the attached screenshot. Steps to reproduce: =================== 1. Create new web application project from template. 2. Type ${applicationScope[]} somewhere in index.jsp file and wait a second. 3. The statement will get red underlined. 4. Point to it with your mouse and read the tooltip with error annotation to see that it contains fully qualified exception name.
Created attachment 29422 [details] Screenshot of the exception name in error tooltip.
Still reproducible in NB 6.5. The message is now: ${applicationScope[]} contains invalid expression(s): javax.el.ELException: Error parsing: ${applicationScope[]}
The error message comes from Glassfish JSP parser. File glassfish-jspparser-2.0.jar/org/apache/jasper/resources/messages.properties contains the following line: jsp.error.invalid.expression=PWC6038: "{0}" contains invalid expression(s): {1} Closing as WONTFIX (the problem is not in NetBeans). Reporter, please file a bug against Glassfish project.