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

TLF Text Selection Error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Apache Flex 4.9.0
    • Apache Flex 4.9.0
    • None
    • Spark TextArea

    Description

      If I select a blank text box, the following error occurs:

      TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at flashx.textLayout.edit::SelectionManager$/computeSelectionIndexInContainer()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/textLayout/3.0.33/src/flashx/textLayout/edit/SelectionManager.as:853]
      at flashx.textLayout.edit::SelectionManager$/http://ns.adobe.com/textLayout/internal/2008::computeSelectionIndex()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/textLayout/3.0.33/src/flashx/textLayout/edit/SelectionManager.as:1142]
      at flashx.textLayout.edit::SelectionManager/selectionPoint()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/textLayout/3.0.33/src/flashx/textLayout/edit/SelectionManager.as:476]
      at flashx.textLayout.edit::SelectionManager/http://ns.adobe.com/textLayout/internal/2008::setNewSelectionPoint()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/textLayout/3.0.33/src/flashx/textLayout/edit/SelectionManager.as:1239]
      at flashx.textLayout.edit::SelectionManager/http://ns.adobe.com/textLayout/internal/2008::handleMouseEventForSelection()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/textLayout/3.0.33/src/flashx/textLayout/edit/SelectionManager.as:1289]
      at flashx.textLayout.edit::SelectionManager/mouseMoveHandler()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/textLayout/3.0.33/src/flashx/textLayout/edit/SelectionManager.as:1281]
      at flashx.textLayout.container::ContainerController/mouseMoveHandler()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/textLayout/3.0.33/src/flashx/textLayout/container/ContainerController.as:2306]
      at flashx.textLayout.container::TextContainerManager/mouseMoveHandler()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/textLayout/3.0.33/src/flashx/textLayout/container/TextContainerManager.as:1996]
      at flashx.textLayout.container::ContainerController/http://ns.adobe.com/textLayout/internal/2008::rootMouseMoveHandler()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/textLayout/3.0.33/src/flashx/textLayout/container/ContainerController.as:2313]

      However, this error is not always, so can not say crossroad when he shows up.

      Attachments

        Activity

          People

            Unassigned Unassigned
            robbyn666 Robbyn Gerhardt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: