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_1980720264 is not defined. ReferenceError: Error #1065: Variable _CursorManagerStyle__embed_css_Assets_swf_mx_skins_cursor_BusyCursor_1817341252 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(DefaultLifecycleExecutor.java:583) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.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:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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:209) 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/ -~----------~----~----~----~------~----~------~--~---
