0 Replies Latest reply on Apr 19, 2006 11:49 AM by Jonathan Ekwempu

    javax.faces.el.EvaluationException: java.lang.NoSuchMethodEr

    Jonathan Ekwempu Newbie

      I am getting java.lang.NoSuchMethodError while using JBoss 4.0.4.CR2 installed for EJB3.0 option, Java 1.5. My session bean was able to lookup the bean and also during deployment the bean was seen by the server but on trying to access a method in the bean, I get the following exception (I had no problems with version 4.0.4RC1): Are there any issues I am not aware about version 4.0.4.CR2?

      javax.faces.FacesException: #{event.validate}: javax.faces.el.EvaluationException: java.lang.NoSuchMethodError: com.tobisoft.common.ejb.session.TslAdminSessionBeanInterface.createImageEntityBean(Lcom/tobisoft/common/ejb/entity/ImageEntityBean;)V
      at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:78)
      at javax.faces.component.UICommand.broadcast(UICommand.java:312)
      at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
      at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
      at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at com.tobisoft.common.web.filters.LogFilter.doFilter(LogFilter.java:56)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
      at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:95)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.faces.el.EvaluationException: java.lang.NoSuchMethodError: com.tobisoft.common.ejb.session.TslAdminSessionBeanInterface.createImageEntityBean(Lcom/tobisoft/common/ejb/entity/ImageEntityBean;)V
      at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)
      at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
      ... 34 more
      Caused by: java.lang.NoSuchMethodError: com.tobisoft.common.ejb.session.TslAdminSessionBeanInterface.createImageEntityBean(Lcom/tobisoft/common/ejb/entity/ImageEntityBean;)V
      at com.tobisoft.web.backing.EventForm.saveEventRecord(EventForm.java:471)
      at com.tobisoft.web.backing.EventForm.validate(EventForm.java:387)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
      ... 35 more