You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Alex Parvulescu <al...@gmail.com> on 2015/04/29 16:29:33 UTC

OSGiIT silently failing

Hi,

I've noticed the OSGiIT tests are failing silently [0], shouldn't this fail
the entire build?

thanks,
alex



[0]
https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/jdk=latest1.7,label=Ubuntu,nsfixtures=SEGMENT_MK,profile=integrationTesting/120/consoleFull

[1] Running org.apache.jackrabbit.oak.osgi.OSGiIT
[main] INFO org.ops4j.pax.exam.spi.DefaultExamSystem - Pax Exam System
(Version: 3.4.0) created.
[main] INFO org.ops4j.pax.exam.junit.impl.ProbeRunner - creating PaxExam
runner for class org.apache.jackrabbit.oak.osgi.OSGiIT
[main] INFO org.ops4j.pax.exam.junit.impl.ProbeRunner - running test class
org.apache.jackrabbit.oak.osgi.OSGiIT
ERROR: org.apache.jackrabbit.oak-lucene (23):
[org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService(1)]
The activate method has thrown an exception
java.lang.NullPointerException: Index directory cannot be determined as
neither index directory path [localIndexDir] nor repository home
[repository.home] defined
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:236)
at
org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService.createTracker(LuceneIndexProviderService.java:197)
at
org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService.activate(LuceneIndexProviderService.java:125)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)