Hi,

the exception occured during test run. 

Meanwhile I found the reason. My maven build is behing a mirror server. I 
didn't get all required artifacts. 
When I bypassed the mirror, the problem was solved.

Thank you for your help,

Volkmar
-------- Original-Nachricht --------
> Datum: Tue, 28 Jul 2009 14:10:21 +0300
> Von: Alin Dreghiciu <[email protected]>
> An: General OPS4J <[email protected]>
> Betreff: Re: NullArgumentException

> When the exception occurred? While running the build from Maven?
> 
> On Mon, Jul 27, 2009 at 9:20 PM, Volkmar Nissen <[email protected]> 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
> > [email protected]
> > http://lists.ops4j.org/mailman/listinfo/general
> >
> 
> 
> 
> -- 
> Alin Dreghiciu
> Software Developer - Looking for new projects!
> My profile: http://www.linkedin.com/in/alindreghiciu
> My blog: http://adreghiciu.blogspot.com
> http://www.ops4j.org - New Energy for OSS Communities - Open Participation
> Software.
> http://www.qi4j.org - New Energy for Java - Domain Driven Development.

-- 
Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to