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 "Jihong Jin (JIRA)" <ax...@ws.apache.org> on 2005/07/15 16:33:13 UTC

[jira] Created: (AXIS-2123) NULLPointException thrown in BeanSerializer.java (org.apache.axis.encoding.ser)

NULLPointException thrown in BeanSerializer.java (org.apache.axis.encoding.ser)
-------------------------------------------------------------------------------

         Key: AXIS-2123
         URL: http://issues.apache.org/jira/browse/AXIS-2123
     Project: Apache Axis
        Type: Bug
  Components: Serialization/Deserialization  
    Versions: 1.2.1    
 Environment: window
    Reporter: Jihong Jin


Package:    org.apache.axis.encoding.ser
File:              BeanSerializer
Line No.:      124
Issue:           Code at line 124
                                          if (value.getClass().isArray())
                       doesn't check "value" for null, so when "value" is null, it throws NPE

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


[jira] Resolved: (AXIS-2123) NULLPointException thrown in BeanSerializer.java (org.apache.axis.encoding.ser)

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-2123?page=all ]
     
Davanum Srinivas resolved AXIS-2123:
------------------------------------

    Resolution: Fixed

applied a fix.

thanks,
dims

> NULLPointException thrown in BeanSerializer.java (org.apache.axis.encoding.ser)
> -------------------------------------------------------------------------------
>
>          Key: AXIS-2123
>          URL: http://issues.apache.org/jira/browse/AXIS-2123
>      Project: Apache Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: 1.2.1
>  Environment: window
>     Reporter: Jihong Jin

>
> Package:    org.apache.axis.encoding.ser
> File:              BeanSerializer
> Line No.:      124
> Issue:           Code at line 124
>                                           if (value.getClass().isArray())
>                        doesn't check "value" for null, so when "value" is null, it throws NPE

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