Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000326 [Resin] minor always 07-25-05 00:00 11-30-05 14:42
Reporter ferg View Status public  
Assigned To
Priority normal Resolution fixed  
Status closed   Product Version 3.0.14
Summary 0000326: JSTL EL variable type conversion
Description RSN-370
(rep by Alex Grief)

I am trieing to port a tomcat project to resin 3.0.14 and encountered
problems with jstl functions. The probelms are present with enabled
and disabled fast-jstl.

Here is the problem:
paramm is a string
<c:when test="${fn:startsWith(paramm, 'key_')}">
throws the following exception.

It is also strange that even with disabled fast-jstl the com.caucho.el
package is used.

The same exception occures if I use other jstl functions like:
${fn:escapeXml(messages_plz)}

java.lang.IllegalArgumentException: argument type mismatch
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.caucho.el.FunctionExpr.evalObject(FunctionExpr.java:101)
        at com.caucho.el.Expr.evalBoolean(Expr.java:153)
        at _jsp._web_22dinf._jsp._suchensalon__jsp._jspService(WEB-INF/jsp/suchenSalon.jsp:113)
        at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
        at com.caucho.jsp.Page.pageservice(Page.java:570)
        at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:159)
        at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
        at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208)
        at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:268)
        at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:106)
        at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:97)
        at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
        at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:917)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:696)
        at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:623)
        at org.springframework.web.servlet.FrameworkServlet.serviceWrapper(FrameworkServlet.java:384)
        at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:353)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:154)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
        at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:99)
        at de.wimf.view.JAMonFilter.doFilter(JAMonFilter.java:52)
        at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
        at com.caucho.server.security.SecurityFilterChain.doFilter(SecurityFilterChain.java:135)
        at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163)
        at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208)
        at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259)
        at com.caucho.server.port.TcpConnection.run(TcpConnection.java:363)
        at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
        at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
        at java.lang.Thread.run(Thread.java:534)

Additional Information
Attached Files

- Relationships

- Notes
(0000371)
ferg
07-25-05 00:00

jsp/1la1
 

- Issue History
Date Modified Username Field Change
07-25-05 00:00 ferg New Issue
11-30-05 00:00 administrator Fixed in Version  => 3.0.15
11-30-05 14:42 ferg Status resolved => closed


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker