-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Felipe,
On 8/9/12 9:06 AM, Felipe Jaekel wrote: > When I try to call a method with two parameters in a XHTML page on > Tomcat 7.0.29 it doesn't works. I'll attach the stacktrace below. > > It's strange because the same code runs fine on Glassfish 3.1. > > Is this a bug in Tomcat EL? > > [...] > > Caused by: javax.faces.el.MethodNotFoundException: > java.lang.NullPointerException at > javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:104) > > at > com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) > > ... 42 more > Caused by: java.lang.NullPointerException at > java.lang.Class.isAssignableFrom(Native Method) at > org.apache.el.util.ReflectionUtil.isAssignableFrom(ReflectionUtil.java:319) > > at org.apache.el.util.ReflectionUtil.getMethod(ReflectionUtil.java:185) > at org.apache.el.parser.AstValue.invoke(AstValue.java:257) at > org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:278) > > at > org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:39) > > at > org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50) > > at > com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105) > > at > javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88) > > ... 43 more Wow, that was an epic stack trace. Can you produce a very small test case as a WAR file -- including source -- and attach it to a bug report in Bugzilla (http://issues.apache.org/bugzilla)? Assign it to the "Tomcat 7" product. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAlINQACgkQ9CaO5/Lv0PAY6gCgj+4Y/H4++2k5zmnm8rga+e1/ aQEAn385KyVrk4V85gZ7jG9sH7RTlPVK =wyaH -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org