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

Justin Mclean updated FLEX-25617:
---------------------------------

    Labels: easyfix easytest  (was: )
    
> ValidationResultEvent message property throws exception (EmailValidator)
> ------------------------------------------------------------------------
>
>                 Key: FLEX-25617
>                 URL: https://issues.apache.org/jira/browse/FLEX-25617
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Validators
>    Affects Versions: Adobe Flex SDK 4.1 (Release)
>         Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>              Labels: easyfix, easytest
>
> Steps to reproduce:
>    Use this code:
>       var validator:EmailValidator = new EmailValidator();
>       var message:String = validator.validate("t...@test.com", true).message;
>  
> Actual Results:
>    TypeError: Error #1009: Kan geen eigenschap of methode benaderen 
>       via een verwijzing naar een object dat null is.
>       at mx.events::ValidationResultEvent/get message()
>       [E:\dev\4.x\frameworks\projects\framework\
>          src\mx\events\ValidationResultEvent.as:180]
>  
> Expected Results:
>    Message should return an empty String.
>  
> Workaround (if any):
>    Surround code with check for results different from null.
>    if (validator.validate("t...@test.com", true).results != null) ...

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