DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7923>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7923

BeanSerializer ptr exception when only 'setter' present

           Summary: BeanSerializer ptr exception when only 'setter' present
           Product: Axis
           Version: pre-release
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Basic Architecture
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Similar to bug: 7869
The BeanSerializer.serializer method assumes that a property of a bean has 
a 'getter' by calling Method readMethod = propertyDescriptor[i].getReadMethod.
Then it uses this reference as readMethod.getReturnType.  But 'readMethod' is 
null.  Therefore, a null ptr exception is thrown.

This is actually 'post' beta.  

Reproduction is to use a bean for a return type of a called WS method that has 
only a 'setter' with 'no' getter present.

Reply via email to