axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jihong Jin (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (AXIS-2133) NullPointerException on Java Bean serialization when Java Bean is null
Date Thu, 21 Jul 2005 15:31:47 GMT
    [ http://issues.apache.org/jira/browse/AXIS-2133?page=comments#action_12316362 ] 

Jihong Jin commented on AXIS-2133:
----------------------------------

As mentioned in the bug report, it is for AXIS 1.2RC3.

The NPE is originated in BeanPropertyDescriptor line 127 as I listed before, when BeanSerializer
catches the NPE, it throws IOException on line 260: throw new IOException(e.toString());

Jihong

> 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


Mime
View raw message