Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.8.3
-
None
-
Using Beanutils 1.8.3
Description
ConstructorUtils.invokeConstructor(Class klass, Object arg) can not handle null passed as arg. It should check if arg is null and then simply pass null to ConstructorUtils.invokeConstructor(Class klass, Object[] args) which will result in calling the default constructor.
Attachments
Issue Links
- is a clone of
-
BEANUTILS-408 MethodUtils.invokeMethod() throws NullPointerException when args==null
- Resolved