flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damian Norman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33535) On resize, null object reference is thrown by non existent prevLine TextFlowLine
Date Fri, 17 May 2013 19:27:15 GMT

    [ https://issues.apache.org/jira/browse/FLEX-33535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13660972#comment-13660972
] 

Damian Norman commented on FLEX-33535:
--------------------------------------

Am unable to reproduce this bug in a test app, which makes me think there is something specific
to the way we are using TLF in our main app, where I saw the bug originally, that allows the
code to reach this point...
                
> On resize, null object reference is thrown by non existent prevLine TextFlowLine
> --------------------------------------------------------------------------------
>
>                 Key: FLEX-33535
>                 URL: https://issues.apache.org/jira/browse/FLEX-33535
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Spark: TextArea
>    Affects Versions: Adobe Flex SDK 4.6 (Release)
>         Environment: Mac OS 10.6.8, Flash player 11,3,300,257, Air 3.3, all major browsers
>            Reporter: Damian Norman
>             Fix For: Adobe Flex SDK Next
>
>
> Resizing a Spark TextArea with a TextFlow component's height rapidly, down to 0 results
in a null object reference. (prevLine at line number 3018 is null)
> Error details:
> Error #1009: Cannot access a property or method of a null object reference.
>     at flashx.textLayout.container::ContainerController?/http://ns.adobe.com/textLayout/internal/2008::updateCompositionShapes()
at flashx.textLayout.compose::StandardFlowComposer?/updateCompositionShapes() at flashx.textLayout.compose::StandardFlowComposer?/updateToController()
at flashx.textLayout.compose::StandardFlowComposer?/updateAllControllers() at flashx.textLayout.container::TextContainerManager?/updateContainer()
at spark.components::RichEditableText?/updateDisplayList() at mx.core::UIComponent/validateDisplayList()
at mx.managers::LayoutManager?/validateDisplayList() at mx.managers::LayoutManager?/doPhasedInstantiation()
at mx.managers::LayoutManager?/doPhasedInstantiationCallback()

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