Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.8.0
-
None
Description
When using copyProperties from a bean with a Boolean field to a bean with a corresponding boolean field (i.e. a primitive), an IllegalArgumentException is thrown when calling method.invoke. invokeMethod tries to format a user friendly exception string, but fails to check if the value parameter is null before getting it's classname.
Attachments
Attachments
Issue Links
- is duplicated by
-
BEANUTILS-367 java.lang.NullPointerException at org.apache.commons.beanutils.PropertyUtilsBean.invokeMethod(PropertyUtilsBean.java:2168)
- Resolved