1 Reply Latest reply on Nov 24, 2006 2:37 PM by Gavin King

    Strange NoSuchMethodError

    Richard Richter Newbie

      I wanted to continue with simple CRUD application on another machine, with the same setup JBoss 4.0.5 + JBoss Seam 1.1 CR1. There are only two screens, Search & Detail. Search starts with empty list (no DB access) and when I hit Search button, following exception occurs:

      javax.servlet.ServletException: org.jboss.seam.core.Pages.getConvertedParameters(Ljavax/faces/context/FacesContext;Ljava/lang/String;Ljava/util/Set;)Ljava/util/Map;
       org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:60)
       org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      root cause
      
      javax.servlet.ServletException: org.jboss.seam.core.Pages.getConvertedParameters(Ljavax/faces/context/FacesContext;Ljava/lang/String;Ljava/util/Set;)Ljava/util/Map;
       javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
       org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
       org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      root cause
      
      java.lang.NoSuchMethodError: org.jboss.seam.core.Pages.getConvertedParameters(Ljavax/faces/context/FacesContext;Ljava/lang/String;Ljava/util/Set;)Ljava/util/Map;
       org.jboss.seam.ui.HtmlLink.encodeBegin(HtmlLink.java:126)
       org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:433)
       org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419)
       org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:440)
       org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.renderColumnBody(HtmlTableRendererBase.java:332)
       org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeColumnChild(HtmlTableRendererBase.java:301)
       org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeInnerHtml(HtmlTableRendererBase.java:277)
       org.apache.myfaces.shared_impl.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:123)
       javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
       com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:234)
       com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
       com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580)
       org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
       javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
       org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45)
       org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      


      Strange thing is that the method is there. I had to set up the project from scratch, so there could be some change against EAR built on previous host (although I can't see it while examining EAR) - however this exception confused me. ;-)