struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandre Poitras" <alexandre.poit...@gmail.com>
Subject Re: [shale] RuntimeException rather than a 404
Date Wed, 19 Apr 2006 22:00:10 GMT
Well if it isn't the root view and just an included subview, I would
expect this behavior but Gary would be the best person to answer this
question.

On 4/19/06, Richard Wallace <rwallace@thewallacepack.net> wrote:
> When trying to access a file that doesn't exist, Clay is throwing a
> RuntimeException that is causing my 500 error page to be displayed
> rather than a 404 error page.  Here's the offending exception:
>
> java.lang.RuntimeException: Unable to find file /for_parents.html.
>         at
> org.apache.shale.clay.config.beans.ComponentConfigBean.getConfigDefinitions(ComponentConfigBean.java:230)
>         at
> org.apache.shale.clay.config.beans.TemplateConfigBean.getElement(TemplateConfigBean.java:72)
>         at
> org.apache.shale.clay.component.Clay.getRootElement(Clay.java:244)
>         at org.apache.shale.clay.component.Clay.encodeBegin(Clay.java:283)
>         at
> org.apache.shale.clay.faces.ClayViewHandler.recursiveRender(ClayViewHandler.java:402)
>         at
> org.apache.shale.clay.faces.ClayViewHandler.renderView(ClayViewHandler.java:345)
>         at
> org.apache.shale.view.faces.ViewViewHandler.renderView(ViewViewHandler.java:146)
>         at
> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
>         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>         ...
>
>
> I'm using a nightly from 20060313 so forgive me if this is fixed in the
> latest code.  If not, can I file a bug?
>
> Thanks,
> Rich
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


--
Alexandre Poitras
Qu├ębec, Canada

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message