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

#1009 RTE in SpellUI.cleanUp when disabling spelling before dictionaries finish loading

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Apache Flex 4.13.0, Squiggly 1.1
    • None
    • Squiggly
    • None

    Description

      Steps to reproduce: Run the attached application and click on the button twice, in quick succession. This simply calls SpellUI.enableSpelling() on a TextArea, and then SpellUI.disableSpelling() on the same text area - and all this happens before the dictionary has time to finish loading.

      Error: TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at com.adobe.linguistics.spelling::SpellUI/cleanUp()
      [C:\Users\evolverine\workspace\flex-utilities\Squiggly\main\SpellingUIEx\src\com\adobe\linguistics\spelling\SpellUI.as:565]
      at com.adobe.linguistics.spelling::SpellUI$/disableSpelling() [C:\Users\evolverine\workspace\flex-utilities\Squiggly\main\SpellingUIEx\src\com\adobe\linguistics\spelling\SpellUI.as:206]
      at Test/openCloseButton_changeHandler() [C:\Users\evolverine\Adobe Flash Builder 4.7\FLEX-34717\src\Test.mxml:21]
      at Test/__openCloseButton_change() [C:\Users\evolverine\Adobe Flash Builder 4.7\FLEX-34717\src\Test.mxml:27]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent() [C:\Jenkins\workspace\flex-sdk_release-candidate\frameworks\projects\framework\src\mx\core\UIComponent.as:13688]
      at spark.components.supportClasses::ToggleButtonBase/buttonReleased()[C:\Jenkins\workspace\flex-sdk_release-candidate\frameworks\projects\spark\src\spark\components\supportClasses\ToggleButtonBase.as:235]
      at spark.components.supportClasses::ButtonBase/mouseEventHandler()[C:\Jenkins\workspace\flex-sdk_release-candidate\frameworks\projects\spark\src\spark\components\supportClasses\ButtonBase.as:1360]

      Attachments

        1. FLEX-34717.ZIP
          379 kB
          Mihai Chira

        Activity

          People

            evolverine Mihai Chira
            evolverine Mihai Chira
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: