Nicklas Holmgren created FLEX-35408:
---------------------------------------

             Summary: RichText.as - null object reference
                 Key: FLEX-35408
                 URL: https://issues.apache.org/jira/browse/FLEX-35408
             Project: Apache Flex
          Issue Type: Bug
          Components: Flash Integration
    Affects Versions: Apache Flex 4.16.1
            Reporter: Nicklas Holmgren


TypeError: Error #1009: Cannot access a property or method of a null object 
reference.TypeError: Error #1009: Cannot access a property or method of a null 
object reference. at 
spark.components::RichText/commitProperties()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\RichText.as:1018]

 

For some reason _text can be null, if it is, there should be a return here. 
Else it will crash on:

if (_text.indexOf("\n") != -1 || _text.indexOf("\r") != -1)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to