Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IllegalArgumentException on when the setter parameter is of type Object #181

Closed
nfalco79 opened this issue Mar 11, 2020 · 1 comment · Fixed by #182
Closed

IllegalArgumentException on when the setter parameter is of type Object #181

nfalco79 opened this issue Mar 11, 2020 · 1 comment · Fixed by #182

Comments

@nfalco79
Copy link
Member

The full description of the issue is here

In short: RequestImpl instantiate a ChoiceParameterDefinition class and than using reflection lookup a setter @DataBoundSetter annotated for "choice" property. It takes the parameter type from method (in this unlikely case Object) and than use apache beanutils to convert the actual value "v1\n2\n3" (String) to Object. Since there are no converter registered for Object it fails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants