[ http://issues.apache.org/jira/browse/BEANUTILS-250?page=all ]

Niall Pemberton resolved BEANUTILS-250.
---------------------------------------

    Resolution: Fixed

Fixed LazyDynaClass, but maybe DynaProperty should be changed so that the 
constructors that have a type parameter set the type to Object.class if its 
null.

> LazyDynaClass can create a DynaProperty with a "null" type
> ----------------------------------------------------------
>
>                 Key: BEANUTILS-250
>                 URL: http://issues.apache.org/jira/browse/BEANUTILS-250
>             Project: Commons BeanUtils
>          Issue Type: Bug
>    Affects Versions: 1.7.0 Release
>            Reporter: Niall Pemberton
>         Assigned To: Niall Pemberton
>            Priority: Minor
>             Fix For: 1.8.0
>
>
> Calling LazyDynaClass's add(name, type) method with a null type creates a 
> DynaProperty with null type - which causes LazyDynaBean to throw a 
> NullPointerException

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to