3 Replies Latest reply on Jan 2, 2011 8:16 AM by Paul Ł.

    java.lang.NoSuchMethodError: org.richfaces.renderkit.RenderKitUtils.addToScriptHash

    Paul Ł. Newbie

      I've got a problem with some RichFaces components.

      Recently I have downloaded RF 4.0 M4 and e.g. popupMenu doesnt work anymore (on M3 and earlier it was working).

      I also tried adding rich:tree but it also throws analogical exception.

      I even downloaded snapshots of RF yesterday but the problem still remains. Google does not tell me anything about it :|

       

      Any idea what could be wrong?

       

      Java Version: 6 update 21 (build 1.6.0_21-b07)

      JBoss 6.0.0.Final "Neo"

      Eclipse Java EE IDE for Web Developers

      Version: Helios Service Release 1
      Build id: 20100917-0705

      Platform version: 3.6.1.r361_v20100909

       

      Here is the log:

       

      15:51:27,174 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/DWP_TS].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception: java.lang.NoSuchMethodError: org.richfaces.renderkit.RenderKitUtils.addToScriptHash(Ljava/util/Map;Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
          at org.richfaces.renderkit.html.PopupPanelBaseRenderer.buildScript(PopupPanelBaseRenderer.java:180) [:4.0.0-SNAPSHOT]
          at org.richfaces.renderkit.html.PopupPanelRenderer.encodeEnd(PopupPanelRenderer.java:568) [:4.0.0-SNAPSHOT]
          at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:879) [:2.0.3-]
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1650) [:2.0.3-]
          at org.richfaces.renderkit.RendererBase.renderChildren(RendererBase.java:278) [:4.0.0-SNAPSHOT]
          at org.richfaces.renderkit.AbstractTableBaseRenderer.encodeColumn(AbstractTableBaseRenderer.java:78) [:4.0.0-SNAPSHOT]
          at org.richfaces.renderkit.DataTableRenderer.encodeRow(DataTableRenderer.java:201) [:4.0.0-SNAPSHOT]
          at org.richfaces.renderkit.AbstractRowsRenderer.process(AbstractRowsRenderer.java:62) [:4.0.0-SNAPSHOT]
          at org.ajax4jsf.model.SequenceDataModel.walk(SequenceDataModel.java:109) [:4.0.0-SNAPSHOT]
          at org.richfaces.component.UIDataAdaptor.walk(UIDataAdaptor.java:912) [:4.0.0-SNAPSHOT]
          at org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:72) [:4.0.0-SNAPSHOT]
          at org.richfaces.renderkit.AbstractTableRenderer.encodeRows(AbstractTableRenderer.java:102) [:4.0.0-SNAPSHOT]
          at org.richfaces.renderkit.AbstractRowsRenderer.processRows(AbstractRowsRenderer.java:80) [:4.0.0-SNAPSHOT]
          at org.richfaces.renderkit.AbstractTableRenderer.encodeTableRows(AbstractTableRenderer.java:159) [:4.0.0-SNAPSHOT]
          at org.richfaces.renderkit.AbstractTableRenderer.doEncodeChildren(AbstractTableRenderer.java:209) [:4.0.0-SNAPSHOT]
          at org.richfaces.renderkit.RendererBase.encodeChildren(RendererBase.java:157) [:4.0.0-SNAPSHOT]
          at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:849) [:2.0.3-]
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1643) [:2.0.3-]
          at javax.faces.render.Renderer.encodeChildren(Renderer.java:164) [:2.0.3-]
          at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:849) [:2.0.3-]
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1643) [:2.0.3-]
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646) [:2.0.3-]
          at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1646) [:2.0.3-]
          at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:389) [:2.0.3-]
          at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127) [:2.0.3-]
          at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:269) [:2.0.3-]
          at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117) [:2.0.3-]
          at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97) [:2.0.3-]
          at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135) [:2.0.3-]
          at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309) [:2.0.3-]
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324) [:6.0.0.Final]
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) [:6.0.0.Final]
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [:6.0.0.Final]
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [:6.0.0.Final]
          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) [:6.0.0.Final]
          at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) [:1.1.0.Final]
          at org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) [:1.1.0.Final]
          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) [:6.0.0.Final]
          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) [:6.0.0.Final]
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [:6.0.0.Final]
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [:6.0.0.Final]
          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.Final]
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.Final]
          at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.Final]
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.Final]
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final]
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final]
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final]
          at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]