[
https://issues.apache.org/jira/browse/SHINDIG-793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Lindner resolved SHINDIG-793.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.0.x-incubating
trunk
patch applied
> 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
> Fix For: trunk, 1.0.x-incubating
>
> 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.