[jboss-jira] [JBoss JIRA] (WFLY-5882) BeanELResolver does not support methods that use varargs
Farah Juma (JIRA)
issues at jboss.org
Fri Dec 18 11:46:00 EST 2015
[ https://issues.jboss.org/browse/WFLY-5882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Farah Juma reassigned WFLY-5882:
--------------------------------
Assignee: Jason Greene (was: Farah Juma)
> BeanELResolver does not support methods that use varargs
> --------------------------------------------------------
>
> Key: WFLY-5882
> URL: https://issues.jboss.org/browse/WFLY-5882
> Project: WildFly
> Issue Type: Bug
> Environment: jboss-el-api_2.2_spec-1.0.4.Final-redhat-1
> Reporter: Ingo Weiss
> Assignee: Jason Greene
> Labels: el
> 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:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at javax.el.BeanELResolver.invokeMethod(BeanELResolver.java:834)
> at javax.el.BeanELResolver.invoke(BeanELResolver.java:527)
> at org.apache.el.parser.AstValue.getValue(AstValue.java:156)
> at BeanELResolverTest.readExpressionValue(BeanELResolverTest.java:32)
> at BeanELResolverTest.testMethodWithFixArgumentList(BeanELResolverTest.java:21)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list