Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3023 | major | always | 10-24-08 05:03 | 12-15-08 15:53 | |
|
|||||
Reporter: | vicsanca | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.6 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.0 | ||
|
|||||
Summary: | 0003023: JSTL and empty cookies fails | ||||
Description: | The first time you look with jstl if a cookie is empty/exists server gives nullpointerexception. | ||||
Steps To Reproduce: | |||||
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) |
||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|