Mantis - Resin
Viewing Issue Advanced Details
177 minor always 05-16-05 00:00 11-30-05 14:44
sun2bin  
 
normal  
closed 3.0.13  
3.0.13 fixed  
none    
none 3.0.14  
0000177: with <%@page session='false' %>, ${sessionScope.xxx} causes NPE
RSN-177
the simple JSP page:
<%@page session="false" %> test=${sessionScope.test}

causes

500 Servlet Exception
java.lang.NullPointerException
    at com.caucho.jsp.el.ImplicitFieldExpr.evalObject(ImplicitFieldExpr.java:77)
    at com.caucho.el.Expr.print(Expr.java:275)
    at _jsp.___jsp._jspService(.jsp:1)
    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.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:341)
    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)


--------------------------------------------------------------------------------
Resin-3.0.s050516 (built Mon, 16 May 2005 08:34:43 PDT)

Notes
(0000201)
ferg   
05-16-05 00:00   
jsp/1b66