Hello,
I'm using 2.0.1.
I have also tried 3.2.0. The test hangs as it did with 2.0.1 but now
the timeout does't fire. When I close the flashplayer window I get the
following in the Maven trace:
[ERROR] Invalid virtual machine status: null - class
org.sonatype.flexmojos.test
.threads.AsVmControlD:\proiecte\flexmojos\flexunitexample\target\test-
classes\
TestRunner.swf
java.lang.Error: Invalid virtual machine status: null - class
org.sonatype.flexm
ojos.test.threads.AsVmControl
at
org.sonatype.flexmojos.test.threads.AbstractSocketThread.setError(Abs
tractSocketThread.java:98)
at
org.sonatype.flexmojos.test.threads.AsVmControl.handleRequest(AsVmCon
trol.java:58)
at org.sonatype.flexmojos.test.threads.AbstractSocketThread.run
(Abstract
SocketThread.java:57)
at java.lang.Thread.run(Thread.java:619)
[INFO]
------------------------------------------------------------------------
[INFO] Tests run: 1, Failures: 1, Errors: 0, Time Elpased: 0 sec
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Invalid virtual machine status: null - class
org.sonatype.flexmojos.test.
threads.AsVmControl
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.Error: Invalid virtual machine status: null - class
org.sonatype.flexm
ojos.test.threads.AsVmControl
at
org.sonatype.flexmojos.test.threads.AbstractSocketThread.setError(Abs
tractSocketThread.java:98)
at
org.sonatype.flexmojos.test.threads.AsVmControl.handleRequest(AsVmCon
trol.java:58)
at org.sonatype.flexmojos.test.threads.AbstractSocketThread.run
(Abstract
SocketThread.java:57)
at java.lang.Thread.run(Thread.java:619)
Before that there's:
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [flexmojos:test-compile]
[INFO] flexmojos 3.2.0 - GNU GPL License (NO WARRANTY) - See COPYRIGHT
file
[INFO] Compiling test class: [Ljava.lang.String;@500f01
[INFO] [flexmojos:test-run]
[INFO] flexmojos 3.2.0 - GNU GPL License (NO WARRANTY) - See COPYRIGHT
file
[INFO] Running tests D:\proiecte\flexmojos\flexunitexample\target\test-
classes
\TestRunner.swf
This seems similar to
http://groups.google.com/group/flex-mojos/browse_thread/thread/efd49b3292269233/b8bec9adf4fe977f
.
If I run with -X, just after [INFO] Running tests D:\proiecte
\flexmojos\flexunitexample\target\test-classes\TestRunner.swf :
[DEBUG] Creating process
[DEBUG] opened server socket
[DEBUG] Process created java.lang.processi...@1d36c3b
[DEBUG] asVmLauncher RUNNING
[DEBUG] asVmControl null
[DEBUG] resultHandler null
[DEBUG] Output pumpers ON
[DEBUG] Waiting for
[DEBUG] asVmLauncher RUNNING
[DEBUG] asVmControl null
[DEBUG] resultHandler null
[DEBUG] accepting data from client
[DEBUG] AsVmControl handleRequest
[DEBUG] get status
[DEBUG] got status
[DEBUG] asVmLauncher RUNNING
[DEBUG] asVmControl RUNNING
[DEBUG] resultHandler null
[DEBUG] asVmLauncher RUNNING
[DEBUG] asVmControl RUNNING
[DEBUG] resultHandler null
[DEBUG] get status
[DEBUG] got status
[DEBUG] asVmLauncher RUNNING
[DEBUG] asVmControl RUNNING
[DEBUG] resultHandler null
... a whole lot of the three lines above ...
[DEBUG] asVmLauncher RUNNING
[DEBUG] asVmControl RUNNING
[DEBUG] resultHandler null
[DEBUG] status: null
[DEBUG] get status
[DEBUG] got status
[DEBUG] status: null
[DEBUG] Invalid virtual machine status: null
Didn't try with 3.3-SNAPSHOT yet. I will get back with more info when
I do that.
Alex
On Jul 13, 3:48 pm, Marvin Froeder <[email protected]> wrote:
> What flexmojos version are you using?
> Can you try 3.2.0 or 3.3-SNAPSHOT?
>
> That can be a bug, unsure at this point....
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---