Tuesday, November 12, 2013

Error rendering view by parent ViewHandler, try to render as portletbridge JSP page java.lang.StackOverflowError

20:49:25,194 WARN  [PortletViewHandler:257] Error rendering view by parent ViewHandler, try to render as portletbridge JSP page
java.lang.StackOverflowError
        at org.ajax4jsf.component.UIDataAdaptorBase.getBaseClientId(UIDataAdaptorBase.java:743)
        at org.ajax4jsf.component.UIDataAdaptorBase.getClientId(UIDataAdaptorBase.java:698)
        at javax.faces.component.UIComponent.getContainerClientId(UIComponent.java:363)
        at org.ajax4jsf.component.UIDataAdaptorBase.getBaseClientId(UIDataAdaptorBase.java:750)
        at org.ajax4jsf.component.UIDataAdaptorBase.getClientId(UIDataAdaptorBase.java:698)
        at javax.faces.component.UIComponent.getContainerClientId(UIComponent.java:363)
        at org.ajax4jsf.component.UIDataAdaptorBase.getBaseClientId(UIDataAdaptorBase.java:750)
        at org.ajax4jsf.component.UIDataAdaptorBase.getClientId(UIDataAdaptorBase.java:698)
        at javax.faces.component.UIComponent.getContainerClientId(UIComponent.java:363)
        at org.ajax4jsf.component.UIDataAdaptorBase.getBaseClientId(UIDataAdaptorBase.java:750)
20:49:25,649 WARN  [BaseFilter:314] MyFaces Extensions Filter should be configured to execute *AFTER* RichFaces filter. Refer to S
RV.6.2.4 section of Servlets specification on how to achieve that.

I found that I got the above console error is because of having a binding variable used for a commandlink component in error instead of using it to the datatable component.
By removing it from the commandlilnk component solves the problem.

Hope this helps for some users.

No comments: