Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001908 [Resin] major always 07-30-07 06:13 08-23-07 16:18
Reporter timur View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.3 Product Version 3.1.2
  Product Build
Summary 0001908: jstl for-each tag don't work with jsf in tag files on resin 3.1.2
Description If the page contains tag with for-each clause in its file, the following defect can be observed:
The first page request after start Resin processes correctly, but further requests causes an exception:

java.lang.IllegalStateException
    at com.sun.faces.context.FacesContextImpl.assertNotReleased(FacesContextImpl.java:428)
    at com.sun.faces.context.FacesContextImpl.getExternalContext(FacesContextImpl.java:149)
    at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:70)
    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:133)
    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
    at com.caucho.jsp.el.PageContextELResolver.getValue(PageContextELResolver.java:158)
    at com.caucho.el.IdExpr.getValue(IdExpr.java:100)
    at com.caucho.el.ArrayResolverExpr.getValue(ArrayResolverExpr.java:112)
    at com.caucho.el.PathExpr.getValue(PathExpr.java:122)
    at com.caucho.el.Expr.evalObject(Expr.java:224)
    at _jsp._web_22dinf._tags._test__tag.doTag(WEB-INF/tags/test.tag:5)
    at _jsp._index__jsp._jspService(index.jsp:9)
    at com.caucho.jsp.JavaPage.service(JavaPage.java:61)
    at com.caucho.jsp.Page.pageservice(Page.java:587)
    at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:192)
    at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:97)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240)
    at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:280)
    at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:108)
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)
    at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:481)
    at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:685)
    at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:607)
    at java.lang.Thread.run(Thread.java:595)

War with simple example of problem in attachment.

JSF 1.2 Reference Implementation.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0002229)
ferg
08-23-07 16:18

jsp/1059

The issue shouldn't be specific to foreach. It's primarily an issue of clearing the _elContext in the PageContextWrapper.
 

- Issue History
Date Modified Username Field Change
07-30-07 06:13 timur New Issue
07-30-07 06:13 timur File Added: test1.war
07-30-07 06:16 timur Issue Monitored: timur
08-23-07 16:18 ferg Note Added: 0002229
08-23-07 16:18 ferg Assigned To  => ferg
08-23-07 16:18 ferg Status new => closed
08-23-07 16:18 ferg Resolution open => fixed
08-23-07 16:18 ferg Fixed in Version  => 3.1.3


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