2 Replies Latest reply on Jan 25, 2011 9:40 AM by Rudro Mukherjee

    Rich Tree :facing issues

    Rudro Mukherjee Newbie

      <rich:tree id="treel" ajaxSubmitSelection="true" switchType="ajax"

            value="#{arbeitsbereichController.rootNode}" var="node"

            rendered="true">

            <rich:treeNode

              nodeSelectListener="#{indexAction.processTreeNodeImplSelection}" reRender="open">

              <table width="95%" cellpadding="0" cellspacing="0">

              <tr>

               

                <td width="2px"><h:outputText value="#{node.getChild}"

                styleClass="fontSize" rendered="true">         

                </h:outputText></td>         

              </tr>

              </table>

            </rich:treeNode>

            </rich:tree>

       

      I am getting this error:

       

      Error Rendering View[/com/agcs/pv/schaden/web/arbeitsbereich.xhtml]

      javax.faces.FacesException: javax.el.ELException: /com/agcs/pv/schaden/web/arbeitsbereich.xhtml @204,24 value="#{arbeitsbereichController.rootNode}": Error reading 'rootNode' on type org.javassist.tmp.java.lang.Object_$$_javassist_seam_8

      at javax.faces.component.UIData.getValue(UIData.java:612)

      at org.ajax4jsf.component.UIDataAdaptor.getValue(UIDataAdaptor.java:1624)

      at org.richfaces.component.UITree.createDataModel(UITree.java:679)

      at org.ajax4jsf.component.UIDataAdaptor.getExtendedDataModel(UIDataAdaptor.java:621)

      at org.ajax4jsf.component.UIDataAdaptor.setRowKey(UIDataAdaptor.java:339)

      at org.richfaces.renderkit.TreeRendererBase.writeContent(TreeRendererBase.java:677)

      at org.richfaces.renderkit.TreeRendererBase.encodeChildren(TreeRendererBase.java:618)

      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)

      at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)

      at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)

      at org.ajax4jsf.renderkit.html.AjaxOutputPanelRenderer.encodeChildren(AjaxOutputPanelRenderer.java:78)

      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)

      at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)

      at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)

      at org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:220)

      at org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:215)

      at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:120)

      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)

      at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)

      at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)

      at org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:220)

      at org.richfaces.renderkit.html.PanelRenderer.doEncodeChildren(PanelRenderer.java:215)

      at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:120)

      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)

      at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:277)

      at org.ajax4jsf.renderkit.RendererBase.renderChildren(RendererBase.java:258)

      at org.ajax4jsf.renderkit.html.AjaxOutputPanelRenderer.encodeChildren(AjaxOutputPanelRenderer.java:78)

      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)

      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:930)

      at javax.faces.render.Renderer.encodeChildren(Renderer.java:148)

      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)

      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:930)

      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)

      at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)

      at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)

      at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)

      at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)

      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)

      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)

      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.IdentityFilter.doFilter(IdentityFilter.java:40)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

      at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

      at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

      at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

      at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)

      at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)

      at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)

      at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)

      at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

      at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

      at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53)

      at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

      at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)

      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:235)

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)

      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)

      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

      at java.lang.Thread.run(Thread.java:619)

       

       

      Though I have rootNode in place in the controller.

       

      Can Someone explain ,why I am getting this error?