User case
If i try to read not existing bundle properties then error is catched and
rediected to error page. It works under 1.2_12 but not under 1.2_13 - custom
errorpage is not displayed
Stack trace under 1.2_12
SEVERE: Servlet.service() for servlet Blocking Servlet threw exception
javax.el.PropertyNotFoundException: /bar.jspx @48,141
onclick="window.open('#
{msgHelp[test:concat(edit.helpLink)]}
','_help');return
false;": Property 'usermode-1' not found on type java.util.PropertyResourceBundle
at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:73)
at
javax.faces.component.html.HtmlCommandButton.getOnclick(HtmlCommandButton.java:335)
Stack trace under 1.2_13
SEVERE: Servlet.service() for servlet Blocking Servlet threw exception
javax.el.PropertyNotFoundException: /bar.jspx @48,141
onclick="window.open('#
{msgHelp[test:concat(edit.helpLink)]}
','_help');return
false;": Property 'usermode-1' not found on type java.util.PropertyResourceBundle
at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:73)
at
javax.faces.component.html.HtmlCommandButton.getOnclick(HtmlCommandButton.java:335)
2009-08-03 12:10:52 org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet Persistent Faces Servlet threw exception
java.io.FileNotFoundException: /block.jspx Not Found in ExternalContext as a
Resource
at
com.sun.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:121)
at
com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:91)
at
com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:268)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153)
at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at
com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:19)
at com.icesoft.faces.context.View$2$1.respond(View.java:48)
at
com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:201)
at com.icesoft.faces.context.View$2.serve(View.java:77)
at com.icesoft.faces.context.View.servePage(View.java:149)
at
com.icesoft.faces.webapp.http.core.SingleViewServer.service(SingleViewServer.java:52)
at com.icesoft.faces.webapp.http.common.ServerProxy.service(ServerProxy.java:11)
at
com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$4.service(MainSessionBoundServlet.java:133)
at
com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
at
com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)
at
com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
at
com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:47)
at
com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:135)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
2009-08-03 12:10:52 org.apache.catalina.core.StandardHostValve custom
SEVERE: Exception Processing ErrorPage[exceptionType=java.lang.Throwable,
location=/error.iface]
javax.servlet.ServletException: java.lang.Exception: javax.faces.FacesException:
Problem in renderResponse: /block.jspx Not Found in ExternalContext as a Resource
at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:162)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
Caused by: java.lang.Exception: javax.faces.FacesException: Problem in
renderResponse: /block.jspx Not Found in ExternalContext as a Resource
at com.icesoft.faces.context.View.servePage(View.java:152)
at
com.icesoft.faces.webapp.http.core.SingleViewServer.service(SingleViewServer.java:52)
Caused by: javax.faces.FacesException: Problem in renderResponse: /block.jspx
Not Found in ExternalContext as a Resource
at
com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:296)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153)
at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
Caused by: java.io.FileNotFoundException: /block.jspx Not Found in
ExternalContext as a Resource
at
com.sun.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:121)
at
com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:91)
User case
If i try to read not existing bundle properties then error is catched and
rediected to error page. It works under 1.2_12 but not under 1.2_13 - custom
errorpage is not displayed
Stack trace under 1.2_12
{msgHelp[test:concat(edit.helpLink)]}SEVERE: Servlet.service() for servlet Blocking Servlet threw exception
javax.el.PropertyNotFoundException: /bar.jspx @48,141
onclick="window.open('#
','_help');return
false;": Property 'usermode-1' not found on type java.util.PropertyResourceBundle
at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:73)
at
javax.faces.component.html.HtmlCommandButton.getOnclick(HtmlCommandButton.java:335)
Stack trace under 1.2_13
SEVERE: Servlet.service() for servlet Blocking Servlet threw exception
{msgHelp[test:concat(edit.helpLink)]}javax.el.PropertyNotFoundException: /bar.jspx @48,141
onclick="window.open('#
','_help');return
false;": Property 'usermode-1' not found on type java.util.PropertyResourceBundle
at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:73)
at
javax.faces.component.html.HtmlCommandButton.getOnclick(HtmlCommandButton.java:335)
2009-08-03 12:10:52 org.apache.catalina.core.ApplicationDispatcher invoke
SEVERE: Servlet.service() for servlet Persistent Faces Servlet threw exception
java.io.FileNotFoundException: /block.jspx Not Found in ExternalContext as a
Resource
at
com.sun.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:121)
at
com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:91)
at
com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:268)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153)
at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at
com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:19)
at com.icesoft.faces.context.View$2$1.respond(View.java:48)
at
com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:201)
at com.icesoft.faces.context.View$2.serve(View.java:77)
at com.icesoft.faces.context.View.servePage(View.java:149)
at
com.icesoft.faces.webapp.http.core.SingleViewServer.service(SingleViewServer.java:52)
at com.icesoft.faces.webapp.http.common.ServerProxy.service(ServerProxy.java:11)
at
com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$4.service(MainSessionBoundServlet.java:133)
at
com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
at
com.icesoft.faces.webapp.http.servlet.BasicAdaptingServlet.service(BasicAdaptingServlet.java:16)
at
com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
at
com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:47)
at
com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:135)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
2009-08-03 12:10:52 org.apache.catalina.core.StandardHostValve custom
SEVERE: Exception Processing ErrorPage[exceptionType=java.lang.Throwable,
location=/error.iface]
javax.servlet.ServletException: java.lang.Exception: javax.faces.FacesException:
Problem in renderResponse: /block.jspx Not Found in ExternalContext as a Resource
at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:162)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
Caused by: java.lang.Exception: javax.faces.FacesException: Problem in
renderResponse: /block.jspx Not Found in ExternalContext as a Resource
at com.icesoft.faces.context.View.servePage(View.java:152)
at
com.icesoft.faces.webapp.http.core.SingleViewServer.service(SingleViewServer.java:52)
Caused by: javax.faces.FacesException: Problem in renderResponse: /block.jspx
Not Found in ExternalContext as a Resource
at
com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:296)
at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153)
at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
Caused by: java.io.FileNotFoundException: /block.jspx Not Found in
ExternalContext as a Resource
at
com.sun.facelets.impl.DefaultFaceletFactory.resolveURL(DefaultFaceletFactory.java:121)
at
com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:91)