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

Ben Gunter closed STS-669.
--------------------------


> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to