Hi,
I am getting the exact same problem. I believe I am not using the
latest version of Flex Unit.

Thanks


On Oct 6, 1:44 am, Skampler <[email protected]> wrote:
> I have uploaded a sample to MU (I didn't know where to put 
> this):http://www.megaupload.com/?d=4X58WJZF
>
> The project only has a suite and a dummy test.
>
> On 5 oct, 16:40, Marvin Froeder <[email protected]> wrote:
>
> > No, should not.... do you have a sample of this problem?  So I can debug and
> > figureoutwhat is going on?
>
> > On Mon, Oct 5, 2009 at 11:14 AM, Skampler <[email protected]> wrote:
>
> > > Hi,
>
> > >  I'm getting this error when I try to run a FlexUnit4 test suite with
> > > only one easy test:
>
> > >  'org.sonatype.flexmojos.test.TestRunnerException:Accepttimedout'
>
> > >  The flash player window opens and the suite is executed
> > > successfully, but, after completion, it remains in this loop:
>
> > > [DEBUG] [MOJO] resultHandler STARTED
> > > [DEBUG] [MOJO] launcher RUNNING
> > > ...
>
> > >  Until it does a timeout.
>
> > >  My pom looks like this:
>
> > > <plugin>
> > >                        <groupId>org.sonatype.flexmojos</groupId>
> > >                        <artifactId>flexmojos-maven-plugin</artifactId>
> > >                        <version>3.4-SNAPSHOT</version>
> > >                        <extensions>true</extensions>
> > >                        <configuration>
> > >                                        <sourcePaths>
>
> > >  <sourcePath>${project.build.sourceDirectory}</sourcePath>
> > >                                        </sourcePaths>
> > >                                        
> > > <sourceFile>FUTest.mxml</sourceFile>
> > >                                <targetPlayer>10.0.0</targetPlayer>
>
> > >  <testRunnerTemplate>${project.build.sourceDirectory}/
> > > TestRunnerApplication.mxml</testRunnerTemplate>
> > >                                <testRunner>
> > >                                        <testTimeout>20000</testTimeout>
> > >                                                <launcher>
>
> > >  <flashplayerCommand>${flashPlayer.command}</flashplayerCommand>
> > >                                                </launcher>
> > >                                        </testRunner>
> > >                        </configuration>
> > >                        <executions>
> > >                                <execution>
> > >                                    <goals>
> > >                                        <goal>compile-swf</goal>
> > >                                    </goals>
> > >                                <configuration>
> > >                                        <services>
>
> > >  ${project.build.directory}/dependency/services-
> > > config.xml
> > >                                        </services>
> > >                                        <contextRoot>
>
> > >  ${project.parent.artifactId}-web-$
> > > {project.version}
> > >                                        </contextRoot>
> > >                                </configuration>
> > >                                </execution>
> > >                        </executions>
> > >                        <dependencies>
> > >                                <dependency>
> > >                                          <groupId>com.adobe.flex</groupId>
> > >                                          <artifactId>compiler</artifactId>
> > >                                          <version>4.0.0.10193</version>
> > >                                          <type>pom</type>
> > >                                        </dependency>
> > >                                </dependencies>
> > >                </plugin>
>
> > >  And this is the stack trace:
>
> > > org.sonatype.flexmojos.test.TestRunnerException:AccepttimedoutG:
> > > \FUTest\frontendview\frontendview-flex\target\test-classes
> > > \TestRunner.swf
> > >        at org.sonatype.flexmojos.test.DefaultTestRunner.run
> > > (DefaultTestRunner.java:65)
> > >        at org.sonatype.flexmojos.test.FlexUnitMojo.run(FlexUnitMojo.java:
> > > 262)
> > >        at
> > > org.sonatype.flexmojos.test.FlexUnitMojo.execute(FlexUnitMojo.java:
> > > 156)
> > >        at org.apache.maven.plugin.DefaultPluginManager.executeMojo
> > > (DefaultPluginManager.java:579)
> > >        at
>
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFai
> > >  lures
> > > (DefaultLifecycleExecutor.java:498)
> > >        at
>
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForPr
> > >  oject
> > > (DefaultLifecycleExecutor.java:265)
> > >        at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> > > (DefaultLifecycleExecutor.java:191)
> > >        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > > (DefaultLifecycleExecutor.java:149)
> > >        at org.apache.maven.DefaultMaven.execute_aroundBody0
> > > (DefaultMaven.java:223)
> > >        at org.apache.maven.DefaultMaven.execute_aroundBody1$advice
> > > (DefaultMaven.java:304)
> > >        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
> > >        at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2
> > > (MavenEmbedder.java:904)
> > >        at
> > > org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice
> > > (MavenEmbedder.java:304)
> > >        at
> > > org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:
> > > 1)
> > >        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
> > >        at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
> > >        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:289)
> > >        at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> > > (Launcher.java:229)
> > >        at
> > > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > > (Launcher.java:408)
> > >        at org.codehaus.plexus.classworlds.launcher.Launcher.main
> > > (Launcher.java:351)
> > >        at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
> > > Caused by: java.net.SocketTimeoutException:Accepttimedout
> > >        at java.net.PlainSocketImpl.socketAccept(Native Method)
> > >        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
> > >        at java.net.ServerSocket.implAccept(ServerSocket.java:453)
> > >        at java.net.ServerSocket.accept(ServerSocket.java:421)
> > >        at
> > > org.sonatype.flexmojos.test.monitor.AbstractSocketThread.openClientSocket
> > > (AbstractSocketThread.java:104)
> > >        at org.sonatype.flexmojos.test.monitor.AbstractSocketThread.run
> > > (AbstractSocketThread.java:42)
> > >        at java.lang.Thread.run(Thread.java:619)
>
> > > Error stacktrace:
> > > org.apache.maven.lifecycle.LifecycleExecutionException: Internal error
> > > in the plugin manager executing goal 'org.sonatype.flexmojos:flexmojos-
> > > maven-plugin:3.4-SNAPSHOT:test-run': Mojo execution failed.
> > >        at
>
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFai
> > >  lures
> > > (DefaultLifecycleExecutor.java:505)
> > >        at
>
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForPr
> > >  oject
> > > (DefaultLifecycleExecutor.java:265)
> > >        at
> > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
> > > (DefaultLifecycleExecutor.java:191)
> > >        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> > > (DefaultLifecycleExecutor.java:149)
> > >        at org.apache.maven.DefaultMaven.execute_aroundBody0
> > > (DefaultMaven.java:223)
> > >        at org.apache.maven.DefaultMaven.execute_aroundBody1$advice
> > > (DefaultMaven.java:304)
> > >        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
> > >        at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2
> > > (MavenEmbedder.java:904)
> > >        at
> > > org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice
> > > (MavenEmbedder.java:304)
> > >        at
> > > org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:
> > > 1)
> > >        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
> > >        at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
> > >        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:289)
> > >        at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> > > (Launcher.java:229)
> > >        at
> > > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> > > (Launcher.java:408)
> > >        at org.codehaus.plexus.classworlds.launcher.Launcher.main
> > > (Launcher.java:351)
> > >        at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
> > > Caused by:
>
> ...
>
> read more »
--~--~---------~--~----~------------~-------~--~----~
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