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

Justin Mclean updated FLEX-17574:
---------------------------------

    Labels: easyfix easytest  (was: )
    
> SimpleXMLEncoder.encodeValue() should check parentNode=null case
> ----------------------------------------------------------------
>
>                 Key: FLEX-17574
>                 URL: https://issues.apache.org/jira/browse/FLEX-17574
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: RPC: General
>    Affects Versions: Adobe Flex SDK 3.3 (Release)
>         Environment: Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>            Priority: Minor
>              Labels: easyfix, easytest
>
> Steps to reproduce:
> 1. pass a null object to SimpleXMLEncoder.encodeValue() call, for example:
> var result:XMLNode =  encoder.encodeValue(myXMLDoc,new  QName(new 
> Namespace("xmlns", "http://www.namespace1.com";),"ns1"),null);
>               
>  
>  Actual Results:
>  receives run time error:
> TypeError: Error #1009: Cannot access a property or method of a null object 
> reference.
>  
>  Expected Results:
> add a conditional checking for parentNode=null case.   
> should we check qname=null as well? 
>  
>  Workaround (if any):

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to