Clone
Mihai Chira
committed
on 18 Jun 16
FLEX-35100 CAUSE: TextBlock.createTextLine() orTextBlock.recreateTextLine() return null when there's no more text to create lines for (as in… Show more
FLEX-35100 CAUSE: TextBlock.createTextLine() orTextBlock.recreateTextLine() return null when there's no more text to create lines for (as indicated by the previousLine parameter) or the TextBlock's content's text is null or "". (It's also possible when the width parameter is insufficient, but in this case the fitSomething parameter is true, which excludes this case).

SOLUTION: Added a null check for textLine.

Show less