Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK 4.6 (Release)
-
None
-
None
-
Adobe AIR 3.3 on Windows compiling with Flash Builder 4.5 plugin for Eclipse 3.7
Description
Steps to reproduce:
1. Subclass spark.components.Window:
package test
{
import spark.components.Window;
public class ExtWindow extends Window
{
public function ExtWindow()
}
}
2. Run the following sample application:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:test="test.*">
<fx:Declarations>
<test:ExtWindow/>
</fx:Declarations>
</s:WindowedApplication>
Output:
TypeError: Error #2007: Parameter justificationStyle must be non-null.
at flash.text.engine::EastAsianJustifier/set justificationStyle()
at spark.components::Label/createTextLines()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Label.as:879]
at spark.components::Label/http://www.adobe.com/2006/flex/mx/internal::composeTextLines()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\Label.as:477]
at spark.components.supportClasses::TextBase/measure()[E:\dev\4.y\frameworks\projects\spark\src\spark\components\supportClasses\TextBase.as:534]
at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::measureSizes()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:8506]
at mx.core::UIComponent/validateSize()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:8430]
at mx.managers::LayoutManager/validateSize()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:665]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:792]
at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1180]
Expected results:
no error