commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Popov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (BEANUTILS-311) DynaBean variables are evaluated before member variables.
Date Wed, 19 Mar 2008 17:28:24 GMT

    [ https://issues.apache.org/jira/browse/BEANUTILS-311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580463#action_12580463
] 

Ivan Popov commented on BEANUTILS-311:
--------------------------------------

Thanks Niall for the advice. Overriding the get method is a good solution in my case.

Now, I understand why it is not recommended to use member variables and dynabean together.

Regards.

> DynaBean variables are evaluated before member variables.
> ---------------------------------------------------------
>
>                 Key: BEANUTILS-311
>                 URL: https://issues.apache.org/jira/browse/BEANUTILS-311
>             Project: Commons BeanUtils
>          Issue Type: Bug
>          Components: Bean / Property Utils
>    Affects Versions: 1.8.0-BETA
>            Reporter: Ivan Popov
>
> Hi,
> I have a class that is a DynaBean (extends LazyDynaBean) and that has some member variables,
in addition to those of the DynaBean.
> It seems as if dynaBean variables are evaluated first, and as the property to evaluate
is a member variable and not a dynaBean one,
> it returns a NestedNullException.
> Regards.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message