Chema Balsas created FLEX-33307:
-----------------------------------

             Summary: Falcon can't compile spark
                 Key: FLEX-33307
                 URL: https://issues.apache.org/jira/browse/FLEX-33307
             Project: Apache Flex
          Issue Type: Bug
            Reporter: Chema Balsas


Falcon fails to compile the spark project in test sparkSWC

Error: Generated byte code contains an operand stack underflow.
[...]

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/mx/controls/MXFTETextInput.as:68
Error: Ambiguous reference to TextInput
public class MXFTETextInput extends TextInput implements ITextInput
                                    ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/mx/controls/MXFTETextInput.as:68
Error: interface method enableIME in interface IIMESupport not implemented by 
class MXFTETextInput
public class MXFTETextInput extends TextInput implements ITextInput
             ^

[...]

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/mx/controls/MXFTETextInput.as:171
Error: Attempted access of inaccessible property text through a reference with 
static type MXFTETextInput.
            text = newText;
            ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/mx/controls/MXFTETextInput.as:173
Error: Attempted access of inaccessible method dispatchEvent through a 
reference with static type MXFTETextInput.
        dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));
        ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/mx/controls/MXFTETextInput.as:216
Error: Access of possibly undefined property textDisplay.
        return textDisplay ? textDisplay.horizontalScrollPosition : 0;
               ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/mx/controls/MXFTETextInput.as:216
Error: Access of possibly undefined property textDisplay.
        return textDisplay ? textDisplay.horizontalScrollPosition : 0;
                             ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/mx/controls/MXFTETextInput.as:224
Error: Access of possibly undefined property textDisplay.
        if (textDisplay)
            ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/mx/controls/MXFTETextInput.as:225
Error: Access of possibly undefined property textDisplay.
            textDisplay.horizontalScrollPosition = value;
            ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/mx/controls/MXFTETextInput.as:323
Error: Attempted access of inaccessible method setStyle through a reference 
with static type MXFTETextInput.
        setStyle("borderVisible", visible);
        ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/mx/controls/MXFTETextInput.as:325
Error: Attempted access of inaccessible method getStyle through a reference 
with static type MXFTETextInput.
        var contentBackgroundAlpha:Number = getStyle("contentBackgroundAlpha");
                                            ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/mx/controls/MXFTETextInput.as:334
Error: Attempted access of inaccessible method getStyle through a reference 
with static type MXFTETextInput.
                oldContentBackgroundAlpha = getStyle("contentBackgroundAlpha");
                                            ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/mx/controls/MXFTETextInput.as:335
Error: Attempted access of inaccessible method setStyle through a reference 
with static type MXFTETextInput.
                setStyle("contentBackgroundAlpha", 0);
                ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/mx/controls/MXFTETextInput.as:340
Error: Attempted access of inaccessible method setStyle through a reference 
with static type MXFTETextInput.
            setStyle("contentBackgroundAlpha", oldContentBackgroundAlpha);
            ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/mx/controls/MXFTETextInput.as:355
Error: Method marked override must override another method.
    override public function drawFocus(isFocused:Boolean):void
                             ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/mx/controls/MXFTETextInput.as:359
Error: Attempted access of inaccessible property parent through a reference 
with static type MXFTETextInput.
            IFocusManagerComponent(parent).drawFocus(isFocused);
                                   ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/FormHeading.as:213
Error: Call to a possibly undefined method Event.
        dispatchEvent(new Event("labelChanged"));
                          ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as:1014
Warning: variable definition duplicates function parameter: rowIndex.
        var rowIndex:int = rowIndex;
            ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as:1015
Warning: variable definition duplicates function parameter: columnIndex.
        var columnIndex:int = columnIndex;
            ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableContainerBase.as:64
Warning: Duplicate declaration of SkinState 'normal'
public class SkinnableContainerBase extends SkinnableComponent implements 
IFocusManagerContainer
             ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableContainerBase.as:64
Warning: Duplicate declaration of SkinState 'disabled'
public class SkinnableContainerBase extends SkinnableComponent implements 
IFocusManagerContainer
             ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableContainerBase.as:64
Warning: Duplicate declaration of SkinState 'normal'
public class SkinnableContainerBase extends SkinnableComponent implements 
IFocusManagerContainer
             ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableContainerBase.as:64
Warning: Duplicate declaration of SkinState 'disabled'
public class SkinnableContainerBase extends SkinnableComponent implements 
IFocusManagerContainer
             ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/core/CSSTextLayoutFormat.as:102
Error: Access of possibly undefined property embeddedFontContext through a 
reference with static type IStyleClient.
                if (client.mx_internal::embeddedFontContext)
                                        ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/events/GridItemEditorEvent.as:268
Warning: Initializer value -1 for type 'uint' must be between 0 and 4294967295 
inclusive. An initial value of 4294967295 will be used instead.
                                      rowIndex:uint = -1,
                                                      ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/events/GridItemEditorEvent.as:269
Warning: Initializer value -1 for type 'uint' must be between 0 and 4294967295 
inclusive. An initial value of 4294967295 will be used instead.
                                      columnIndex:uint = -1, 
                                                         ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/skins/SparkButtonSkin.as:518
Error: Type was not found or was not a compile-time constant: Event.
        protected function contentChangeHandler(event:Event):void
                                                      ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/skins/spark/DataGridSkin.mxml:302
Syntax error: Expected COLON but got '}'
            columnSeparator="{headerColumnSeparator}"
                                                   ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/skins/spark/DataGridSkin.mxml:303
Syntax error: Expected COLON but got '}'
            headerRenderer="{headerRenderer}"/>
                                           ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/skins/spark/StackedFormItemSkin.mxml:155
Warning: Data binding will not be able to detect assignments to 'errorString'.
                  toolTip="Required" 
toolTip.errorStates="{hostComponent.errorString}"
                                                                         ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/skins/spark/StackedFormItemSkin.mxml:155
Warning: Data binding will not be able to detect assignments to 'errorString'.
                  toolTip="Required" 
toolTip.errorStates="{hostComponent.errorString}"
                                                                         ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/skins/spark/StackedFormSkin.mxml:98
Warning: Data binding will not be able to detect assignments to 'errorString'.
            <s:Label id="errorTextDisplay" text="{hostComponent.errorString}" 
                                                                ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/skins/spark/StackedFormSkin.mxml:100
Warning: Data binding will not be able to detect assignments to 'width'.
                     includeIn="error" maxWidth="{this.width - 8}"
                                                       ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/skins/spark/VideoPlayerSkin.mxml:33
Error: The style 'chromeColor' is only supported by type 'SparkSkin' with the 
theme(s) 'spark,mobile'.
    chromeColor.fullScreenStates="0xCCCCCC">
    ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/skins/spark/VideoPlayerSkin.mxml:114
Warning: Data binding will not be able to detect assignments to 'height'.
             verticalScrollPosition="{Math.max(0, 184-clippedGroup.height)}">
                                                                   ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/utils/MouseEventUtil.as:143
Error: Implicit coercion of a value of type RemoveHandlerEvent to an unrelated 
type Event.
                new RemoveHandlerEvent(handleDown, handleDrag, handleUp));
                ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/utils/MouseEventUtil.as:169
Error: The definition of base class Event was not found.
class RemoveHandlerEvent extends flash.events.Event
                                 ^

/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/utils/TextFlowUtil.as
Error: Internal error in ABC generator subsystem, when generating code for: 
/Users/jbalsas/Documents/dev/apache/flex/sdk/branches/develop/frameworks/projects/spark/src/spark/utils/TextFlowUtil.as:
 java.lang.NullPointerException
        at 
org.apache.flex.compiler.internal.as.codegen.ClassDirectiveProcessor.finishClassDefinition(ClassDirectiveProcessor.java:536)
        at 
org.apache.flex.compiler.internal.as.codegen.GlobalDirectiveProcessor.declareClass(GlobalDirectiveProcessor.java:423)
        at 
org.apache.flex.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProcessor.java:206)
        at 
org.apache.flex.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcessor.java:188)
        at 
org.apache.flex.compiler.internal.as.codegen.GlobalDirectiveProcessor.declarePackage(GlobalDirectiveProcessor.java:448)
        at 
org.apache.flex.compiler.internal.as.codegen.DirectiveProcessor.processNode(DirectiveProcessor.java:223)
        at 
org.apache.flex.compiler.internal.as.codegen.DirectiveProcessor.traverse(DirectiveProcessor.java:188)
        at 
org.apache.flex.compiler.internal.as.codegen.ABCGenerator.generate(ABCGenerator.java:122)
        at 
org.apache.flex.compiler.internal.units.ASCompilationUnit.handleABCBytesRequest(ASCompilationUnit.java:374)
        at 
org.apache.flex.compiler.internal.units.CompilationUnitBase.processABCBytesRequest(CompilationUnitBase.java:866)
        at 
org.apache.flex.compiler.internal.units.CompilationUnitBase.access$3(CompilationUnitBase.java:864)
        at 
org.apache.flex.compiler.internal.units.CompilationUnitBase$3$1.call(CompilationUnitBase.java:309)
        at 
org.apache.flex.compiler.internal.units.CompilationUnitBase$3$1.call(CompilationUnitBase.java:1)
        at 
org.apache.flex.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
        at 
org.apache.flex.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:1)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at 
java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy.rejectedExecution(ThreadPoolExecutor.java:1746)
        at 
java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:767)
        at 
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:658)
        at 
java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:92)
        at 
org.apache.flex.compiler.internal.units.requests.RequestMaker.getRequest(RequestMaker.java:188)
        at 
org.apache.flex.compiler.internal.units.CompilationUnitBase.getABCBytesRequest(CompilationUnitBase.java:614)
        at 
org.apache.flex.compiler.internal.units.CompilationUnitBase.startBuildAsync(CompilationUnitBase.java:1067)
        at 
org.apache.flex.compiler.internal.units.CompilationUnitBase.startParsingImports(CompilationUnitBase.java:920)
        at 
org.apache.flex.compiler.internal.units.ASCompilationUnit.handleOutgoingDependenciesRequest(ASCompilationUnit.java:450)
        at 
org.apache.flex.compiler.internal.units.CompilationUnitBase.processOutgoingDependenciesRequest(CompilationUnitBase.java:882)
        at 
org.apache.flex.compiler.internal.units.CompilationUnitBase.access$5(CompilationUnitBase.java:880)
        at 
org.apache.flex.compiler.internal.units.CompilationUnitBase$5$1.call(CompilationUnitBase.java:378)
        at 
org.apache.flex.compiler.internal.units.CompilationUnitBase$5$1.call(CompilationUnitBase.java:1)
        at 
org.apache.flex.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:228)
        at 
org.apache.flex.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:1)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:680)


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