[jboss-jira] [JBoss JIRA] (WFLY-5882) BeanELResolver does not support methods that use varargs

Ingo Weiss (JIRA) issues at jboss.org
Fri Dec 18 10:48:01 EST 2015


Ingo Weiss created WFLY-5882:
--------------------------------

             Summary: BeanELResolver does not support methods that use varargs
                 Key: WFLY-5882
                 URL: https://issues.jboss.org/browse/WFLY-5882
             Project: WildFly
          Issue Type: Bug
          Components: JSF
         Environment: jboss-el-api_2.2_spec-1.0.4.Final-redhat-1
            Reporter: Ingo Weiss
            Assignee: Farah Juma
         Attachments: beanELResolver4VarArgs.zip

When passing BeanELResolver a method that uses varargs, BeanELResolver throws the following exception:
{code}
java.lang.IllegalArgumentException: wrong number of arguments
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at javax.el.BeanELResolver.invokeMethod(BeanELResolver.java:756)
	at javax.el.BeanELResolver.invoke(BeanELResolver.java:469)
	at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:246)
...
{code}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list