Bug 43316 - message jsp.error.beans.property.conversion missing in resourcebundle
Summary: message jsp.error.beans.property.conversion missing in resourcebundle
Status: RESOLVED DUPLICATE of bug 40528
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Jasper (show other bugs)
Version: 5.5.0
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-05 22:34 UTC by Dieter Rehbein
Modified: 2007-09-06 17:50 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dieter Rehbein 2007-09-05 22:34:36 UTC
We are using jBoss 4.0.5, so I don't know exactly, which tomcat-version is
integrated (but it is a version >= 5.5.0)

If an exception is thrown in class org.apache.jasper.runtime.JspRuntimeLibrary
at line 885 (method getValueFromPropertyEditorManager), a localized message is
created.

The message key "jsp.error.beans.property.conversion" seems to be missing,
because the log-output only contains the following stacktrace:

org.apache.jasper.JasperException: jsp.error.beans.property.conversion
        at
org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:885)
        at
org.apache.jsp.WEB_002dINF.pages.portfolio.positions.positions_jsp._jspx_meth_ov_chartTyp1_0(positions_jsp.j
        at
org.apache.jsp.WEB_002dINF.pages.portfolio.positions.positions_jsp._jspx_meth_s_iterator_0(positions_jsp.jav
        at
org.apache.jsp.WEB_002dINF.pages.portfolio.positions.positions_jsp._jspService(positions_jsp.java:308)
.....

There is absolutely no info about the attributes name, value or class. This
makes it really painful, to find the reason of this exception.

The exception is thrown like this:

 throw new JasperException(
          Localizer.getMessage("jsp.error.beans.property.conversion",
                               attrValue, attrClass.getName(), attrName,
                               ex.getMessage()));

so, if you add the message to the resourcebundle, this would be great.
Comment 1 Mark Thomas 2007-09-06 17:50:19 UTC

*** This bug has been marked as a duplicate of 40528 ***