You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Carlos Rovira <ca...@apache.org> on 2016/12/14 00:32:41 UTC

[FlexJS] Compilation error - difficult to debug

Hi,

sometimes I change something in some SWC library, and although is a valid
change a SWC compiles normaly the exception of that codes is wrong.
That use to translate to the main project where SWC is attached and
compilation fails with a trace that didn't give any clue about what is
happening. Only way I have is trying to figure what I did wrong
I think this is a problem in our message to users about the "compilation
safe mode" that flexjs evangelices.

This is an example of compilation failed log...someone know what could be
happening and why this kind of trace is logged?

[INFO] Scanning for projects...
[INFO]
                                          `,;':,                :';;;
                                         `:;''';'             `++'';;,
                                         :;'''++;'           .+'+''';;;
                              :          ;'''++++''         ,';+++''';'
                  ,. `,  ,. ..: , `,    `'''+++##;'',      ;;'+#+++''''
                 ; ; ; ;; ;`: :,: ; ;    ;'+++;  #;;;;;:::;;;;+  +++'':
                 ; ; : ;; ;., : : ;.     ;;++#    ';;;;;;;;;;+   .+++;
                 `;: :; `;: :;: , :;`     +;+#    ,;;;:::::;:    ;#+',
      ;++++:'++      :                ;+,; ++;#    +;::::::;    ,+;;:
     ++++++,'++                  `++'       +'''`   ;::::::,   +:;;:
    `+++.   '++    ++++++  +++   +++         '''''   ;:::::   :;;;;
    +++`    '++   ++++++++ +++` `++:         :'';;;   ;::`   :::::
    +++     '++  +++'  :++: +++ +++           ;;;;;'        ::::::
    +++     '++  +++    ++' `+++++`           ;;;;;;:      .:::::`
    +++++++ '++  +++:::+++.  +++++            ;;;;;;;      ,:::::
    +++++++ '++  +++++++++   :+++'            ;;;;;;;      ,:::::
    +++'''  '++  +++;;;:`    +++++            ;;;;;;`      ::::::.
    +++     '++  +++        +++ +++           ;;;;;:        ::::::
    +++     :++. ++++   `  :++, ,++;         ''';;.   `..:   ::::;`
    +++      ++'  +++++++  +++   +++        :''';    ,,,,,:   ;;;;;
    ;++`     +++   ++++++ +++     +++      .+';+    :,,,,,,:   `';;;
     ++'                                  `+'''    ::,,,,,:::    ';;'
     :++                                  #;''    +:::,,,::::    .'':;
                                         ';;''   ::::::::::::'   ,';;:.
                                         ;;;;''`;+;;::`  .::;;'.,';;;;:
                                        `::;;;''':;;       `;;;'';;;;;;
                                         :::;;;'';:          ;;';;;;;:;
                                         ,:::;;;',            ',;;;;::`
                                          .:::;:.              ;:;;:::
                                           ::;,                 `,;;`
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Flex - FlexJS: Examples: FlexJS: MDLExample
0.8.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ MDLExample ---
[INFO] Deleting
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target
[INFO]
[INFO] --- maven-remote-resources-plugin:1.5:process
(process-resource-bundles) @ MDLExample ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @
MDLExample ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- flexjs-maven-plugin:0.8.0-SNAPSHOT:compile-app
(default-compile-app) @ MDLExample ---
[INFO] Executing MXMLC in tool group Falcon with args:
[-load-config=/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/compile-app-flash-config.xml,
-compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css,
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/src/main/flex/App.mxml]
Loading configuration:
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/compile-app-flash-config.xml
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/src/main/flex/App.mxml(38):
col: 2 Warning: The CSS type selector 'Image' was not processed, because
the type was not used in the application.
98747 bytes written to
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/MDLExample-0.8.0-SNAPSHOT.swf
in 1,268 seconds
[INFO]
[INFO] --- flexjs-maven-plugin:0.8.0-SNAPSHOT:compile-app
(compile-javascript) @ MDLExample ---
[INFO] Executing MXMLC in tool group FlexJS with args:
[-load-config=/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/compile-app-javascript-config.xml,
-compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css,
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/src/main/flex/App.mxml]
Compiling file:
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/javascript/bin/js-debug/App.js
Compiling file:
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/javascript/bin/js-debug/MainNavigation.js
Compiling file:
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/javascript/bin/js-debug/itemRenderers/ActorNameAndIconListItemRenderer.js
Compiling file:
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/javascript/bin/js-debug/itemRenderers/ActorNameListItemRenderer.js
Compiling file:
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/javascript/bin/js-debug/itemRenderers/AvatarAndActionListItemRenderer.js
Compiling file:
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/javascript/bin/js-debug/itemRenderers/AvatarAndActionTwoLineListItemRenderer.js
Compiling file:
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/javascript/bin/js-debug/itemRenderers/AvatarAndActionThreeLineListItemRenderer.js
Compiling file:
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/javascript/bin/js-debug/Tabs.js
Compiling file:
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/javascript/bin/js-debug/Chips.js
Compiling file:
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/javascript/bin/js-debug/Buttons.js
Compiling file:
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/javascript/bin/js-debug/Lists.js
Compiling file:
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/javascript/bin/js-debug/Toggles.js
Compiling file:
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/javascript/bin/js-debug/TextFields.js
Compiling file:
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/javascript/bin/js-debug/Cards.js
Compiling file:
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/javascript/bin/js-debug/Grids.js
Compiling file:
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/javascript/bin/js-debug/vos/ActorVO.js
Compiling file:
/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/javascript/bin/js-debug/models/ListsModel.js
using SWC:
/Users/carlosrovira/.m2/repository/com/adobe/flash/framework/playerglobal/20.0/playerglobal-20.0.swc
using SWC:
/Users/carlosrovira/.m2/repository/org/apache/flex/flexjs/framework/MaterialDesignLite/0.8.0-SNAPSHOT/MaterialDesignLite-0.8.0-SNAPSHOT.swc
using SWC:
/Users/carlosrovira/.m2/repository/org/apache/flex/flexjs/framework/Core/0.8.0-SNAPSHOT/Core-0.8.0-SNAPSHOT.swc
using SWC:
/Users/carlosrovira/.m2/repository/org/apache/flex/flexjs/framework/Language/0.8.0-SNAPSHOT/Language-0.8.0-SNAPSHOT.swc
using SWC:
/Users/carlosrovira/.m2/repository/org/apache/flex/flexjs/framework/HTML/0.8.0-SNAPSHOT/HTML-0.8.0-SNAPSHOT.swc
using SWC:
/Users/carlosrovira/.m2/repository/org/apache/flex/flexjs/framework/Effects/0.8.0-SNAPSHOT/Effects-0.8.0-SNAPSHOT.swc
using SWC:
/Users/carlosrovira/.m2/repository/org/apache/flex/flexjs/framework/Collections/0.8.0-SNAPSHOT/Collections-0.8.0-SNAPSHOT.swc
using SWC:
/Users/carlosrovira/.m2/repository/org/apache/flex/flexjs/framework/Binding/0.8.0-SNAPSHOT/Binding-0.8.0-SNAPSHOT.swc
using SWC:
/Users/carlosrovira/.m2/repository/org/apache/flex/flexjs/framework/Graphics/0.8.0-SNAPSHOT/Graphics-0.8.0-SNAPSHOT.swc
Could not find file for class:
org.apache.flex.html.beads.models.ToggleButtonModel
File not found: org.apache.flex.html.beads.models.ToggleButtonModel
org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:174)org.apache.flex.compiler.internal.graph.GoogDepsWriter.addDeps(GoogDepsWriter.java:208)org.apache.flex.compiler.internal.graph.GoogDepsWriter.buildDB(GoogDepsWriter.java:125)org.apache.flex.compiler.internal.graph.GoogDepsWriter.getListOfFiles(GoogDepsWriter.java:84)org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:309)org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:463)org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:321)org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:275)org.apache.flex.compiler.clients.MXMLJSC.execute(MXMLJSC.java:168)org.apache.flex.maven.flexjs.BaseMojo.execute(BaseMojo.java:274)org.apache.flex.maven.flexjs.CompileAppMojo.execute(CompileAppMojo.java:119)org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)org.apache.maven.cli.MavenCli.main(MavenCli.java:199)sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:498)org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3.732 s
[INFO] Finished at: 2016-12-14T01:26:06+01:00
[INFO] Final Memory: 69M/942M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.flex.flexjs.compiler:flexjs-maven-plugin:0.8.0-SNAPSHOT:compile-app
(compile-javascript) on project MDLExample: There were errors during the
build. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException


-- 
Carlos Rovira
http://about.me/carlosrovira

Re: [FlexJS] Compilation error - difficult to debug

Posted by Carlos Rovira <ca...@codeoscopic.com>.
I'll continue my work on MDL since the time I have, that maybe in the
following week could be less...

2016-12-16 10:53 GMT+01:00 Christofer Dutz <ch...@c-ware.de>:

> Currently working on setting up SonarQube analysis on ASF Infra ...
>
> This will make it easy to find potentially dangerous stuff. I doubt
> creating issues would be ideal, but people could start picking reported
> issues and work on them.
>
> Chris
>
>
> Am 15.12.16, 20:46 schrieb "Josh Tynjala" <jo...@gmail.com>:
>
>     I am currently working on updating Closure compiler in FalconJX.
>
>     - Josh
>
>     On Thu, Dec 15, 2016 at 9:54 AM, Alex Harui <ah...@adobe.com> wrote:
>
>     > If one of you is planning to work on this issue, please assign the
> JIRA to
>     > yourself.  Otherwise I will look into it.
>     >
>     > -Alex
>     >
>     > On 12/15/16, 3:33 AM, "Josh Tynjala" <jo...@gmail.com> wrote:
>     >
>     > >Indeed, Chris, those aren't a waste of time, and no one would
> disagree
>     > >with
>     > >that. When the compiler errors with a stack trace, that's a serious
> bug
>     > >and
>     > >should be reported on JIRA.
>     > >
>     > >- Josh
>     > >
>     > >
>     > >On Dec 15, 2016 3:09 AM, "Christofer Dutz" <
> christofer.dutz@c-ware.de>
>     > >wrote:
>     > >
>     > >Hi Carlos,
>     > >
>     > >unfortunately this type of problem often originates from some of the
>     > >problems in Falcon. Falcon hadles the case in which code and
> configuration
>     > >is correct nicely. I reported the presence of a lot of problems in
> Falcon
>     > >when compiling not correct code as a large number of execution
> paths in
>     > >the
>     > >compiler for example are guaranteed to produce
> NullPointerExceptions if
>     > >not
>     > >compiling correct code. Tracking down these errors is quite
> frustrating as
>     > >due to the NPE the context gets lost (I had to do that quite a lot
> in
>     > >order
>     > >to get the initial Maven version of the build running).
>     > >
>     > >I still think working on these issues is not a waste of time.
>     > >
>     > >Chris
>     > >
>     > >
>     > >Am 14.12.16, 19:42 schrieb "carlos.rovira@gmail.com im Auftrag von
> Carlos
>     > >Rovira" <carlos.rovira@gmail.com im Auftrag von
>     > >carlos.rovira@codeoscopic.com>:
>     > >
>     > >    Just created one:
>     > >
>     > >    FLEX-35218 - FlexJS Errors unable to debug
>     > >    <https://issues.apache.org/jira/browse/FLEX-35218>
>     > >
>     > >    2016-12-14 2:38 GMT+01:00 Alex Harui <ah...@adobe.com>:
>     > >
>     > >    > File a bug with a test case.
>     > >    >
>     > >    > On 12/13/16, 5:23 PM, "carlos.rovira@gmail.com on behalf of
> Carlos
>     > >Rovira"
>     > >    > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org
> >
>     > >wrote:
>     > >    >
>     > >    > >> >
>     > >    > >> >Could not find file for class:
>     > >    > >> >org.apache.flex.html.beads.models.ToggleButtonModel
>     > >    > >> >File not found: org.apache.flex.html.beads.mod
>     > >els.ToggleButtonModel
>     > >    > >>
>     > >    > >> This file in not in one of the SWCs in the project, but
> some code
>     > >needs
>     > >    > >>it.
>     > >    > >
>     > >    > >
>     > >    > >
>     > >    > >But that's not the problem Alex. The change I introduced
> from one
>     > >    > >successful compilation to one failing is this line in the new
>     > >TextNode.as
>     > >    > >
>     > >    > >var e:HTMLElement = textNode.parentNode;
>     > >    > >e.innerHTML = text;
>     > >    > >
>     > >    > >If I introuduced that and compiler reports that something
> wrong
>     > >goes
>     > >with
>     > >    > >ToggleButtonModel is clear that something wrong is going in
> some
>     > >internals
>     > >    > >in falcon...
>     > >    >
>     > >    >
>     > >
>     > >
>     > >    --
>     > >
>     > >    Carlos Rovira
>     > >    Director General
>     > >    M: +34 607 22 60 05
>     > >    http://www.codeoscopic.com
>     > >    http://www.avant2.es
>     > >
>     > >    Este mensaje se dirige exclusivamente a su destinatario y puede
>     > >contener
>     > >    información privilegiada o confidencial. Si ha recibido este
> mensaje
>     > >por
>     > >    error, le rogamos que nos lo comunique inmediatamente por esta
> misma
>     > >vía y
>     > >    proceda a su destrucción.
>     > >
>     > >    De la vigente Ley Orgánica de Protección de Datos (15/1999), le
>     > >comunicamos
>     > >    que sus datos forman parte de un fichero cuyo responsable es
>     > >CODEOSCOPIC
>     > >    S.A. La finalidad de dicho tratamiento es facilitar la
> prestación del
>     > >    servicio o información solicitados, teniendo usted derecho de
> acceso,
>     > >    rectificación, cancelación y oposición de sus datos
> dirigiéndose a
>     > >nuestras
>     > >    oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la
>     > >documentación
>     > >    necesaria.
>     >
>     >
>
>
>


-- 

Carlos Rovira
Director General
M: +34 607 22 60 05
http://www.codeoscopic.com
http://www.avant2.es

Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.

Re: [FlexJS] Compilation error - difficult to debug

Posted by Christofer Dutz <ch...@c-ware.de>.
Currently working on setting up SonarQube analysis on ASF Infra ... 

This will make it easy to find potentially dangerous stuff. I doubt creating issues would be ideal, but people could start picking reported issues and work on them.

Chris


Am 15.12.16, 20:46 schrieb "Josh Tynjala" <jo...@gmail.com>:

    I am currently working on updating Closure compiler in FalconJX.
    
    - Josh
    
    On Thu, Dec 15, 2016 at 9:54 AM, Alex Harui <ah...@adobe.com> wrote:
    
    > If one of you is planning to work on this issue, please assign the JIRA to
    > yourself.  Otherwise I will look into it.
    >
    > -Alex
    >
    > On 12/15/16, 3:33 AM, "Josh Tynjala" <jo...@gmail.com> wrote:
    >
    > >Indeed, Chris, those aren't a waste of time, and no one would disagree
    > >with
    > >that. When the compiler errors with a stack trace, that's a serious bug
    > >and
    > >should be reported on JIRA.
    > >
    > >- Josh
    > >
    > >
    > >On Dec 15, 2016 3:09 AM, "Christofer Dutz" <ch...@c-ware.de>
    > >wrote:
    > >
    > >Hi Carlos,
    > >
    > >unfortunately this type of problem often originates from some of the
    > >problems in Falcon. Falcon hadles the case in which code and configuration
    > >is correct nicely. I reported the presence of a lot of problems in Falcon
    > >when compiling not correct code as a large number of execution paths in
    > >the
    > >compiler for example are guaranteed to produce NullPointerExceptions if
    > >not
    > >compiling correct code. Tracking down these errors is quite frustrating as
    > >due to the NPE the context gets lost (I had to do that quite a lot in
    > >order
    > >to get the initial Maven version of the build running).
    > >
    > >I still think working on these issues is not a waste of time.
    > >
    > >Chris
    > >
    > >
    > >Am 14.12.16, 19:42 schrieb "carlos.rovira@gmail.com im Auftrag von Carlos
    > >Rovira" <carlos.rovira@gmail.com im Auftrag von
    > >carlos.rovira@codeoscopic.com>:
    > >
    > >    Just created one:
    > >
    > >    FLEX-35218 - FlexJS Errors unable to debug
    > >    <https://issues.apache.org/jira/browse/FLEX-35218>
    > >
    > >    2016-12-14 2:38 GMT+01:00 Alex Harui <ah...@adobe.com>:
    > >
    > >    > File a bug with a test case.
    > >    >
    > >    > On 12/13/16, 5:23 PM, "carlos.rovira@gmail.com on behalf of Carlos
    > >Rovira"
    > >    > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
    > >wrote:
    > >    >
    > >    > >> >
    > >    > >> >Could not find file for class:
    > >    > >> >org.apache.flex.html.beads.models.ToggleButtonModel
    > >    > >> >File not found: org.apache.flex.html.beads.mod
    > >els.ToggleButtonModel
    > >    > >>
    > >    > >> This file in not in one of the SWCs in the project, but some code
    > >needs
    > >    > >>it.
    > >    > >
    > >    > >
    > >    > >
    > >    > >But that's not the problem Alex. The change I introduced from one
    > >    > >successful compilation to one failing is this line in the new
    > >TextNode.as
    > >    > >
    > >    > >var e:HTMLElement = textNode.parentNode;
    > >    > >e.innerHTML = text;
    > >    > >
    > >    > >If I introuduced that and compiler reports that something wrong
    > >goes
    > >with
    > >    > >ToggleButtonModel is clear that something wrong is going in some
    > >internals
    > >    > >in falcon...
    > >    >
    > >    >
    > >
    > >
    > >    --
    > >
    > >    Carlos Rovira
    > >    Director General
    > >    M: +34 607 22 60 05
    > >    http://www.codeoscopic.com
    > >    http://www.avant2.es
    > >
    > >    Este mensaje se dirige exclusivamente a su destinatario y puede
    > >contener
    > >    información privilegiada o confidencial. Si ha recibido este mensaje
    > >por
    > >    error, le rogamos que nos lo comunique inmediatamente por esta misma
    > >vía y
    > >    proceda a su destrucción.
    > >
    > >    De la vigente Ley Orgánica de Protección de Datos (15/1999), le
    > >comunicamos
    > >    que sus datos forman parte de un fichero cuyo responsable es
    > >CODEOSCOPIC
    > >    S.A. La finalidad de dicho tratamiento es facilitar la prestación del
    > >    servicio o información solicitados, teniendo usted derecho de acceso,
    > >    rectificación, cancelación y oposición de sus datos dirigiéndose a
    > >nuestras
    > >    oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la
    > >documentación
    > >    necesaria.
    >
    >
    


Re: [FlexJS] Compilation error - difficult to debug

Posted by Josh Tynjala <jo...@gmail.com>.
I am currently working on updating Closure compiler in FalconJX.

- Josh

On Thu, Dec 15, 2016 at 9:54 AM, Alex Harui <ah...@adobe.com> wrote:

> If one of you is planning to work on this issue, please assign the JIRA to
> yourself.  Otherwise I will look into it.
>
> -Alex
>
> On 12/15/16, 3:33 AM, "Josh Tynjala" <jo...@gmail.com> wrote:
>
> >Indeed, Chris, those aren't a waste of time, and no one would disagree
> >with
> >that. When the compiler errors with a stack trace, that's a serious bug
> >and
> >should be reported on JIRA.
> >
> >- Josh
> >
> >
> >On Dec 15, 2016 3:09 AM, "Christofer Dutz" <ch...@c-ware.de>
> >wrote:
> >
> >Hi Carlos,
> >
> >unfortunately this type of problem often originates from some of the
> >problems in Falcon. Falcon hadles the case in which code and configuration
> >is correct nicely. I reported the presence of a lot of problems in Falcon
> >when compiling not correct code as a large number of execution paths in
> >the
> >compiler for example are guaranteed to produce NullPointerExceptions if
> >not
> >compiling correct code. Tracking down these errors is quite frustrating as
> >due to the NPE the context gets lost (I had to do that quite a lot in
> >order
> >to get the initial Maven version of the build running).
> >
> >I still think working on these issues is not a waste of time.
> >
> >Chris
> >
> >
> >Am 14.12.16, 19:42 schrieb "carlos.rovira@gmail.com im Auftrag von Carlos
> >Rovira" <carlos.rovira@gmail.com im Auftrag von
> >carlos.rovira@codeoscopic.com>:
> >
> >    Just created one:
> >
> >    FLEX-35218 - FlexJS Errors unable to debug
> >    <https://issues.apache.org/jira/browse/FLEX-35218>
> >
> >    2016-12-14 2:38 GMT+01:00 Alex Harui <ah...@adobe.com>:
> >
> >    > File a bug with a test case.
> >    >
> >    > On 12/13/16, 5:23 PM, "carlos.rovira@gmail.com on behalf of Carlos
> >Rovira"
> >    > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> >wrote:
> >    >
> >    > >> >
> >    > >> >Could not find file for class:
> >    > >> >org.apache.flex.html.beads.models.ToggleButtonModel
> >    > >> >File not found: org.apache.flex.html.beads.mod
> >els.ToggleButtonModel
> >    > >>
> >    > >> This file in not in one of the SWCs in the project, but some code
> >needs
> >    > >>it.
> >    > >
> >    > >
> >    > >
> >    > >But that's not the problem Alex. The change I introduced from one
> >    > >successful compilation to one failing is this line in the new
> >TextNode.as
> >    > >
> >    > >var e:HTMLElement = textNode.parentNode;
> >    > >e.innerHTML = text;
> >    > >
> >    > >If I introuduced that and compiler reports that something wrong
> >goes
> >with
> >    > >ToggleButtonModel is clear that something wrong is going in some
> >internals
> >    > >in falcon...
> >    >
> >    >
> >
> >
> >    --
> >
> >    Carlos Rovira
> >    Director General
> >    M: +34 607 22 60 05
> >    http://www.codeoscopic.com
> >    http://www.avant2.es
> >
> >    Este mensaje se dirige exclusivamente a su destinatario y puede
> >contener
> >    información privilegiada o confidencial. Si ha recibido este mensaje
> >por
> >    error, le rogamos que nos lo comunique inmediatamente por esta misma
> >vía y
> >    proceda a su destrucción.
> >
> >    De la vigente Ley Orgánica de Protección de Datos (15/1999), le
> >comunicamos
> >    que sus datos forman parte de un fichero cuyo responsable es
> >CODEOSCOPIC
> >    S.A. La finalidad de dicho tratamiento es facilitar la prestación del
> >    servicio o información solicitados, teniendo usted derecho de acceso,
> >    rectificación, cancelación y oposición de sus datos dirigiéndose a
> >nuestras
> >    oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la
> >documentación
> >    necesaria.
>
>

Re: [FlexJS] Compilation error - difficult to debug

Posted by Alex Harui <ah...@adobe.com>.
If one of you is planning to work on this issue, please assign the JIRA to
yourself.  Otherwise I will look into it.

-Alex

On 12/15/16, 3:33 AM, "Josh Tynjala" <jo...@gmail.com> wrote:

>Indeed, Chris, those aren't a waste of time, and no one would disagree
>with
>that. When the compiler errors with a stack trace, that's a serious bug
>and
>should be reported on JIRA.
>
>- Josh
>
>
>On Dec 15, 2016 3:09 AM, "Christofer Dutz" <ch...@c-ware.de>
>wrote:
>
>Hi Carlos,
>
>unfortunately this type of problem often originates from some of the
>problems in Falcon. Falcon hadles the case in which code and configuration
>is correct nicely. I reported the presence of a lot of problems in Falcon
>when compiling not correct code as a large number of execution paths in
>the
>compiler for example are guaranteed to produce NullPointerExceptions if
>not
>compiling correct code. Tracking down these errors is quite frustrating as
>due to the NPE the context gets lost (I had to do that quite a lot in
>order
>to get the initial Maven version of the build running).
>
>I still think working on these issues is not a waste of time.
>
>Chris
>
>
>Am 14.12.16, 19:42 schrieb "carlos.rovira@gmail.com im Auftrag von Carlos
>Rovira" <carlos.rovira@gmail.com im Auftrag von
>carlos.rovira@codeoscopic.com>:
>
>    Just created one:
>
>    FLEX-35218 - FlexJS Errors unable to debug
>    <https://issues.apache.org/jira/browse/FLEX-35218>
>
>    2016-12-14 2:38 GMT+01:00 Alex Harui <ah...@adobe.com>:
>
>    > File a bug with a test case.
>    >
>    > On 12/13/16, 5:23 PM, "carlos.rovira@gmail.com on behalf of Carlos
>Rovira"
>    > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
>wrote:
>    >
>    > >> >
>    > >> >Could not find file for class:
>    > >> >org.apache.flex.html.beads.models.ToggleButtonModel
>    > >> >File not found: org.apache.flex.html.beads.mod
>els.ToggleButtonModel
>    > >>
>    > >> This file in not in one of the SWCs in the project, but some code
>needs
>    > >>it.
>    > >
>    > >
>    > >
>    > >But that's not the problem Alex. The change I introduced from one
>    > >successful compilation to one failing is this line in the new
>TextNode.as
>    > >
>    > >var e:HTMLElement = textNode.parentNode;
>    > >e.innerHTML = text;
>    > >
>    > >If I introuduced that and compiler reports that something wrong
>goes
>with
>    > >ToggleButtonModel is clear that something wrong is going in some
>internals
>    > >in falcon...
>    >
>    >
>
>
>    --
>
>    Carlos Rovira
>    Director General
>    M: +34 607 22 60 05
>    http://www.codeoscopic.com
>    http://www.avant2.es
>
>    Este mensaje se dirige exclusivamente a su destinatario y puede
>contener
>    información privilegiada o confidencial. Si ha recibido este mensaje
>por
>    error, le rogamos que nos lo comunique inmediatamente por esta misma
>vía y
>    proceda a su destrucción.
>
>    De la vigente Ley Orgánica de Protección de Datos (15/1999), le
>comunicamos
>    que sus datos forman parte de un fichero cuyo responsable es
>CODEOSCOPIC
>    S.A. La finalidad de dicho tratamiento es facilitar la prestación del
>    servicio o información solicitados, teniendo usted derecho de acceso,
>    rectificación, cancelación y oposición de sus datos dirigiéndose a
>nuestras
>    oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la
>documentación
>    necesaria.


Re: [FlexJS] Compilation error - difficult to debug

Posted by Josh Tynjala <jo...@gmail.com>.
Indeed, Chris, those aren't a waste of time, and no one would disagree with
that. When the compiler errors with a stack trace, that's a serious bug and
should be reported on JIRA.

- Josh


On Dec 15, 2016 3:09 AM, "Christofer Dutz" <ch...@c-ware.de>
wrote:

Hi Carlos,

unfortunately this type of problem often originates from some of the
problems in Falcon. Falcon hadles the case in which code and configuration
is correct nicely. I reported the presence of a lot of problems in Falcon
when compiling not correct code as a large number of execution paths in the
compiler for example are guaranteed to produce NullPointerExceptions if not
compiling correct code. Tracking down these errors is quite frustrating as
due to the NPE the context gets lost (I had to do that quite a lot in order
to get the initial Maven version of the build running).

I still think working on these issues is not a waste of time.

Chris


Am 14.12.16, 19:42 schrieb "carlos.rovira@gmail.com im Auftrag von Carlos
Rovira" <carlos.rovira@gmail.com im Auftrag von
carlos.rovira@codeoscopic.com>:

    Just created one:

    FLEX-35218 - FlexJS Errors unable to debug
    <https://issues.apache.org/jira/browse/FLEX-35218>

    2016-12-14 2:38 GMT+01:00 Alex Harui <ah...@adobe.com>:

    > File a bug with a test case.
    >
    > On 12/13/16, 5:23 PM, "carlos.rovira@gmail.com on behalf of Carlos
Rovira"
    > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
    >
    > >> >
    > >> >Could not find file for class:
    > >> >org.apache.flex.html.beads.models.ToggleButtonModel
    > >> >File not found: org.apache.flex.html.beads.mod
els.ToggleButtonModel
    > >>
    > >> This file in not in one of the SWCs in the project, but some code
needs
    > >>it.
    > >
    > >
    > >
    > >But that's not the problem Alex. The change I introduced from one
    > >successful compilation to one failing is this line in the new
TextNode.as
    > >
    > >var e:HTMLElement = textNode.parentNode;
    > >e.innerHTML = text;
    > >
    > >If I introuduced that and compiler reports that something wrong goes
with
    > >ToggleButtonModel is clear that something wrong is going in some
internals
    > >in falcon...
    >
    >


    --

    Carlos Rovira
    Director General
    M: +34 607 22 60 05
    http://www.codeoscopic.com
    http://www.avant2.es

    Este mensaje se dirige exclusivamente a su destinatario y puede contener
    información privilegiada o confidencial. Si ha recibido este mensaje por
    error, le rogamos que nos lo comunique inmediatamente por esta misma
vía y
    proceda a su destrucción.

    De la vigente Ley Orgánica de Protección de Datos (15/1999), le
comunicamos
    que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
    S.A. La finalidad de dicho tratamiento es facilitar la prestación del
    servicio o información solicitados, teniendo usted derecho de acceso,
    rectificación, cancelación y oposición de sus datos dirigiéndose a
nuestras
    oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
    necesaria.

Re: [FlexJS] Compilation error - difficult to debug

Posted by Josh Tynjala <jo...@gmail.com>.
Indeed, Chris, those definitely aren't a waste of time, and no one would
disagree with this. When the compiler errors with a stack trace, that's a
serious bug and should be reported on JIRA ASAP.

- Josh


On Dec 15, 2016 3:09 AM, "Christofer Dutz" <ch...@c-ware.de>
wrote:

Hi Carlos,

unfortunately this type of problem often originates from some of the
problems in Falcon. Falcon hadles the case in which code and configuration
is correct nicely. I reported the presence of a lot of problems in Falcon
when compiling not correct code as a large number of execution paths in the
compiler for example are guaranteed to produce NullPointerExceptions if not
compiling correct code. Tracking down these errors is quite frustrating as
due to the NPE the context gets lost (I had to do that quite a lot in order
to get the initial Maven version of the build running).

I still think working on these issues is not a waste of time.

Chris


Am 14.12.16, 19:42 schrieb "carlos.rovira@gmail.com im Auftrag von Carlos
Rovira" <carlos.rovira@gmail.com im Auftrag von
carlos.rovira@codeoscopic.com>:

    Just created one:

    FLEX-35218 - FlexJS Errors unable to debug
    <https://issues.apache.org/jira/browse/FLEX-35218>

    2016-12-14 2:38 GMT+01:00 Alex Harui <ah...@adobe.com>:

    > File a bug with a test case.
    >
    > On 12/13/16, 5:23 PM, "carlos.rovira@gmail.com on behalf of Carlos
Rovira"
    > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
    >
    > >> >
    > >> >Could not find file for class:
    > >> >org.apache.flex.html.beads.models.ToggleButtonModel
    > >> >File not found: org.apache.flex.html.beads.
models.ToggleButtonModel
    > >>
    > >> This file in not in one of the SWCs in the project, but some code
needs
    > >>it.
    > >
    > >
    > >
    > >But that's not the problem Alex. The change I introduced from one
    > >successful compilation to one failing is this line in the new
TextNode.as
    > >
    > >var e:HTMLElement = textNode.parentNode;
    > >e.innerHTML = text;
    > >
    > >If I introuduced that and compiler reports that something wrong goes
with
    > >ToggleButtonModel is clear that something wrong is going in some
internals
    > >in falcon...
    >
    >


    --

    Carlos Rovira
    Director General
    M: +34 607 22 60 05
    http://www.codeoscopic.com
    http://www.avant2.es

    Este mensaje se dirige exclusivamente a su destinatario y puede contener
    información privilegiada o confidencial. Si ha recibido este mensaje por
    error, le rogamos que nos lo comunique inmediatamente por esta misma
vía y
    proceda a su destrucción.

    De la vigente Ley Orgánica de Protección de Datos (15/1999), le
comunicamos
    que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
    S.A. La finalidad de dicho tratamiento es facilitar la prestación del
    servicio o información solicitados, teniendo usted derecho de acceso,
    rectificación, cancelación y oposición de sus datos dirigiéndose a
nuestras
    oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
    necesaria.

Re: [FlexJS] Compilation error - difficult to debug

Posted by Carlos Rovira <ca...@codeoscopic.com>.
Hi Chris,

I assume that this is a compiler problem, so whatever build tool will be
affected by the same problem. Didn't try to build with ANT but I suppose
that this will make the same effect that MAVEN. I think as well that this
kind of errors needs to be addressed since is the main point of our
position "use our languages and compilers and you will get info about
what's happening without the need of discovering yourself", and this
problem makes the developer with the task of make that discovering himself
so not getting nothing better than using HTML/JS directly.

Thanks

Carlos


2016-12-15 12:09 GMT+01:00 Christofer Dutz <ch...@c-ware.de>:

> Hi Carlos,
>
> unfortunately this type of problem often originates from some of the
> problems in Falcon. Falcon hadles the case in which code and configuration
> is correct nicely. I reported the presence of a lot of problems in Falcon
> when compiling not correct code as a large number of execution paths in the
> compiler for example are guaranteed to produce NullPointerExceptions if not
> compiling correct code. Tracking down these errors is quite frustrating as
> due to the NPE the context gets lost (I had to do that quite a lot in order
> to get the initial Maven version of the build running).
>
> I still think working on these issues is not a waste of time.
>
> Chris
>
>
> Am 14.12.16, 19:42 schrieb "carlos.rovira@gmail.com im Auftrag von Carlos
> Rovira" <carlos.rovira@gmail.com im Auftrag von
> carlos.rovira@codeoscopic.com>:
>
>     Just created one:
>
>     FLEX-35218 - FlexJS Errors unable to debug
>     <https://issues.apache.org/jira/browse/FLEX-35218>
>
>     2016-12-14 2:38 GMT+01:00 Alex Harui <ah...@adobe.com>:
>
>     > File a bug with a test case.
>     >
>     > On 12/13/16, 5:23 PM, "carlos.rovira@gmail.com on behalf of Carlos
> Rovira"
>     > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org>
> wrote:
>     >
>     > >> >
>     > >> >Could not find file for class:
>     > >> >org.apache.flex.html.beads.models.ToggleButtonModel
>     > >> >File not found: org.apache.flex.html.beads.
> models.ToggleButtonModel
>     > >>
>     > >> This file in not in one of the SWCs in the project, but some code
> needs
>     > >>it.
>     > >
>     > >
>     > >
>     > >But that's not the problem Alex. The change I introduced from one
>     > >successful compilation to one failing is this line in the new
> TextNode.as
>     > >
>     > >var e:HTMLElement = textNode.parentNode;
>     > >e.innerHTML = text;
>     > >
>     > >If I introuduced that and compiler reports that something wrong
> goes with
>     > >ToggleButtonModel is clear that something wrong is going in some
> internals
>     > >in falcon...
>     >
>     >
>
>
>     --
>
>     Carlos Rovira
>     Director General
>     M: +34 607 22 60 05
>     http://www.codeoscopic.com
>     http://www.avant2.es
>
>     Este mensaje se dirige exclusivamente a su destinatario y puede
> contener
>     información privilegiada o confidencial. Si ha recibido este mensaje
> por
>     error, le rogamos que nos lo comunique inmediatamente por esta misma
> vía y
>     proceda a su destrucción.
>
>     De la vigente Ley Orgánica de Protección de Datos (15/1999), le
> comunicamos
>     que sus datos forman parte de un fichero cuyo responsable es
> CODEOSCOPIC
>     S.A. La finalidad de dicho tratamiento es facilitar la prestación del
>     servicio o información solicitados, teniendo usted derecho de acceso,
>     rectificación, cancelación y oposición de sus datos dirigiéndose a
> nuestras
>     oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
>     necesaria.
>
>
>


-- 

Carlos Rovira
Director General
M: +34 607 22 60 05
http://www.codeoscopic.com
http://www.avant2.es

Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.

Re: [FlexJS] Compilation error - difficult to debug

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Carlos,

unfortunately this type of problem often originates from some of the problems in Falcon. Falcon hadles the case in which code and configuration is correct nicely. I reported the presence of a lot of problems in Falcon when compiling not correct code as a large number of execution paths in the compiler for example are guaranteed to produce NullPointerExceptions if not compiling correct code. Tracking down these errors is quite frustrating as due to the NPE the context gets lost (I had to do that quite a lot in order to get the initial Maven version of the build running). 

I still think working on these issues is not a waste of time.

Chris


Am 14.12.16, 19:42 schrieb "carlos.rovira@gmail.com im Auftrag von Carlos Rovira" <carlos.rovira@gmail.com im Auftrag von carlos.rovira@codeoscopic.com>:

    Just created one:
    
    FLEX-35218 - FlexJS Errors unable to debug
    <https://issues.apache.org/jira/browse/FLEX-35218>
    
    2016-12-14 2:38 GMT+01:00 Alex Harui <ah...@adobe.com>:
    
    > File a bug with a test case.
    >
    > On 12/13/16, 5:23 PM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
    > <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
    >
    > >> >
    > >> >Could not find file for class:
    > >> >org.apache.flex.html.beads.models.ToggleButtonModel
    > >> >File not found: org.apache.flex.html.beads.models.ToggleButtonModel
    > >>
    > >> This file in not in one of the SWCs in the project, but some code needs
    > >>it.
    > >
    > >
    > >
    > >But that's not the problem Alex. The change I introduced from one
    > >successful compilation to one failing is this line in the new TextNode.as
    > >
    > >var e:HTMLElement = textNode.parentNode;
    > >e.innerHTML = text;
    > >
    > >If I introuduced that and compiler reports that something wrong goes with
    > >ToggleButtonModel is clear that something wrong is going in some internals
    > >in falcon...
    >
    >
    
    
    -- 
    
    Carlos Rovira
    Director General
    M: +34 607 22 60 05
    http://www.codeoscopic.com
    http://www.avant2.es
    
    Este mensaje se dirige exclusivamente a su destinatario y puede contener
    información privilegiada o confidencial. Si ha recibido este mensaje por
    error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
    proceda a su destrucción.
    
    De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
    que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
    S.A. La finalidad de dicho tratamiento es facilitar la prestación del
    servicio o información solicitados, teniendo usted derecho de acceso,
    rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
    oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
    necesaria.
    


Re: [FlexJS] Compilation error - difficult to debug

Posted by Carlos Rovira <ca...@codeoscopic.com>.
Just created one:

FLEX-35218 - FlexJS Errors unable to debug
<https://issues.apache.org/jira/browse/FLEX-35218>

2016-12-14 2:38 GMT+01:00 Alex Harui <ah...@adobe.com>:

> File a bug with a test case.
>
> On 12/13/16, 5:23 PM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
> <carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:
>
> >> >
> >> >Could not find file for class:
> >> >org.apache.flex.html.beads.models.ToggleButtonModel
> >> >File not found: org.apache.flex.html.beads.models.ToggleButtonModel
> >>
> >> This file in not in one of the SWCs in the project, but some code needs
> >>it.
> >
> >
> >
> >But that's not the problem Alex. The change I introduced from one
> >successful compilation to one failing is this line in the new TextNode.as
> >
> >var e:HTMLElement = textNode.parentNode;
> >e.innerHTML = text;
> >
> >If I introuduced that and compiler reports that something wrong goes with
> >ToggleButtonModel is clear that something wrong is going in some internals
> >in falcon...
>
>


-- 

Carlos Rovira
Director General
M: +34 607 22 60 05
http://www.codeoscopic.com
http://www.avant2.es

Este mensaje se dirige exclusivamente a su destinatario y puede contener
información privilegiada o confidencial. Si ha recibido este mensaje por
error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos
que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC
S.A. La finalidad de dicho tratamiento es facilitar la prestación del
servicio o información solicitados, teniendo usted derecho de acceso,
rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras
oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación
necesaria.

Re: [FlexJS] Compilation error - difficult to debug

Posted by Alex Harui <ah...@adobe.com>.
File a bug with a test case.

On 12/13/16, 5:23 PM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:

>> >
>> >Could not find file for class:
>> >org.apache.flex.html.beads.models.ToggleButtonModel
>> >File not found: org.apache.flex.html.beads.models.ToggleButtonModel
>>
>> This file in not in one of the SWCs in the project, but some code needs
>>it.
>
>
>
>But that's not the problem Alex. The change I introduced from one
>successful compilation to one failing is this line in the new TextNode.as
>
>var e:HTMLElement = textNode.parentNode;
>e.innerHTML = text;
>
>If I introuduced that and compiler reports that something wrong goes with
>ToggleButtonModel is clear that something wrong is going in some internals
>in falcon...


Re: [FlexJS] Compilation error - difficult to debug

Posted by Carlos Rovira <ca...@apache.org>.
> >
> >Could not find file for class:
> >org.apache.flex.html.beads.models.ToggleButtonModel
> >File not found: org.apache.flex.html.beads.models.ToggleButtonModel
>
> This file in not in one of the SWCs in the project, but some code needs it.



But that's not the problem Alex. The change I introduced from one
successful compilation to one failing is this line in the new TextNode.as

var e:HTMLElement = textNode.parentNode;
e.innerHTML = text;

If I introuduced that and compiler reports that something wrong goes with
ToggleButtonModel is clear that something wrong is going in some internals
in falcon...

Re: [FlexJS] Compilation error - difficult to debug

Posted by Alex Harui <ah...@adobe.com>.

On 12/13/16, 4:32 PM, "carlos.rovira@gmail.com on behalf of Carlos Rovira"
<carlos.rovira@gmail.com on behalf of carlosrovira@apache.org> wrote:

Do you mean this part?

>
>Could not find file for class:
>org.apache.flex.html.beads.models.ToggleButtonModel
>File not found: org.apache.flex.html.beads.models.ToggleButtonModel

This file in not in one of the SWCs in the project, but some code needs it.

-Alex