Unfortunately, I don't think I can because I can't get it to happen in any
other project I have and I can't figure out the cause of it in the project
where it happens.  I can delete any random tests out of the project and it
still happens.

On Tue, Feb 5, 2013 at 4:41 PM, Alex Boisvert <[email protected]>wrote:

> Any chance you can create a small project that reproduces this?
>
> alex
>
>
> On Tue, Feb 5, 2013 at 1:34 PM, Chris Bozic <[email protected]> wrote:
>
> > I'm getting a strange error when I run junit4 tests in an existing
> project
> > I'm converting to work with Buildr.  Previously, I've converted several
> > other very similar projects to use Buildr and have never seen anything
> like
> > this.  The following error occurs every time I run tests in the default
> > forked test mode:
> >
> > Trying to override old definition of datatype junit
> >     [junit] Testsuite:
> >
> testsfile=/blah/workspace/blah/junittestcases3244787827808189351.properties
> >     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
> >     [junit]
> >     [junit] Caused an ERROR
> >     [junit]
> >
> testsfile=/blah/workspace/blah/junittestcases3244787827808189351.properties
> >     [junit] java.lang.ClassNotFoundException:
> >
> testsfile=/blah/workspace/blah/junittestcases3244787827808189351.properties
> >     [junit] at java.lang.Class.forName0(Native Method)
> >     [junit] at java.lang.Class.forName(Class.java:186)
> >     [junit]
> >     [junit] Testsuite: blah.base.validators.Batch-With-Multiple-Tests
> >     [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
> >     [junit]
> >     [junit] Testcase: null took 0 sec
> >     [junit] Caused an ERROR
> >     [junit] Forked Java VM exited abnormally. Please note the time in the
> > report does not reflect the time until the VM exit.
> >     [junit] junit.framework.AssertionFailedError: Forked Java VM exited
> > abnormally. Please note the time in the report does not reflect the time
> > until the VM exit.
> >     [junit]
> >     [junit] Tests FAILED (crashed)
> >
> > Can anyone help me figure out why I can't run my tests in forked mode?
> >
>

Reply via email to