>Debugged things a little bit: > > at >javax.faces.component.UIComponentBase.getRenderer(UIComponentBase.java:738) > at >javax.faces.component.UIComponentBase.getRendersChildren(UIComponentBase.java:30 >7) > at >org.apache.shale.clay.faces.ClayViewHandler.recursiveRender(ClayViewHandler.java >:462) > at >org.apache.shale.clay.faces.ClayViewHandler.renderView(ClayViewHandler.java:398) > > >At the viewhandler in line 462 all is fine, a context is there. >But when the children are going to be rendered, the call to >FacesContext.getCurrentInstance() returns null. > >Might this be a bug in the jsf implemantation or does shale destroy >things which it shouldn't? >Any help would be nice - i don't know why the context gets lost, >something i should look for in clay or shale which would be nice debug >points?
It sounds as if your target error page has an .html suffix and you have the shale-clay.jar in your web project. If the error page has not been dispatched thru the faces servlet, the FacesContext will not be setup. If you are not using Clay in the project, I'd try removing the clay jar. Otherwise, try renaming your error page to error.htm or something that has another suffix. >Torsten > Gary
