[
https://issues.apache.org/jira/browse/BEANUTILS-426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benedikt Ritter resolved BEANUTILS-426.
---------------------------------------
Resolution: Fixed
Fixed in r1449456.
> ConstructorUtils.invokeConstructor(Class klass, Object arg) throws
> NullPointerException when arg==null
> ------------------------------------------------------------------------------------------------------
>
> Key: BEANUTILS-426
> URL: https://issues.apache.org/jira/browse/BEANUTILS-426
> Project: Commons BeanUtils
> Issue Type: Bug
> Components: Bean / Property Utils
> Affects Versions: 1.8.3
> Environment: Using Beanutils 1.8.3
> Reporter: Benedikt Ritter
> Assignee: Benedikt Ritter
> Fix For: 1.8.4
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira