You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2007/02/08 10:28:05 UTC

[jira] Resolved: (AXIS2-1724) axis2.databinding.utils.BeanUtil bug

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

Deepal Jayasinghe resolved AXIS2-1724.
--------------------------------------

    Resolution: Fixed

made the changes

> axis2.databinding.utils.BeanUtil bug
> ------------------------------------
>
>                 Key: AXIS2-1724
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1724
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Jabber W
>         Assigned To: Deepal Jayasinghe
>            Priority: Minor
>
> There is a error-prone point in the org.apache.axis2.databinding.utils.BeanUtil:
> 275:  PropertyDescriptor prty = ...;
>   ......
> 294:  prty.getWriteMethod().invoke(beanObj, parms);
>       ^^^^^^^^^^^^^^^^^^^^
> Since java bean convention allows existence of just one of the pair (considering this property as read- or write- only correspondingly), the prty.getWriteMethod() might return null. In such case NLP is thrown. Axis121, which I use during several last years, just omits such fields. Well, m.b. it was decided to prohibit such situation - but in such case, I believe, something more clear and clean that NLP should be thrown 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org