Do you have a binary "flashplayer.exe" available on your path? So if you open a cmd and simply type "flashplayer" does the flashplayer open? And if you are running on a CI Build, does the user the CI Server runs as have permission to start the FP?
Chris 2012/12/6 Murray Furtado <[email protected]> > No, this is running on Windows. > > > On Wednesday, 5 December 2012 12:36:40 UTC, Christofer Dutz wrote: > >> Hi, >> Are you building on Linux? I did add some additional debug information in >> flexmojos 5.x and 6.x perhaps this would provide you with a little more >> information. >> >> Chris >> Am 05.12.2012 12:40 schrieb "Murray Furtado" <[email protected]>: >> >>> Hi, we've started seeing the following exception when running unit tests >>> using flexmojos 4.2-beta with flex version 4.5.1.21328 and flexunit >>> 4.1-RC2. Can anyone help by telling us what this return code means and >>> what our problem might be? >>> >>> Thanks! >>> >>> ugin:4.2-beta:test-run (default-test-run) on project indigo-swc: >>> Unexpected return code 3 - C:\Development\Flex Dev >>> elopment\indigo\indigo-swc\**target\test-classes\**TestRunner.swf >>> at org.apache.maven.lifecycle.**internal.MojoExecutor.execute(** >>> MojoExecutor.java:217) >>> at org.apache.maven.lifecycle.**internal.MojoExecutor.execute(** >>> MojoExecutor.java:153) >>> at org.apache.maven.lifecycle.**internal.MojoExecutor.execute(** >>> MojoExecutor.java:145) >>> at org.apache.maven.lifecycle.**internal.** >>> LifecycleModuleBuilder.**buildProject(**LifecycleModuleBuilder.java:** >>> 84) >>> at org.apache.maven.lifecycle.**internal.** >>> LifecycleModuleBuilder.**buildProject(**LifecycleModuleBuilder.java:** >>> 59) >>> at org.apache.maven.lifecycle.**internal.LifecycleStarter.** >>> singleThreadedBuild(**LifecycleStarter.java:183) >>> at org.apache.maven.lifecycle.**internal.LifecycleStarter.** >>> execute(LifecycleStarter.java:**161) >>> at org.apache.maven.DefaultMaven.**doExecute(DefaultMaven.java:* >>> *319) >>> at org.apache.maven.DefaultMaven.** >>> execute(DefaultMaven.java:156) >>> at org.apache.maven.cli.MavenCli.**execute(MavenCli.java:537) >>> at org.apache.maven.cli.MavenCli.**doMain(MavenCli.java:196) >>> at org.apache.maven.cli.MavenCli.**main(MavenCli.java:141) >>> 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:597) >>> at org.codehaus.plexus.**classworlds.launcher.Launcher.** >>> launchEnhanced(Launcher.java:**290) >>> at org.codehaus.plexus.**classworlds.launcher.Launcher.** >>> launch(Launcher.java:230) >>> at org.codehaus.plexus.**classworlds.launcher.Launcher.** >>> mainWithExitCode(Launcher.**java:409) >>> at org.codehaus.plexus.**classworlds.launcher.Launcher.** >>> main(Launcher.java:352) >>> Caused by: org.apache.maven.plugin.**MojoExecutionException: Unexpected >>> return code 3 - C:\Development\Flex Developme >>> nt\indigo\indigo-swc\target\**test-classes\TestRunner.swf >>> at org.sonatype.flexmojos.plugin.**test.TestRunMojo.tearDown(** >>> TestRunMojo.java:420) >>> at org.sonatype.flexmojos.plugin.**test.TestRunMojo.execute_** >>> aroundBody0(TestRunMojo.java:**245) >>> at org.sonatype.flexmojos.plugin.**test.TestRunMojo.execute_** >>> aroundBody1$advice(**TestRunMojo.java:24) >>> at org.sonatype.flexmojos.plugin.**test.TestRunMojo.execute_** >>> aroundBody2(TestRunMojo.java:**231) >>> at org.sonatype.flexmojos.plugin.**test.TestRunMojo.execute_** >>> aroundBody3$advice(**TestRunMojo.java:17) >>> at org.sonatype.flexmojos.plugin.**test.TestRunMojo.execute(** >>> TestRunMojo.java:1) >>> at org.apache.maven.plugin.**DefaultBuildPluginManager.** >>> executeMojo(**DefaultBuildPluginManager.**java:101) >>> at org.apache.maven.lifecycle.**internal.MojoExecutor.execute(** >>> MojoExecutor.java:209) >>> ... 19 more >>> Caused by: org.sonatype.flexmojos.test.**TestRunnerException: >>> Unexpected return code 3 - C:\Development\Flex Developm >>> ent\indigo\indigo-swc\target\**test-classes\TestRunner.swf >>> at org.sonatype.flexmojos.test.**DefaultTestRunner.run(** >>> DefaultTestRunner.java:67) >>> at org.sonatype.flexmojos.plugin.**test.TestRunMojo.runTest(** >>> TestRunMojo.java:381) >>> at org.sonatype.flexmojos.plugin.**test.TestRunMojo.runTest(** >>> TestRunMojo.java:349) >>> at org.sonatype.flexmojos.plugin.**test.TestRunMojo.runTests(** >>> TestRunMojo.java:404) >>> at org.sonatype.flexmojos.plugin.**test.TestRunMojo.run(** >>> TestRunMojo.java:292) >>> at org.sonatype.flexmojos.plugin.**test.TestRunMojo.execute_** >>> aroundBody0(TestRunMojo.java:**244) >>> ... 25 more >>> Caused by: java.lang.Error: Unexpected return code 3 >>> at org.sonatype.flexmojos.test.**launcher.AsVmLauncher.** >>> processExitCode(AsVmLauncher.**java:134) >>> at org.sonatype.flexmojos.test.**launcher.AsVmLauncher.run(** >>> AsVmLauncher.java:158) >>> at java.lang.Thread.run(Thread.**java:619) >>> >>> -- >>> 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 >>> flex-mojos+...@**googlegroups.com >>> >>> For more options, visit this group at >>> http://groups.google.com/**group/flex-mojos<http://groups.google.com/group/flex-mojos> >>> >>> http://flexmojos.sonatype.org/ >>> >> -- > 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 > > http://flexmojos.sonatype.org/ > -- 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 http://flexmojos.sonatype.org/
