Anonymous | Login | Signup for a new account | 12-17-2024 11:42 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003023 | [Resin] | major | always | 10-24-08 05:03 | 12-15-08 15:53 | ||||
Reporter | vicsanca | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.6 | ||||||
Summary | 0003023: JSTL and empty cookies fails | ||||||||
Description | The first time you look with jstl if a cookie is empty/exists server gives nullpointerexception. | ||||||||
Additional Information |
Example code working in Tomcat: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" [^] %> <c:if test="${empty cookie.kk}"> kk cookien don't exists </c:if> Error in resin java.lang.NullPointerException at com.caucho.jsp.el.CookieFieldExpression.getValue(CookieFieldExpression.java:76) at com.caucho.el.ValueExpr.getValue(ValueExpr.java:90) at com.caucho.el.UnaryExpr.evalBoolean(UnaryExpr.java:141) at _jsp._vic._test__jsp._jspService(vic/test.jsp:2) at com.caucho.jsp.JavaPage.service(JavaPage.java:61) at com.caucho.jsp.Page.pageservice(Page.java:578) at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:195) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266) at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:435) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:678) at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721) at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643) at java.lang.Thread.run(Thread.java:619) |
||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed. 26 unique queries executed. |