flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicklas Holmgren (Jira)" <j...@apache.org>
Subject [jira] [Created] (FLEX-35408) RichText.as - null object reference
Date Wed, 13 Nov 2019 11:09:00 GMT
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)

Mime
View raw message