Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6.1
-
None
-
None
-
None
-
Operating System: All
Platform: PC
-
19850
Description
commons-beanutils-1.6.1
Trying to clone a bean with BeanUtils.cloneBean(Object) causes a
NullPointerException. I think the bean in this case should be instanciated
from the DynaClass such as:
Object newBean = null;
if (bean instanceof DynaBean)
else
{ newBean = bean.getClass().newInstance(); }Regards