It does launch debugger flash player? If not, can you change to use debug
player?  Get any error on player side?


VELO


On 12/25/08, alexander nemtsov <[email protected]> wrote:
>
>
> my pom without flexunit-optional, but i have some problems.
> swf with TestRunner starts, but not closing.
>
> here is full console output.
>
>
>
>
> /System/Library/Frameworks/JavaVM.framework/Home/bin/java -Xms128m -
> Xmx256m -Dclassworlds.conf=/usr/share/maven/bin/m2.conf -Dmaven.home=/
> usr/share/maven -Dfile.encoding=MacRoman -classpath /usr/share/maven/
> boot/classworlds-1.1.jar org.codehaus.classworlds.Launcher --no-plugin-
> registry --fail-fast --no-plugin-updates --strict-checksums -f /Users/
> magius/IdeaProjects/orchidea/orchidea-core/pom.xml install
> + Enabling strict checksum verification on all artifact downloads.
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Orchidea
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [html-wrapper-mojo:wrapper {execution: default}]
> [INFO] Flex-mojos 2.0M10 - GNU GPL License (NO WARRANTY) - See
> COPYRIGHT file
> [INFO] Extracting template
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [flex-compiler-mojo:compile-swf]
> [INFO] Flex-mojos 2.0M10 - GNU GPL License (NO WARRANTY) - See
> COPYRIGHT file
> [WARNING] Source file was not defined, flex-mojos will guess one.
> [WARNING] Not defined if locales should be merged or not
> [INFO] Using configuration file /Users/magius/IdeaProjects/orchidea/
> orchidea-core/target/classes/config.xml
> [INFO] Flex compiler configurations:
> -compiler.accessible=false
> -compiler.actionscript-file-encoding UTF-8
> -compiler.allow-source-path-overlap=false
> -compiler.as3=true
> -compiler.debug=true
> -compiler.es=false
> -compiler.external-library-path /Users/magius/IdeaProjects/orchidea/
> orchidea-core/target/classes/libraries/playerglobal.swc
> -compiler.fonts.local-fonts-snapshot /Users/magius/IdeaProjects/
> orchidea/orchidea-core/target/classes/fonts.ser
> -compiler.headless-server=false
> -compiler.include-libraries /Users/magius/.m2/repository/com/asfusion/
> mate/0.8.5/mate-0.8.5.swc /Users/magius/.m2/repository/org/degrafa/
> degrafa/2.11/degrafa-2.11.swc
> -compiler.keep-all-type-selectors=false
> -compiler.keep-generated-actionscript=false
> -compiler.library-path /Users/magius/.m2/repository/com/adobe/flex/
> framework/applicationupdater/3.2.0.3643/
> applicationupdater-3.2.0.3643.swc /Users/magius/.m2/repository/com/
> adobe/flex/framework/applicationupdater_ui/3.2.0.3643/
> applicationupdater_ui-3.2.0.3643.swc /Users/magius/.m2/repository/com/
> adobe/flex/framework/flex/3.2.0.3643/flex-3.2.0.3643.swc /Users/
> magius/.m2/repository/com/adobe/flex/framework/framework/3.2.0.3643/
> framework-3.2.0.3643.swc /Users/magius/.m2/repository/com/adobe/flex/
> framework/rpc/3.2.0.3643/rpc-3.2.0.3643.swc /Users/magius/.m2/
> repository/com/adobe/flex/framework/utilities/3.2.0.3643/
> utilities-3.2.0.3643.swc /Users/magius/.m2/repository/com/adobe/flex/
> framework/rpc/3.2.0.3643/rpc-3.2.0.3643-en_US.rb.swc /Users/magius/.m2/
> repository/com/adobe/flex/framework/framework/3.2.0.3643/
> framework-3.2.0.3643-en_US.rb.swc
> -compiler.locale en_US
> -compiler.namespaces.namespace http://www.adobe.com/2006/mxml /Users/
> magius/IdeaProjects/orchidea/orchidea-core/target/classes/configs/mxml-
> manifest.xml
> -compiler.optimize=true
> -compiler.show-actionscript-warnings=true
> -compiler.show-binding-warnings=true
> -compiler.show-deprecation-warnings=true
> -compiler.show-shadowed-device-font-warnings=true
> -compiler.show-unused-type-selector-warnings=true
> -compiler.source-path /Users/magius/IdeaProjects/orchidea/orchidea-
> core/src/main/flex
> -compiler.strict=true
> -compiler.use-resource-bundle-metadata=true
> -compiler.verbose-stacktraces=false
> -compiler.warn-array-tostring-changes=false
> -compiler.warn-assignment-within-conditional=true
> -compiler.warn-bad-array-cast=true
> -compiler.warn-bad-bool-assignment=true
> -compiler.warn-bad-date-cast=true
> -compiler.warn-bad-es3-type-method=true
> -compiler.warn-bad-es3-type-prop=true
> -compiler.warn-bad-nan-comparison=true
> -compiler.warn-bad-null-assignment=true
> -compiler.warn-bad-null-comparison=true
> -compiler.warn-bad-undefined-comparison=true
> -compiler.warn-boolean-constructor-with-no-args=false
> -compiler.warn-changes-in-resolve=false
> -compiler.warn-class-is-sealed=true
> -compiler.warn-const-not-initialized=true
> -compiler.warn-constructor-returns-value=false
> -compiler.warn-deprecated-event-handler-error=false
> -compiler.warn-deprecated-function-error=true
> -compiler.warn-deprecated-property-error=true
> -compiler.warn-duplicate-argument-names=true
> -compiler.warn-duplicate-variable-def=true
> -compiler.warn-for-var-in-changes=false
> -compiler.warn-import-hides-class=true
> -compiler.warn-instance-of-changes=true
> -compiler.warn-internal-error=true
> -compiler.warn-level-not-supported=true
> -compiler.warn-missing-namespace-decl=true
> -compiler.warn-negative-uint-literal=true
> -compiler.warn-no-constructor=false
> -compiler.warn-no-explicit-super-call-in-constructor=false
> -compiler.warn-no-type-decl=true
> -compiler.warn-number-from-string-changes=false
> -compiler.warn-scoping-change-in-this=false
> -compiler.warn-slow-text-field-addition=true
> -compiler.warn-unlikely-function-value=true
> -compiler.warn-xml-class-has-changed=false
> -default-background-color 8821927
> -default-frame-rate 24
> -default-script-limits 1000 60
> -default-size 500 375
> -licenses.license flexbuilder3 137741631580545334606998
> -licenses.license flexbuilder3.displayedFirstLaunchMessage true
> -load-config /Users/magius/IdeaProjects/orchidea/orchidea-core/target/
> classes/config.xml
> -metadata.date Thu Dec 25 23:21:00 NOVT 2008
> -target-player 10.0.0
> -use-network=true
> -verify-digests=true
> [INFO] Loading configuration file /Users/magius/IdeaProjects/orchidea/
> orchidea-core/target/classes/config.xml
> [INFO] Already trust on /Users/magius/IdeaProjects/orchidea/orchidea-
> core/target/orchidea-core-1.0.swf
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [flex-compiler-mojo:test-compile]
> [INFO] Flex-mojos 2.0M10 - GNU GPL License (NO WARRANTY) - See
> COPYRIGHT file
> [WARNING] Not defined if locales should be merged or not
> [INFO] Using configuration file /Users/magius/IdeaProjects/orchidea/
> orchidea-core/target/classes/config.xml
> [INFO] Flex compiler configurations:
> -compiler.accessible=false
> -compiler.actionscript-file-encoding UTF-8
> -compiler.allow-source-path-overlap=true
> -compiler.as3=true
> -compiler.debug=true
> -compiler.es=false
> -compiler.external-library-path /Users/magius/IdeaProjects/orchidea/
> orchidea-core/target/classes/libraries/playerglobal.swc
> -compiler.fonts.local-fonts-snapshot /Users/magius/IdeaProjects/
> orchidea/orchidea-core/target/classes/fonts.ser
> -compiler.headless-server=false
> -compiler.include-libraries /Users/magius/.m2/repository/com/asfusion/
> mate/0.8.5/mate-0.8.5.swc /Users/magius/.m2/repository/org/degrafa/
> degrafa/2.11/degrafa-2.11.swc /Users/magius/.m2/repository/flexunit/
> flexunit/0.9/flexunit-0.9.swc /Users/magius/.m2/repository/info/flex-
> mojos/testing-support/2.0M10/testing-support-2.0M10.swc /Users/
> magius/.m2/repository/org/funit/funit/0.50.0245/funit-0.50.0245.swc /
> Users/magius/.m2/repository/com/swirlyvision/swirly-vision/1.0/swirly-
> vision-1.0.swc /Users/magius/.m2/repository/net/digitalprimates/fluint/
> v1/fluint-v1.swc /Users/magius/.m2/repository/com/asunit/asunit/
> 20071011/asunit-20071011.swc /Users/magius/.m2/repository/advancedflex/
> debugger/0.2alpha2/debugger-0.2alpha2.swc
> -compiler.keep-all-type-selectors=false
> -compiler.keep-generated-actionscript=false
> -compiler.library-path /Users/magius/.m2/repository/com/adobe/flex/
> framework/applicationupdater/3.2.0.3643/
> applicationupdater-3.2.0.3643.swc /Users/magius/.m2/repository/com/
> adobe/flex/framework/applicationupdater_ui/3.2.0.3643/
> applicationupdater_ui-3.2.0.3643.swc /Users/magius/.m2/repository/com/
> adobe/flex/framework/flex/3.2.0.3643/flex-3.2.0.3643.swc /Users/
> magius/.m2/repository/com/adobe/flex/framework/framework/3.2.0.3643/
> framework-3.2.0.3643.swc /Users/magius/.m2/repository/com/adobe/flex/
> framework/rpc/3.2.0.3643/rpc-3.2.0.3643.swc /Users/magius/.m2/
> repository/com/adobe/flex/framework/utilities/3.2.0.3643/
> utilities-3.2.0.3643.swc /Users/magius/.m2/repository/com/adobe/flex/
> framework/rpc/3.2.0.3643/rpc-3.2.0.3643-en_US.rb.swc /Users/magius/.m2/
> repository/com/adobe/flex/framework/framework/3.2.0.3643/
> framework-3.2.0.3643-en_US.rb.swc /Users/magius/.m2/repository/com/
> adobe/flex/framework/rpc/3.2.0.3643/rpc-3.2.0.3643-en_US.rb.swc /Users/
> magius/.m2/repository/com/adobe/flex/framework/framework/3.2.0.3643/
> framework-3.2.0.3643-en_US.rb.swc
> -compiler.locale en_US
> -compiler.namespaces.namespace http://www.adobe.com/2006/mxml /Users/
> magius/IdeaProjects/orchidea/orchidea-core/target/classes/configs/mxml-
> manifest.xml
> -compiler.optimize=true
> -compiler.show-actionscript-warnings=true
> -compiler.show-binding-warnings=true
> -compiler.show-deprecation-warnings=true
> -compiler.show-shadowed-device-font-warnings=true
> -compiler.show-unused-type-selector-warnings=true
> -compiler.source-path /Users/magius/IdeaProjects/orchidea/orchidea-
> core/src/main/flex /Users/magius/IdeaProjects/orchidea/orchidea-core/
> target/test-classes /Users/magius/IdeaProjects/orchidea/orchidea-core/
> src/test/flex
> -compiler.strict=true
> -compiler.use-resource-bundle-metadata=true
> -compiler.verbose-stacktraces=false
> -compiler.warn-array-tostring-changes=false
> -compiler.warn-assignment-within-conditional=true
> -compiler.warn-bad-array-cast=true
> -compiler.warn-bad-bool-assignment=true
> -compiler.warn-bad-date-cast=true
> -compiler.warn-bad-es3-type-method=true
> -compiler.warn-bad-es3-type-prop=true
> -compiler.warn-bad-nan-comparison=true
> -compiler.warn-bad-null-assignment=true
> -compiler.warn-bad-null-comparison=true
> -compiler.warn-bad-undefined-comparison=true
> -compiler.warn-boolean-constructor-with-no-args=false
> -compiler.warn-changes-in-resolve=false
> -compiler.warn-class-is-sealed=true
> -compiler.warn-const-not-initialized=true
> -compiler.warn-constructor-returns-value=false
> -compiler.warn-deprecated-event-handler-error=false
> -compiler.warn-deprecated-function-error=true
> -compiler.warn-deprecated-property-error=true
> -compiler.warn-duplicate-argument-names=true
> -compiler.warn-duplicate-variable-def=true
> -compiler.warn-for-var-in-changes=false
> -compiler.warn-import-hides-class=true
> -compiler.warn-instance-of-changes=true
> -compiler.warn-internal-error=true
> -compiler.warn-level-not-supported=true
> -compiler.warn-missing-namespace-decl=true
> -compiler.warn-negative-uint-literal=true
> -compiler.warn-no-constructor=false
> -compiler.warn-no-explicit-super-call-in-constructor=false
> -compiler.warn-no-type-decl=true
> -compiler.warn-number-from-string-changes=false
> -compiler.warn-scoping-change-in-this=false
> -compiler.warn-slow-text-field-addition=true
> -compiler.warn-unlikely-function-value=true
> -compiler.warn-xml-class-has-changed=false
> -default-background-color 8821927
> -default-frame-rate 24
> -default-script-limits 1000 60
> -default-size 500 375
> -licenses.license flexbuilder3 137741631580545334606998
> -licenses.license flexbuilder3.displayedFirstLaunchMessage true
> -load-config /Users/magius/IdeaProjects/orchidea/orchidea-core/target/
> classes/config.xml
> -metadata.date Thu Dec 25 23:21:14 NOVT 2008
> -target-player 10.0.0
> -use-network=true
> -verify-digests=true
> [INFO] Loading configuration file /Users/magius/IdeaProjects/orchidea/
> orchidea-core/target/classes/config.xml
> [INFO] Already trust on /Users/magius/IdeaProjects/orchidea/orchidea-
> core/target/test-classes/TestRunner.swf
> [INFO] [flex-compiler-mojo:test-run]
> [INFO] Flex-mojos 2.0M10 - GNU GPL License (NO WARRANTY) - See
> COPYRIGHT file
> [INFO] flexunit setup args: null
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] timeout waiting for flexunit report
>
> Embedded error: Accept timed out
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 33 seconds
> [INFO] Finished at: Thu Dec 25 23:22:23 NOVT 2008
> [INFO] Final Memory: 17M/135M
> [INFO]
> ------------------------------------------------------------------------
>
> Process finished with exit code 1
>
>
>
>
>
>
>
>
> On Dec 25, 1:29 am, "Marvin Froeder" <[email protected]> wrote:
> > Remove flexunit-optional and try again.
> >
> > If still with problems attach the full console output.
> >
> > VELO
> >
> > On Wed, Dec 24, 2008 at 5:22 PM, Handerson Gomes
> > <[email protected]>wrote:
> >
> > > I'm having some issues with flexunit timeout also.
> > > When I run mvn clean package the FlashPlayer is loaded but it displays
> > > actionScript errors like:
> > > VerifyError: Error #1079: Native methods are not allowed in loaded
> code.
> > > ReferenceError: Error #1065: Variable
> _TestRunner_mx_managers_SystemManager
> > > is not defined.
> > > VerifyError: Error #1079: Native methods are not allowed in loaded
> code.
> > > ReferenceError: Error #1065: Variable
> > >
> _CursorManagerStyle__embed_css_Assets_swf_mx_skins_cursor_BusyCursor_198072
> 0264
> > > is not defined.
> > > ReferenceError: Error #1065: Variable
> > >
> _CursorManagerStyle__embed_css_Assets_swf_mx_skins_cursor_BusyCursor_181734
> 1252
> > > is not defined.
> >
> > > Then the last messages on the Log are:
> > > [INFO] Loading configuration file C:\Documents and
> > > Settings\user1\DashboardFlex\target\classes\config.xml
> > > [INFO] Written link report to C:\Documents and
> > > Settings\user1\DashboardFlex\target\EADashboardFlex-0.1-link-report.xml
> > > [INFO] Written config report to C:\Documents and
> > >
> Settings\user1\DashboardFlex\target\EADashboardFlex-0.1-config-report.xml
> > > [INFO] [flex-compiler-mojo:test-run]
> > > opened server socket
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] timeout waiting for flexunit report
> > > Embedded error: Accept timed out
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] For more information, run Maven with the -e switch
> >
> > > The same FlashPlayer errors are displayed when I run the
> > > target/test-classes/TestRunner.swf directly.
> >
> > > I'm have the following dependencies on my pom.xml (besides regular
> > > com.adobe.flex) stuff:
> >
> > > <dependency>
> > >   <groupId>info.flex-mojos</groupId>
> > >   <artifactId>testing-support</artifactId>
> > >   <version>2.0M10</version>
> > >   <type>swc</type>
> > >   <scope>test</scope>
> > > </dependency>
> > > <dependency>
> > >   <groupId>flexunit.junit</groupId>
> > >   <artifactId>flexunit-optional</artifactId>
> > >   <version>0.85</version>
> > >   <type>swc</type>
> > >   <scope>test</scope>
> > > </dependency>
> > > <dependency>
> > >   <groupId>com.adobe.cairngorm</groupId>
> > >   <artifactId>cairngorm-bin</artifactId>
> > >   <version>2.2.1</version>
> > >   <type>swc</type>
> > > </dependency>
> > > <dependency>
> > >   <groupId>com.adobe.flexunit</groupId>
> > >   <artifactId>flexunit</artifactId>
> > >   <type>swc</type>
> > >   <version>0.9</version>
> > >   <scope>test</scope>
> > > </dependency>
> >
> > > I'm not sure what to try from here.
> > > I don't even know if the "timeout waiting for flexunit report" is
> related
> > > to the ActionScripts errors.
> >
> > > The Debug Details:
> >
> > > Embedded error: Accept timed out
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [DEBUG] Trace
> > > org.apache.maven.lifecycle.LifecycleExecutionException: timeout waiting
> for
> > > flexunit report
> > > at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLif
> ecycleExecutor.java:583)
> > >  at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycl
> e(DefaultLifecycleExecutor.java:499)
> > >  at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLife
> cycleExecutor.java:478)
> > >  at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFai
> lures(DefaultLifecycleExecutor.java:330)
> > >  at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Def
> aultLifecycleExecutor.java:291)
> > >  at
> > >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycl
> eExecutor.java:142)
> > >  at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
> > >  at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
> > >  at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
> > >  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >  at
> > >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
> 9)
> > >  at
> > >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
> l.java:25)
> > >  at java.lang.reflect.Method.invoke(Method.java:585)
> > >  at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > >  at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > >  at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > >  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > > Caused by: org.apache.maven.plugin.MojoExecutionException: timeout
> waiting
> > > for flexunit report
> > > at info.rvin.flexmojo.test.FlexUnitMojo$1.run(FlexUnitMojo.java:143)
> > > Caused by: java.net.SocketTimeoutException: Accept timed out
> > > at java.net.PlainSocketImpl.socketAccept(Native Method)
> > >  at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
> > >  at java.net.ServerSocket.implAccept(ServerSocket.java:450)
> > >  at java.net.ServerSocket.accept(ServerSocket.java:421)
> > >  at
> > >
> info.rvin.flexmojo.test.FlexUnitMojo$1.openClientSocket(FlexUnitMojo.java:2
> 09)
> > >  at info.rvin.flexmojo.test.FlexUnitMojo$1.run(FlexUnitMojo.java:109)
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> >
> > > Thanks,
> >
> > > Handerson
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to