You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "John Rohrlich (JIRA)" <de...@beehive.apache.org> on 2005/11/11 01:32:03 UTC

[jira] Commented: (BEEHIVE-1002) PageFlowPageFilter throwing Exception while handling exception javax.faces.el.PropertyNotFoundException

    [ http://issues.apache.org/jira/browse/BEEHIVE-1002?page=comments#action_12357311 ] 

John Rohrlich commented on BEEHIVE-1002:
----------------------------------------

I've found that in other cases where JSF throws PropertyNotFoundException we do show Error 500 and the stack trace. So it appears the problem is how the PageFlowPageFilter handles the JSF exception in specific cases. I'll attach the files for a repro.

> PageFlowPageFilter throwing Exception while handling exception javax.faces.el.PropertyNotFoundException
> -------------------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-1002
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-1002
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1
>     Reporter: John Rohrlich
>     Priority: Minor

>
> The PageFlowPageFilter throws an Exception while handling exception javax.faces.el.PropertyNotFoundException and all the user sees is a blank page. If you just hit the page directly you at get a page with an Error 500 and a stack trace. You can also catch the JSF error yourself in the page flow. Would be nice if when running the page flow we did at least as much as hitting the page directly.
> ERROR PageFlowPageFilter []: Exception while handling e
> xception javax.faces.el.PropertyNotFoundException.  The original exception will
> be thrown.
> Throwable: javax.faces.el.PropertyNotFoundException: Error getting property 'id'
>  from bean of type java.lang.String
> Stack Trace:
> javax.faces.el.PropertyNotFoundException: Error getting property 'id' from bean
> of type java.lang.String
>         at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.j
> ava:107)
>         at com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167)
>         at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:151)
>         at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEval
> uatorImpl.java:243)
>         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
>         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
>         at javax.faces.component.UIOutput.getValue(UIOutput.java:147)
>         at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(Ht
> mlBasicInputRenderer.java:82)
>         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(
> HtmlBasicRenderer.java:191)
>         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBa
> sicRenderer.java:169)
>         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:
> 712)
>         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(
> HtmlBasicRenderer.java:443)
>         at com.sun.faces.renderkit.html_basic.TableRenderer.encodeChildren(Table
> Renderer.java:257)
>         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.
> java:693)
>         at javax.faces.webapp.UIComponentTag.encodeChildren(UIComponentTag.java:
> 600)
>         at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:537)
>         at com.sun.faces.taglib.html_basic.DataTableTag.doEndTag(DataTableTag.ja
> va:491)
>         at jsp_servlet.__newpage1._jspService(__newpage1.java:610)
>         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
>         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
> (StubSecurityHelper.java:225)
>         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
> tyHelper.java:127)
>         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
> a:272)
>         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(Servlet
> StubImpl.java:383)
>         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
> a:298)
>         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
>         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
> va:42)
>         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlow
> PageFilter.java:300)
>         at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlo
> wPageFilter.java:215)
>         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
> va:42)
>         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(Request
> DispatcherImpl.java:494)
>         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
> cherImpl.java:245)
>         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImp
> l.java:322)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira