[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[equinox-dev] Re: Problem testing with JUnit - Equinox doesn't start
|
Chris Aniszczyk <zx@...> writes:
> Can you use a newer build of Eclipse?
I've installed the Galileo RC3 and updated.
Now the problem is a new one ;-(
Is this a problem of JUnit?
java.lang.NoClassDefFoundError: Could not initialize class de.n4v.isphelperdb
.jpa.EMIspHelper$Singleton
at de.n4v.isphelperdb.jpa.EMIspHelper.getInstance(EMIspHelper.java:67)
at de.n4v.isphelper.linux.UserGroupComponentTest
.setUp(UserGroupComponentTest.java:28)
at junit.framework.TestCase.runBare(TestCase.java:132)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.JUnit38ClassRunner
.run(JUnit38ClassRunner.java:79)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference
.run(JUnit4TestReference.java:46)
public class EMIspHelper {
private static EntityManagerFactory emf;
private final LogService log = Activator.getLogService();
private Hashtable<String, String> elprops;
private static final class Singleton {
private static final EMIspHelper INSTANCE = new EMIspHelper();
}
protected EMIspHelper() {
...
}
public static EMIspHelper getInstance() {
return Singleton.INSTANCE;
}
}