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 "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2005/07/21 17:20:51 UTC

[jira] Commented: (AXIS-2133) NullPointerException on Java Bean serialization when Java Bean is null

    [ http://issues.apache.org/jira/browse/AXIS-2133?page=comments#action_12316358 ] 

Davanum Srinivas commented on AXIS-2133:
----------------------------------------

can you please post the whole stack trace? AND are u using Axis 1.2.1? it's probably fixed by now.

-- dims

> NullPointerException on Java Bean serialization when Java Bean is null
> ----------------------------------------------------------------------
>
>          Key: AXIS-2133
>          URL: http://issues.apache.org/jira/browse/AXIS-2133
>      Project: Apache Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2RC3
>  Environment: window
>     Reporter: Jihong Jin

>
> File: BeanPropertyDescriptor
> Package: org.apache.axis.utils
> Line No.: 127
> Code:  return readMethod.invoke(obj, noArgs);
> Description: NPE is thrown when obj is null
> Caller Info:
> File: BeanSerializer
> Package: org.apache.axis.encoding.ser
> LIne No.: 177
> Code: Object propValue =
>                             propertyDescriptor[i].get(value);
> Description: It calls BeanPropertyDescriptor.get(Object obj) and the value is null

-- 
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