[ https://issues.apache.org/jira/browse/FLEX-33512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13641460#comment-13641460 ]
Justin Mclean commented on FLEX-33512: -------------------------------------- Any chance you could give an simple sample application showing this error? If not can you provide a debug trace with line numbers? Thanks. > TLF Text Selection Error > ------------------------ > > Key: FLEX-33512 > URL: https://issues.apache.org/jira/browse/FLEX-33512 > Project: Apache Flex > Issue Type: Bug > Affects Versions: Apache Flex 4.9.0 > Environment: Spark TextArea > Reporter: Robbyn Gerhardt > Labels: textarea, tlf > Fix For: Apache Flex 4.9.0 > > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira