Below is a list of related errors. Warnings are listed below. For unlisted errors or warnings create a page linked by number or name. You can also find a list of runtime errors here and more errors here.

Errors

IDDescriptionLink
1000  
1001  
1002  
1003  
1004  
1005  
1006  
1007  
1008  
1009

TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at org.apache.flex.core::ContainerBase/addedToParent()[c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\src\main\flex\org\apache\flex\core\ContainerBase.as:202]
    at org.apache.flex.core::Application/addElement()[c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\src\main\flex\org\apache\flex\core\Application.as:423]
    at org.apache.flex.core::Application/initialize()[c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\src\main\flex\org\apache\flex\core\Application.as:182]
    at org.apache.flex.core::Application/initHandler()[c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\src\main\flex\org\apache\flex\core\Application.as:146]

 

Cause:

Occurs when the valuesImpl MXML tag is not defined in Application.

 

Solution:

Set js:valuesImpl and define js:SimpleCSSValuesImpl. Example:

    <js:valuesImpl>
        <js:SimpleCSSValuesImpl />
    </js:valuesImpl>
 
1010  
1011  
1012  
1013  
1014  
1015  
1016  
1017  
1018  
1019  
1020  
1021  
1022  
1023  
1024  
1025  
1026  
1027  
1028  
1029  
1030  
1031  
1032  
1033  
1034

TypeError: Error #1034: Type Coercion failed: cannot convert org.apache.flex.mobile::View@1c91194620d1 to org.apache.flex.core.IApplicationView.
    at org.apache.flex.utils::MXMLDataInterpreter$/generateMXMLProperties()[c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\src\main\flex\org\apache\flex\utils\MXMLDataInterpreter.as:400]
    at org.apache.flex.core::Application/generateMXMLAttributes()[c:\Jenkins\workspace\flex-asjs\frameworks\projects\Core\src\main\flex\org\apache\flex\core\Application.as:331]
    at FlexJSProject()

 

Cause:

Occurred when using <js:View>

    <js:initialView>
        <js:View>
            <js:Label text="Hello World. A long sentence." className="labelStyles" x="100" y="100"/>
        </js:View>
    </js:initialView>


Solution:

Use viewbase

    <js:initialView>
        <js:ViewBase>
            <js:Label text="Hello World. A long sentence." className="labelStyles" x="100" y="100"/>
        </js:ViewBase>
    </js:initialView>

 

info
1035  
1036  
1037  
1038  
1039  
1040  
1041  
1042  
1043  
1044  
1045  
1046  
1047  
1048  
1049  
1050  
   
1120

1120: Access of possibly undefined property COMPILE.    UIBase.as    /FlexJSProject/src/org/apache/flex/core

Cause
No compiler argument in local project

Solution:
Add compiler arguments in compiler arguments field
-define=COMPILE::JS,false -define=COMPILE::AS3,true

 
1324

1324: /Users/me/Documents/Adobe Flash Builder 14/FlexJSProject/src/FlexJSProject.mxml

    line 5:13 extraneous input 'local' expecting STRING

 

Cause: 

Occurs with following code:

    

    <fx:Style>

    @namespace local "*";

    </fx:Style>

 

Solution:

 

 
1448

1448: This attribute is unexpected. It will be ignored.

Cause:
Using namespace attribute that doesn't have namespace declaration
<js:Label myPrefix:name="Bottom Center" />

Solution:
Add namespace declaration in XML
<js:Application xmlns:myPrefix="library://ns.mynamespace.com/flex">

 
1450

1450: This tag could not be resolved to an ActionScript class. It will be ignored.

 

Cause:

The valuesImpl tag was nested in the initialView tag and initialView does not have that property.

 

    <js:initialView>
        <js:ViewBase>
            <js:Label text="Hello World." />
        </js:ViewBase>
        <js:valuesImpl>
            <js:SimpleCSSValuesImpl />
        </js:valuesImpl>
    </js:initialView>

Solution:

Moved the declaration to where it was defined.


    <js:initialView>
        <js:ViewBase>
            <js:Label text="Hello World." />
        </js:ViewBase>
    </js:initialView>
 
    <js:valuesImpl>
         <js:SimpleCSSValuesImpl />
    </js:valuesImpl>

  

 
1546

1546: Generated byte code contains an operand stack underflow.

 

Cause:

Occurred when declaring an object in the model tag

   <js:model>

        <fx:Object />

   </js:model>

 

Solution:

Defined an external class that extends EventDispatcher.

    <js:model>
        <models:MyModel />
    </js:model>
 
 

Could not find file for class: org.apache.flex.core.StageProxy

File not found: org.apache.flex.core.StageProxy

java.lang.RuntimeException: Unable to find JavaScript filePath for class: org.apache.flex.core.StageProxy

at org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:179)

 

Cause:

Possible cause is monkey patching UIBase. It may expect same directory for StageProxy.

Possible cause using Compiler variable JS set to false

 

Solution:

Not monkeypatching or set -define=COMPILE::JS,true and -define=COMPILE::AS3,false

Possible reason: not created JS class. Need to create UIBase.js and put in related path

 
 

/Users/me/Documents/Adobe Flash Builder 14/FlexJSProject/src/org/apache/flex/core/UIBase.as:141
interface method model in interface IStrandWithModel not implemented by class UIBase
public class UIBase extends HTMLElementWrapper implements IStrandWithModel, IEventDispatcher, IParentIUIBase, IStyleableObject, ILayoutChild, IFlexJSElement
^

 

Cause:

Possible cause is monkey patching UIBase. It may expect same directory for StageProxy

 

Solution:

Not monkeypatching at this time.

 

 
 

/Users/me/Documents/Adobe Flash Builder 14/FlexJSProject/src/UIBase.as
No externally-visible definition with the name 'UIBase' was found.

Cause

Not sure

 

Context

UIBase class was in root src directory of local project. Moved from org.apache.flex.core temporarily.

 

Solution

Unknown

 
 

exception 'java.io.FileNotFoundException: /.../.flexLibProperties' while setting variable ''
using FlashBuilder Project Files

Cause:
Not sure. Occurs when running FlexJS (compc) launch config

Solution:
Use FlexJS (FalconJX Debug and Release Build) launch config

 

 

Warnings

 

IDNameLink
 

com.google.javascript.jscomp.LoggerErrorManager println
WARNING: /js-debug/org/apache/flex/core/Application.js:220: WARNING - org.apache.flex.utils.Language is never defined
    if (org.apache.flex.utils.Language.is(this.model, org.apache.flex.core.IBead))

 

Cause:

A model was not defined

 

Solution:

 

   <js:model>
        <models:MyModel />
    </js:model>
 
  • No labels