Raymond created FLEX-33638:
------------------------------

             Summary: TextFlow compose errors, and text lines are disappear
                 Key: FLEX-33638
                 URL: https://issues.apache.org/jira/browse/FLEX-33638
             Project: Apache Flex
          Issue Type: Bug
          Components: Spark: TextArea
    Affects Versions: Adobe Flex SDK 4.6 (Release)
         Environment: Windows 7 + IE10.0.9200.16635 + Flash Player 11.7.700.224
Windows 8 + IE10.0.9200.16635 + Flash Player 11.8.800.94 (Debugger version)
Windows 8 + Chrome  28.0.1500.72 + Flash Player 11.8.800.97 (non debugger 
version)
            Reporter: Raymond
            Priority: Critical


Steps to re-produce the bug:

1) download the TFL 3.0 Flow.swf from : 
http://sourceforge.net/projects/tlf.adobe/files/3.0/current/Flow.swf/download
2) Load Flow.swf to browser
3) set textColumn = 4, textColumnWidth=110
4) Paste following text to Flow.swf editor, and RESIZE the text flow editor in 
height about 96px to 100px

Fußballtraining, Freibad, Campaufenthalte oder bei Freunden übernachten – in 
den Sommer-ferien sind die meisten Kids viel unterwegs. Um alle wichtigen 
Utensilien bequem unterzubrin-gen, hat INTER- SPORT – entweder beim 
nächstgelegenen INTERSPORT-Händler oder direkt auf www.intersport.de. Der   
Onlineshop  bietet wertvolle  Zusatzfunktionen: die gewünschten Produkte können 
wahlweise nach Hause oder kostenfrei zu INTERSPORT Händlername geliefert 
werden. Alle Produkte, die bei INTERSPORT Händlername vorrätig sind, lassen 
sich gleichzeitig online reservieren  und liegen dann im Geschäft zur Abholung 
bereit. Dort können  sich  Kunden vom  Fachpersonal beraten lassen, 
Alternativprodukte ansehen oder individuelle Beflockungswün-sche für  das 
eigene Design der Trainingsbekleidung platzieren. Tipp: Wer sein Team komplett 
mit selbst gestalteten Trikots ausstatten möchte, dem bietet der  INTERSPORT 
PRO TOUCH-Trikotdesigner ungeahnte Mög-lichkeiten – dort können  neben  der  
individuellen Farb- und Musteraus-wahl auch Vereins- und Spieler-namen sowie 
Logos auf dem Shirt platziert  werden.  Jubelt  es   sich  in den eigenen 
Teamfarben nicht gleich viel besser? Auf www.intersport.de gibt es keine 
Sommerpause bis zum Start der Bundesliga.ewxewer

5) select all text, and apply windows built-in font "Time News Roman", font 
size 7.5
6) select following text from the beginning:

Fußballtraining, Freibad, Campaufenthalte oder bei Freunden übernachten – in 
den Sommer-ferien sind die meisten Kids viel unterwegs. Um alle wichtigen 
Utensilien bequem unterzubrin-gen, hat INTER- SPORT

7) then replace it with following text : 

Fußballtraining, Freibad, Camp­aufenthalte oder bei Freunden übernachten – in 
den Sommer-ferien sind die meisten Kids viel unterwegs. Um alle wichtigen 
Utensilien bequem unterzubrin-gen, hat INTERSPORT

8) insert hyphen character dash (-) to the INTERSPORT like this INTER-SPORT

9) then randomly add characters to random position of the textflow editor

10) starting from beginning of text flow container, most of text will be 
disappear.


Flash player debugger version will show errors like followings:

TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
        at 
flashx.textLayout.compose::TextFlowLine$/http://ns.adobe.com/textLayout/internal/2008::findNumberLine()
        at 
flashx.textLayout.compose::BaseCompose/advanceToComposeStartPosition()
        at flashx.textLayout.compose::BaseCompose/composeTextFlow()
        at flashx.textLayout.compose::ComposeState/composeTextFlow()
        at 
flashx.textLayout.compose::StandardFlowComposer/http://ns.adobe.com/textLayout/internal/2008::callTheComposer()
        at flashx.textLayout.compose::StandardFlowComposer/internalCompose()
        at flashx.textLayout.compose::StandardFlowComposer/updateToController()
        at 
flashx.textLayout.compose::StandardFlowComposer/updateAllControllers()
        at flashx.textLayout.edit::EditManager/updateAllControllers()
        at flashx.textLayout.edit::EditManager/handleUpdate()
        at flashx.textLayout.edit::EditManager/finalizeDo()
        at flashx.textLayout.edit::EditManager/doOperation()
        at flashx.textLayout.edit::EditManager/flushPendingOperations()
        at flashx.textLayout.edit::SelectionManager/enterFrameHandler()
 
 
TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
        at flashx.textLayout.compose::FlowComposerBase/addLine()
        at flashx.textLayout.compose::ComposeState/endLine()
        at 
flashx.textLayout.compose::BaseCompose/composeParagraphElementIntoLines()
        at flashx.textLayout.compose::BaseCompose/composeParagraphElement()
        at flashx.textLayout.compose::ComposeState/composeParagraphElement()
        at flashx.textLayout.compose::BaseCompose/composeBlockElement()
        at flashx.textLayout.compose::BaseCompose/composeInternal()
        at flashx.textLayout.compose::ComposeState/composeInternal()
        at flashx.textLayout.compose::BaseCompose/composeTextFlow()
        at flashx.textLayout.compose::ComposeState/composeTextFlow()
        at 
flashx.textLayout.compose::StandardFlowComposer/http://ns.adobe.com/textLayout/internal/2008::callTheComposer()
        at flashx.textLayout.compose::StandardFlowComposer/internalCompose()
        at flashx.textLayout.compose::StandardFlowComposer/updateToController()
        at 
flashx.textLayout.compose::StandardFlowComposer/updateAllControllers()
        at flashx.textLayout.edit::EditManager/updateAllControllers()
        at flashx.textLayout.edit::EditManager/handleUpdate()
        at flashx.textLayout.edit::EditManager/finalizeDo()
        at flashx.textLayout.edit::EditManager/doOperation()
        at flashx.textLayout.edit::EditManager/flushPendingOperations()
        at flashx.textLayout.edit::SelectionManager/enterFrameHandler()
 



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

Reply via email to