Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: Release 1.5, Release 1.5.1
-
Fix Version/s: Release 1.5.2
-
Component/s: None
-
Labels:None
Description
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
Fixed for 1.5.2 and 1.6