Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Question about possible dependency issue in tests versus workbench


I have a rather weird problem popping up. I recently removed all "require bundle" statements from Eclipse ICE. Everything builds fine in the workbench and tests past if I run them with a "JUnit Plugin Test" launch configuration. However, when I run with our Tycho build, I get an error such as the following:

Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.371 sec <<< FAILURE! - in
checkLoadInput(  Time elapsed: 0.202 sec
checkSetupForm(  Time elapsed: 0.009 sec
checkProcess(  Time elapsed: 0.008 sec  <<< ERROR!
java.lang.IllegalArgumentException: The 'no null' constraint is violated
    at org.eclipse.emf.common.util.AbstractEList.validate(
    at org.eclipse.emf.common.util.BasicEList.addUnique(
    at org.eclipse.emf.common.notify.impl.NotifyingListImpl.doAddUnique(
    at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(
    at org.eclipse.emf.common.util.AbstractEList.add(

Again, this doesn't happen in the workbench. I suspect that this is a dependency issue, in part because running it as a JUnit Plugin Test without the "Require Bundle"  statements now takes a very long time. Tycho is not reporting any build errors, just test failures.

I'm going to play around with adding dependencies like rcp to see if that will fix it, but otherwise I am stumped. Does anyone have any guidance or thoughts to share?


Jay Jay Billings
Oak Ridge National Laboratory
Twitter Handle: @jayjaybillings

Back to the top