flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Harui (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLEX-33388) Add TextFlow to TextArea - Error
Date Sun, 17 Feb 2013 02:03:13 GMT

     [ https://issues.apache.org/jira/browse/FLEX-33388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Harui resolved FLEX-33388.
-------------------------------

    Resolution: Cannot Reproduce

Cannot reproduce with this simple test:

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx"
               creationComplete="creationCompleteHandler(event)"
               minHeight="600"
               minWidth="955">
    <s:layout>
        <s:VerticalLayout/>
    </s:layout>
    
    <fx:Script>
        <![CDATA[
            import spark.components.TextArea;
            import flashx.textLayout.elements.TextFlow;
            import mx.events.FlexEvent;
            
            private var newText:TextArea;
            
            protected function creationCompleteHandler(event:FlexEvent):void
            {
                
                newText	=	new TextArea(); 
                newText.textFlow	 =	new TextFlow(); 
                
                addElement(newText);
            }
        ]]>
    </fx:Script>
    
    <s:Label text="Paste text to get RTE"/>
    
    
</s:Application>

                
> Add TextFlow to TextArea - Error
> --------------------------------
>
>                 Key: FLEX-33388
>                 URL: https://issues.apache.org/jira/browse/FLEX-33388
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: TextArea
>    Affects Versions: Apache Flex 4.9.0
>         Environment: Win 7
> Intel(R) Xeon(R) 2.40 GHz
> 6GB RAM
>            Reporter: Robbyn Gerhardt
>              Labels: AIR, TLF, TextArea, textFlow
>
> When you paste text flow will get this error:
> TypeError: Error #1009: Cannot access a property or method of a null object reference.
> 	at flashx.textLayout.container::TextContainerManager/setText()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/textLayout/3.0.33/src/flashx/textLayout/container/TextContainerManager.as:583]
> 	at spark.components.supportClasses::RichEditableTextContainerManager/setText()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/spark/src/spark/components/supportClasses/RichEditableTextContainerManager.as:347]
> 	at flashx.textLayout.container::TextContainerManager/setTextFlow()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/textLayout/3.0.33/src/flashx/textLayout/container/TextContainerManager.as:763]
> 	at spark.components.supportClasses::RichEditableTextContainerManager/setTextFlow()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/spark/src/spark/components/supportClasses/RichEditableTextContainerManager.as:358]
> 	at flashx.textLayout.container::TextContainerManager/setTextFlow()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/textLayout/3.0.33/src/flashx/textLayout/container/TextContainerManager.as:772]
> 	at spark.components.supportClasses::RichEditableTextContainerManager/setTextFlow()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/spark/src/spark/components/supportClasses/RichEditableTextContainerManager.as:358]
> 	at spark.components::RichEditableText/commitProperties()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/spark/src/spark/components/RichEditableText.as:2561]
> 	at mx.core::UIComponent/validateProperties()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/core/UIComponent.as:8227]
> 	at mx.managers::LayoutManager/validateProperties()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/LayoutManager.as:605]
> 	at mx.managers::LayoutManager/doPhasedInstantiation()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/LayoutManager.as:821]
> 	at mx.managers::LayoutManager/doPhasedInstantiationCallback()[/Users/justinmclean/Documents/ApacheFlexSDK/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1188]
> I use TLF 3.0.33 in Apache Flex 4.9.0
> In version Apache Flex 4.8.0 it works without problems.

--
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

Mime
View raw message