Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1C12918FFA for ; Wed, 3 Jun 2015 20:35:39 +0000 (UTC) Received: (qmail 7875 invoked by uid 500); 3 Jun 2015 20:35:39 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 7849 invoked by uid 500); 3 Jun 2015 20:35:39 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 7840 invoked by uid 99); 3 Jun 2015 20:35:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jun 2015 20:35:39 +0000 Date: Wed, 3 Jun 2015 20:35:38 +0000 (UTC) From: "Christopher Pollati (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLEX-34877) Squiggly RTE when setting htmlText via AS3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-34877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christopher Pollati updated FLEX-34877: --------------------------------------- Description: *Steps to reproduce* 1. Run the attached project 2. Try resizing the window *Expected results* Window resizes and displays text with "squiggles" *Actual results* RTE occurs *Error Detail* {code} TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.adobe.linguistics.spelling.framework.ui::SpellingHighlighter/drawSingleSquigglyLine()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingFramework/src/com/adobe/linguistics/spelling/framework/ui/SpellingHighlighter.as:86] at com.adobe.linguistics.spelling.framework.ui::SpellingHighlighter/drawSquigglyLine()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingFramework/src/com/adobe/linguistics/spelling/framework/ui/SpellingHighlighter.as:67] at com.adobe.linguistics.spelling.framework.ui::HaloHighlighter/squiggleWord()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingFramework/src/com/adobe/linguistics/spelling/framework/ui/HaloHighlighter.as:116] at com.adobe.linguistics.spelling.framework.ui::HaloHighlighter/drawSquiggleAt()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingFramework/src/com/adobe/linguistics/spelling/framework/ui/HaloHighlighter.as:69] at com.adobe.linguistics.spelling::SpellUI/spellCheckRange()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as:402] at com.adobe.linguistics.spelling::SpellUI/doSpellingJob()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as:359] at com.adobe.linguistics.spelling::SpellUI/spellCheckScreen()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as:326] {code} *Notes* * A carriage return "\r" does this, however, it has occurred when the misspelled word ends right before an HTML tag. * If RichTextEditor's htmlText is set via MXML, it display the text with the escape character and does not cause an issue. * Also happens with a if the TextInput looses focus. was: *Steps to reproduce* 1. Run the attached project 2. Try resizing the window *Expected results* Window resizes and displays text with "squiggles" *Actual results* RTE occurs *Error Detail* {code} TypeError: Error #1009: Cannot access a property or method of a null object reference. at com.adobe.linguistics.spelling.framework.ui::SpellingHighlighter/drawSingleSquigglyLine()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingFramework/src/com/adobe/linguistics/spelling/framework/ui/SpellingHighlighter.as:86] at com.adobe.linguistics.spelling.framework.ui::SpellingHighlighter/drawSquigglyLine()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingFramework/src/com/adobe/linguistics/spelling/framework/ui/SpellingHighlighter.as:67] at com.adobe.linguistics.spelling.framework.ui::HaloHighlighter/squiggleWord()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingFramework/src/com/adobe/linguistics/spelling/framework/ui/HaloHighlighter.as:116] at com.adobe.linguistics.spelling.framework.ui::HaloHighlighter/drawSquiggleAt()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingFramework/src/com/adobe/linguistics/spelling/framework/ui/HaloHighlighter.as:69] at com.adobe.linguistics.spelling::SpellUI/spellCheckRange()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as:402] at com.adobe.linguistics.spelling::SpellUI/doSpellingJob()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as:359] at com.adobe.linguistics.spelling::SpellUI/spellCheckScreen()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as:326] {code} *Notes* * If RichTextEditor's htmlText is set via MXML, it display the text with the escape character and does not cause an issue. * Also happens with a if the TextInput looses focus. > Squiggly RTE when setting htmlText via AS3 > ------------------------------------------ > > Key: FLEX-34877 > URL: https://issues.apache.org/jira/browse/FLEX-34877 > Project: Apache Flex > Issue Type: Bug > Components: Squiggly > Affects Versions: Squiggly 1.1, Apache Flex 4.14.1 > Reporter: Christopher Pollati > > *Steps to reproduce* > 1. Run the attached project > 2. Try resizing the window > *Expected results* > Window resizes and displays text with "squiggles" > *Actual results* > RTE occurs > *Error Detail* > {code} > TypeError: Error #1009: Cannot access a property or method of a null object reference. > at com.adobe.linguistics.spelling.framework.ui::SpellingHighlighter/drawSingleSquigglyLine()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingFramework/src/com/adobe/linguistics/spelling/framework/ui/SpellingHighlighter.as:86] > at com.adobe.linguistics.spelling.framework.ui::SpellingHighlighter/drawSquigglyLine()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingFramework/src/com/adobe/linguistics/spelling/framework/ui/SpellingHighlighter.as:67] > at com.adobe.linguistics.spelling.framework.ui::HaloHighlighter/squiggleWord()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingFramework/src/com/adobe/linguistics/spelling/framework/ui/HaloHighlighter.as:116] > at com.adobe.linguistics.spelling.framework.ui::HaloHighlighter/drawSquiggleAt()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingFramework/src/com/adobe/linguistics/spelling/framework/ui/HaloHighlighter.as:69] > at com.adobe.linguistics.spelling::SpellUI/spellCheckRange()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as:402] > at com.adobe.linguistics.spelling::SpellUI/doSpellingJob()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as:359] > at com.adobe.linguistics.spelling::SpellUI/spellCheckScreen()[/Users/justinmclean/Documents/ApacheFlexUtilitiesGit/Squiggly/main/SpellingUIEx/src/com/adobe/linguistics/spelling/SpellUI.as:326] > {code} > *Notes* > * A carriage return "\r" does this, however, it has occurred when the misspelled word ends right before an HTML tag. > * If RichTextEditor's htmlText is set via MXML, it display the text with the escape character and does not cause an issue. > * Also happens with a if the TextInput looses focus. -- This message was sent by Atlassian JIRA (v6.3.4#6332)