[
https://issues.apache.org/jira/browse/SHINDIG-793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yoichiro Tanaka updated SHINDIG-793:
------------------------------------
Attachment: BeanJsonConverter.patch
> Invalid getter method is called when getter method to have one or more args
> is exists
> -------------------------------------------------------------------------------------
>
> Key: SHINDIG-793
> URL: https://issues.apache.org/jira/browse/SHINDIG-793
> Project: Shindig
> Issue Type: Bug
> Components: RESTful API (Java)
> Affects Versions: trunk
> Environment: when use the Shindig Java implementation
> Reporter: Yoichiro Tanaka
> Attachments: BeanJsonConverter.patch
>
>
> BeanJsonConverter searchs getter methods in model class (ex. PersonImpl).
> Then, if the model class has a public getter method to have one or more args,
> calling this getter method with reflection will fail, because the method is
> called without an argument.
> Object val = getter.method.invoke(pojo, EMPTY_OBJECT);
> I think that BeanJsonConverter should find the getter method without an
> argument.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.