[ 
http://www.stripesframework.org/jira/browse/STS-669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Gunter updated STS-669:
---------------------------

    Fix Version/s: Release 1.5.2

> Spring injection problem when having private fields with the same name in 
> parent and child classes
> --------------------------------------------------------------------------------------------------
>
>                 Key: STS-669
>                 URL: http://www.stripesframework.org/jira/browse/STS-669
>             Project: Stripes
>          Issue Type: Bug
>    Affects Versions: Release 1.5, Release 1.5.1
>            Reporter: tran duc trung
>             Fix For: Release 1.5.2
>
>
> class ParentAction implements ActionBean {
>     @SpringBean
>     private Bean1 bean;
>     public void methodOne() {
>         // use bean
>     }
>     ....
> }
> class ChildAction extends ParentAction {
>     @SpringBean
>     private Bean2 bean;
>     ....
> }
> NPE is raised on methodOne().
> The problem is in method ReflectUtil.getFields(Class<?> clazz), a map based 
> on field name is used

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to