1 Reply Latest reply on Dec 12, 2012 7:19 AM by Dinesh Lomte

    Row key converter is not available exception on click of parent node

    Dinesh Lomte Newbie

      Hi,

      I am trying to incorporate the Tree Adaptor example as part of my requirement, using the code base shared as part of examples provided in 4.2.3 release in NetBeans 7.2 IDE. But I am getting the below exception on click of the parent node. I even tried to incorporate a similar example shared at https://community.jboss.org/message/745368#745368 but ended up with having the same exception. Please provide me with your valuable inputs OR examples OR code for reference.

       

      Exception:

       

      javax.faces.convert.ConverterException: Row key converter is not available for model j_idt8

                at org.richfaces.component.AbstractTree.convertDeclarativeKeyToString(AbstractTree.java:576)

                at org.richfaces.convert.DeclarativeModelSequenceKeyConverter.getAsString(DeclarativeModelSequenceKeyConverter.java:90)

                at org.richfaces.component.UIDataAdaptor.getRowKeyAsString(UIDataAdaptor.java:649)

                at org.richfaces.component.UIDataAdaptor.getContainerClientId(UIDataAdaptor.java:671)

                at javax.faces.component.UIComponentBase.getClientId(UIComponentBase.java:293)

                at org.richfaces.component.UIDataAdaptor.restoreChildState(UIDataAdaptor.java:391)

                at org.richfaces.component.UIDataAdaptor.restoreChildState(UIDataAdaptor.java:372)

                at org.richfaces.component.AbstractTree.restoreChildState(AbstractTree.java:544)

                at org.richfaces.component.UIDataAdaptor.setRowKey(UIDataAdaptor.java:280)

                at org.richfaces.component.AbstractTree.restoreFromSnapshot(AbstractTree.java:538)

                at org.richfaces.component.AbstractTree.walkModelChildren(AbstractTree.java:508)

                at org.richfaces.component.AbstractTree.walkModel(AbstractTree.java:490)

                at org.richfaces.component.AbstractTree.walk(AbstractTree.java:436)

                at org.richfaces.component.UIDataAdaptor.visitDataChildren(UIDataAdaptor.java:1269)

                at org.richfaces.component.UIDataAdaptor.visitTree(UIDataAdaptor.java:1347)

                at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623)

                at javax.faces.component.UIForm.visitTree(UIForm.java:371)

                at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623)

                at javax.faces.component.UIComponent.visitTree(UIComponent.java:1623)

                at org.richfaces.context.ExtendedPartialViewContextImpl.visitActivatorComponent(ExtendedPartialViewContextImpl.java:440)

                at org.richfaces.context.ExtendedPartialViewContextImpl.visitActivatorAtRender(ExtendedPartialViewContextImpl.java:326)

                at org.richfaces.context.ExtendedPartialViewContextImpl.processPartialRenderPhase(ExtendedPartialViewContextImpl.java:245)

                at org.richfaces.context.ExtendedPartialViewContextImpl.processPartial(ExtendedPartialViewContextImpl.java:194)

                at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:981)

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

                at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:409)

                at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125)

                at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288)

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

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

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

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

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)

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

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

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

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

                at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)

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

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

                at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:964)

                at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)

                at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:304)

                at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

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