I also happened to catch the stack below in the debugger. I've seen it a few different times and it may be related. Looks like it's the op.textScrap that's null in my case. Not clear on what leads to it. It actually looks like it may be a bug in RichEditableText in the Flex SDK instead of something in TLF.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at spark.components::RichEditableText/textContainerManager_flowOperationEndHandler()[RichEdi tableText.as]
at flashx.textLayout.container::TextContainerManager/dispatchEvent()[TextContainerManager.as ]
Yes. That's possible, but in my case the functions of the RichEditableText are not the source of the problem (as far as I can see). I tried debugging the problem, but it's kind of hard because the error is rethrown by the EditManager (on line 467).
Has anyone an idea on how to fix it? Some customers already discovered it and so it's very important for me that the problem gets fixed.
If you have a local copy of TLF 1.1 you can work around it by adding a test at line 346 of TextClipboard.as. Replace
That prevents the bug - but the underlying cause needs more investigation.
Thank you, but unfortunately I got no local copy at the moment, but I think about it.