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 74036 - [el] Expression language error annotation should not contain exception text
Summary: [el] Expression language error annotation should not contain exception text
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-27 14:24 UTC by Jiri Kovalsky
Modified: 2008-11-03 14:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of the exception name in error tooltip. (7.61 KB, image/png)
2006-03-27 14:25 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-03-27 14:24:52 UTC
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.
Comment 1 Jiri Kovalsky 2006-03-27 14:25:32 UTC
Created attachment 29422 [details]
Screenshot of the exception name in error tooltip.
Comment 2 pslechta 2008-09-19 11:21:09 UTC
Still reproducible in NB 6.5.

The message is now: ${applicationScope[]} contains invalid expression(s): javax.el.ELException: Error parsing:
${applicationScope[]}
Comment 3 pslechta 2008-11-03 14:40:33 UTC
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.