[ 
https://issues.apache.org/jira/browse/BEANUTILS-426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benedikt Ritter reopened BEANUTILS-426:
---------------------------------------


Has also to be fixed for invokeExactConstructor(Class, Object).
                
> 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

Reply via email to