"Forked Java VM exited abnormally" error from junit tests

Posted by Alb on Stack Overflow See other posts from Stack Overflow or by Alb
Published on 2009-12-04T11:16:23Z Indexed on 2010/05/31 21:23 UTC
Read the original article Hit count: 480

Filed under:
|
|
|

I have a java junit test that passes when run alone on a development machine. We also have a hudson job which runs all the tests, invoked via ant, on a Mac OS X 10.4 node with Java 1.5. The test was passing in the hudson build until recently but now (with no related code changes) one test fails everytime with the following error:

Error Message

Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.

Stacktrace

junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.

googling shows many others seem to have run into the same problem but there I couldn't find any answer.

© Stack Overflow or respective owner

Related posts about java

Related posts about ant