Hmm.. is that a bug in pax-exam pom.xml? If we look the stacktrace, The exception is thrown from pax-exam class.
Volkmar, can you zip your code and send it to me? Regards, Edward Yakop On Tue, Jul 28, 2009 at 09:32, Niclas Hedhman<nic...@hedhman.org> wrote: > NullArgumentException is in BASE project, a sibling project to Pax, > /repos/ops4j/projects/base. > > -- Niclas > > On Jul 28, 2009 2:21 AM, "Volkmar Nissen" <v_nis...@gmx.de> wrote: > > Hi, > > I am a newbie to pax exam. > > I want to execute a junit test in an QSGI framework. > I am using maven and pax exam. > The build is OK, but the test fails with following Exception: > > java.lang.NoClassDefFoundError: org/ops4j/lang/NullArgumentException > at > org.ops4j.pax.exam.junit.internal.DefaultConfigMethod.<init>(DefaultConfigMethod.java:68) > at > org.ops4j.pax.exam.junit.AnnotatedWithConfiguration.getConfigMethods(AnnotatedWithConfiguration.java:68) > at > org.ops4j.pax.exam.junit.JUnit4TestRunner.getConfigurationMethods(JUnit4TestRunner.java:137) > > > The test case has no specific configuration. It runs successfully in eclipse > PDE (even if it's not an eclipse plugin). > > I followed the instructions at > http://wiki.ops4j.org/display/paxexam/Pax+Exam+-+Tutorial+1 > I fear, that there are some dependancies missing in my pom.xml file. > > Is the dependency list of pom.xml of the tutorial sufficiant to execute the > tests within the default osgi framework? > > Thank You, > > Volkmar > > > > _______________________________________________ > general mailing list > general@lists.ops4j.org > http://lists.ops4j.org/mailman/listinfo/general > > _______________________________________________ > general mailing list > general@lists.ops4j.org > http://lists.ops4j.org/mailman/listinfo/general > > _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general