I get this exception when I call http://localhost:8080/rf/home.seam

SEVERE: Error Rendering View[/home.xhtml]
  | java.lang.IllegalArgumentException: Component j_id11:amm not instance of 
org.richfaces.component.UIDataTable
  |     at 
org.ajax4jsf.framework.renderer.RendererBase.encodeBegin(RendererBase.java:94)
  |     at 
javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788)
  |     at javax.faces.component.UIData.encodeBegin(UIData.java:879)
  |     at 
org.ajax4jsf.ajax.repeat.UIDataAdaptor.encodeBegin(UIDataAdaptor.java:989)
  |     at 
org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:280)
  |     at 
org.ajax4jsf.framework.renderer.RendererBase.renderChildren(RendererBase.java:262)
  |     at 
org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:189)
  |     at 
org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:184)
  |     at 
org.ajax4jsf.framework.renderer.RendererBase.encodeChildren(RendererBase.java:121)
  |     at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
  |     at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
  |     at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
  |     at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:812)
  |     at javax.faces.component.UIComponent.encodeAll(UIComponent.java:886)
  |     at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892)
  |     at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:577)
  |     at 
org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
  |     at 
org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
  |     at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
  |     at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  |     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  |     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  |     at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  |     at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:87)
  |     at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |     at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
  |     at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |     at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:46)
  |     at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |     at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
  |     at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
  |     at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:40)
  |     at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |     at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:63)
  |     at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  |     at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:140)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  |     at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  |     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  |     at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  |     at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  |     at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  |     at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
  |     at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  |     at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  |     at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  |     at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  |     at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  |     at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
  |     at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  |     at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
  |     at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  |     at java.lang.Thread.run(Unknown Source)

home.xhtml:

  | (...)
  |         <rich:dataTable id="amm" value="#{stringi}" var="s">
  |             <rich:column>
  |             <f:facet name="header">
  |                     <h:outputText id="ot2" value="Header"/>
  |             </f:facet>
  |             <h:outputText id="ot1" value="#{s}">
  |             
  |             </h:outputText>
  |             
  |             </rich:column>
  |               <a4j:support event="onclick" reRender="panel" 
oncomplete="javascript:Richfaces.showModalPanel('panel');"></a4j:support>  
  |         </rich:dataTable>
  | 

I know that it is problem with class loaders, but I can't resolve that issue.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066964#4066964

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066964
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to