Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-35408

RichText.as - null object reference

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: Apache Flex 4.16.1
    • Fix Version/s: None
    • Component/s: Flash Integration
    • Labels:
      None

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Elrinth Nicklas Holmgren
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: