You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Mihai Chira (JIRA)" <ji...@apache.org> on 2015/01/15 16:38:35 UTC

[jira] [Created] (FLEX-34717) #1009 RTE in SpellUI.cleanUp when disabling spelling before dictionaries finish loading

Mihai Chira created FLEX-34717:
----------------------------------

             Summary: #1009 RTE in SpellUI.cleanUp when disabling spelling before dictionaries finish loading
                 Key: FLEX-34717
                 URL: https://issues.apache.org/jira/browse/FLEX-34717
             Project: Apache Flex
          Issue Type: Bug
          Components: Squiggly
    Affects Versions: Squiggly 1.1
            Reporter: Mihai Chira
            Assignee: Mihai Chira


*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-34649\src\Test.mxml:21\]
at Test/__openCloseButton_change() \[C:\Users\evolverine\Adobe Flash Builder 4.7\FLEX-34649\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]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)