[
http://www.stripesframework.org/jira/browse/STS-669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Gunter resolved STS-669.
----------------------------
Resolution: Fixed
Fixed for 1.5.2 and 1.6
> 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
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development