VerifyError when using seam
ngtdave Dec 18, 2008 12:34 PMJBoss 4.2.3.GA
JBoss Profiler 2.0.Beta3.SP1
Seam 1.0.1 GA
Once I turn on the profiler, and hit the first page of my seam app, I get this stack trace:
javax.servlet.ServletException: Servlet execution threw an exception org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause java.lang.VerifyError: (class: com/mycompany/presentation/action/LoginAction$$EnhancerByCGLIB$$edc38196, method: viewOrder signature: ()Ljava/lang/String;) Inconsistent stack height 2 != 1 java.lang.Class.getDeclaredConstructors0(Native Method) java.lang.Class.privateGetDeclaredConstructors(Class.java:2328) java.lang.Class.getConstructor0(Class.java:2640) java.lang.Class.newInstance0(Class.java:321) java.lang.Class.newInstance(Class.java:303) org.jboss.seam.Component.instantiate(Component.java:766) org.jboss.seam.Component.newInstance(Component.java:731) org.jboss.seam.Component.newInstance(Component.java:1308) org.jboss.seam.Component.getInstance(Component.java:1263) org.jboss.seam.Component.getInstance(Component.java:1246) org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:44) com.sun.faces.el.VariableResolverChainWrapper.getValue(VariableResolverChainWrapper.java:100) javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53) com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64) org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:45) org.apache.el.parser.AstValue.getTarget(AstValue.java:42) org.apache.el.parser.AstValue.invoke(AstValue.java:127) org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77) org.jboss.seam.core.Pages.callAction(Pages.java:161) org.jboss.seam.core.Pages.callAction(Pages.java:143) org.jboss.seam.jsf.AbstractSeamPhaseListener.callPageActions(AbstractSeamPhaseListener.java:128) org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:98) org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:50) com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222) com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
My jboss-profiler.properies:
enable=yes cpu=no memory=yes includes=com.mycompany.* excludes=* visibility=private save=yes startup=yes repository=no remote=yes store=memory location=. host=localhost port=5400 ejb=yes servlet=yes jsf=yes jmx=yes rmi=yes corba=yes plugin.1=org.jboss.profiler.plugins.Hibernate plugin.2=org.jboss.profiler.plugins.Seam
Non-seam apps seem to work fine.
Any help would be great! Thanks!