You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2006/10/07 03:23:20 UTC

[jira] Resolved: (BEANUTILS-250) LazyDynaClass can create a DynaProperty with a "null" type

     [ 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org