Hello, I got an method like this:
public static void addInfoMessage(String pMsgId, Object... pParams) { | FacesContext.getCurrentInstance().addMessage(null, getMessage(pMsgId, FacesMessage.SEVERITY_INFO, pParams)); | } when I call the method without addidional parameters from the main method it's executed normally: public static void main(String[] args) { | addInfoMessage("foo.bar"); | } but when I call this method from a Seam component I get the following exception: Caused by: java.lang.NoSuchMethodError: de.foo.utils.Utils.addWarnMessage(Ljava/lang/String;)V | at de.foo.webfront.RegisterCustomerBean.create(RegisterCustomerBean.java:119) | at de.foo.webfront.RegisterCustomerBean$$EnhancerByCGLIB$$1ebf5fb7.CGLIB$create$0(<generated>) | at de.foo.webfront.RegisterCustomerBean$$EnhancerByCGLIB$$1ebf5fb7$$FastClassByCGLIB$$277e69fe.invoke(<generated>) | at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167) | at org.jboss.seam.interceptors.JavaBeanInterceptor$1.proceed(JavaBeanInterceptor.java:80) | at org.jboss.seam.interceptors.SeamInvocationContext.proceed(SeamInvocationContext.java:56) | at org.jboss.seam.interceptors.ValidationInterceptor.validateTargetComponent(ValidationInterceptor.java:65) | ... 103 more Is it a bug or did I miss something? - Andreas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937491#3937491 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937491 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user