Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Apache Flex 4.12.0, Apache Flex 4.13.0, Apache Flex 4.14.0
Description
1. Copy Formatted text from RichEditableText Editor, see Image
2. Insert Formatted text from the clipboard with Ctrl + V in the editor. Then comes the error.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at flashx.textLayout.edit::TextFlowEdit$/insertTextScrap()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src/flashx/textLayout/edit/TextFlowEdit.as:244]
at flashx.textLayout.operations::PasteOperation/doOperation()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src/flashx/textLayout/operations/PasteOperation.as:102]
at flashx.textLayout.edit::EditManager/doInternal()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src/flashx/textLayout/edit/EditManager.as:767]
at flashx.textLayout.edit::EditManager/doOperation()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src/flashx/textLayout/edit/EditManager.as:647]
at flashx.textLayout.edit::EditManager/pasteTextScrap()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src/flashx/textLayout/edit/EditManager.as:1806]
at flashx.textLayout.edit::EditManager/editHandler()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src/flashx/textLayout/edit/EditManager.as:270]
at flashx.textLayout.container::ContainerController/editHandler()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src/flashx/textLayout/container/ContainerController.as:2739]
at flashx.textLayout.container::TextContainerManager/editHandler()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src/flashx/textLayout/container/TextContainerManager.as:1876]
at flash.display::NativeMenuItem/select()
at flash.display::NativeMenuItem/performKeyEquivalent()
at flash.display::NativeMenu/_menuItemPerformKeyEquivalent()
at flash.display::NativeMenu/performKeyEquivalent()
at flash.display::NativeMenuItem/_menuPerformKeyEquivalent()
at flash.display::NativeMenuItem/performKeyEquivalent()
at flash.display::NativeMenu/_menuItemPerformKeyEquivalent()
at flash.display::NativeMenu/performKeyEquivalent()
at flash.desktop::NativeApplication/_menuPerformKeyEquivalent()
at flash.desktop::NativeApplication/_onKeyDownCapture()
Attachments
Attachments
Issue Links
- is duplicated by
-
FLEX-34929 Error #1009 when copy/paste a text with style effect in a RichEditableText/RichTextEditor
- Resolved