You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/08/19 04:54:45 UTC
DO NOT REPLY [Bug 45648] New: Function 'f:length' not found
https://issues.apache.org/bugzilla/show_bug.cgi?id=45648
Summary: Function 'f:length' not found
Product: Tomcat 6
Version: 6.0.18
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: c.costa.silva@dsts.pt
This error happens when accessing the Proxy Connectors page in an Apache
Archiva 1.1.1 installation:
http://localhost:8080/archiva/admin/proxyConnectors.action
This error happens against a build exported from trunk on 2008/08/14 (I'm using
this build, to work around bug
https://issues.apache.org/bugzilla/show_bug.cgi?id=45511 - EL "empty" keyword
does not work, which also happens with Archiva). This error seems very similar
to 45511.
Significant part of the stack trace:
org.apache.jasper.JasperException: /WEB-INF/jsp/admin/proxyConnectors.jsp(76,2)
"${fn:length(repository.value)}" contains invalid expression(s):
javax.el.ELException: Function 'f:length' not found
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1132)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:813)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:832)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:832)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:832)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399)
org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
org.apache.jasper.compiler.Validator.validate(Validator.java:1713)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:166)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:589)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:321)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:268)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.opensymphony.webwork.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:114)
com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:143)
...
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45648] Function 'f:length' not found
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45648
--- Comment #7 from Carlos Costa e Silva <c....@dsts.pt> 2008-09-02 05:19:13 PST ---
Confirm fixed: works for me with the latest revision from trunk.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45648] Function 'f:length' not found
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45648
--- Comment #5 from Konstantin Kolinko <kn...@gmail.com> 2008-08-22 05:18:11 PST ---
I am confirming that it is reproducible with the examples app bundled with
Tomcat, with the current top of tc6.0.x branch (2008-08-22, rev.688071).
The page that fails is /examples/jsp/jsp2/el/functions.jsp
>From the root application, click JSP Examples. That page is the 4th example
there ("Functions" in the JSP 2.0 Examples group).
The issue disappears if I rollback to rev.685696 of 2008-08-14.
The released version 6.0.18 is not affected. I tested the page there
and it works.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45648] Function 'f:length' not found
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45648
Carlos Costa e Silva <c....@dsts.pt> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |c.costa.silva@dsts.pt
Severity|normal |regression
Priority|P2 |P3
--- Comment #1 from Carlos Costa e Silva <c....@dsts.pt> 2008-08-18 19:59:44 PST ---
Note:
The "build exported from trunk on 2008/08/14" means this bug happens against a
tomcat build exported from svn on that date. The Archiva build is a "stock"
1.1.1.
Obs: Changed priority to P3 and severity to regression.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45648] Function 'f:length' not found
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45648
--- Comment #2 from Carlos Costa e Silva <c....@dsts.pt> 2008-08-20 09:04:29 PST ---
Another note: this problem doesn't happen with tomcat 6.0.16.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45648] Function 'f:length' not found
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45648
--- Comment #8 from Mark Thomas <ma...@apache.org> 2008-09-25 03:36:58 PST ---
This has been fixed in 6.0.x and will be in 6.0.19 onwards.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45648] Function 'f:length' not found
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45648
--- Comment #3 from Carlos Costa e Silva <c....@dsts.pt> 2008-08-20 11:39:05 PST ---
Deployed a CAS server v3.3 and found this in the logs:
javax.el.ELException: Function 'f:escapeXml' not found
at
org.apache.el.lang.ExpressionBuilder.visit(ExpressionBuilder.java:171)
at org.apache.el.parser.SimpleNode.accept(SimpleNode.java:145)
...
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45648] Function 'f:length' not found
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45648
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45648] Function 'f:length' not found
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45648
--- Comment #4 from Donald Woods <dw...@apache.org> 2008-08-21 06:36:00 PST ---
I ran into the same problem.
Copying the ELParser files from tc6.0.x/trunk (6.0.19) over the 6.0.18 files
and rebuilding fixed this problem, but now I'm seeing other JSP TCK
failures....
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45648] Function 'f:length' not found
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45648
--- Comment #6 from Mark Thomas <ma...@apache.org> 2008-08-31 12:45:52 PST ---
This has been fixed in trunk and proposed for 6.0.x
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org