Description
org.apache.jackrabbit.oak.osgi.OSGiIT is failing but not failing the build.
ERROR: org.apache.jackrabbit.oak-lucene (29): [org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService(44)] The activate method has thrown an exception java.lang.ExceptionInInitializerError at org.apache.lucene.codecs.lucene40.Lucene40Codec.<init>(Lucene40Codec.java:52) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at java.lang.Class.newInstance(Class.java:442) at org.apache.lucene.util.NamedSPILoader.reload(NamedSPILoader.java:67) at org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:45) at org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:37) at org.apache.lucene.codecs.Codec.<clinit>(Codec.java:41) at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService.initializeClasses(LuceneIndexProviderService.java:452) at org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService.activate(LuceneIndexProviderService.java:230) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.felix.scr.impl.helper.BaseMethod.invokeMethod(BaseMethod.java:231) at org.apache.felix.scr.impl.helper.BaseMethod.access$500(BaseMethod.java:39) at org.apache.felix.scr.impl.helper.BaseMethod$Resolved.invoke(BaseMethod.java:624) at org.apache.felix.scr.impl.helper.BaseMethod.invoke(BaseMethod.java:508) at org.apache.felix.scr.impl.helper.ActivateMethod.invoke(ActivateMethod.java:149) at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:313) at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:127) at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:868) at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:835) at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:827) at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:907) at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.addedService(DependencyManager.java:871) at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1477) at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.customizerAdded(ServiceTracker.java:1398) at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.trackAdding(ServiceTracker.java:1210) at org.apache.felix.scr.impl.manager.ServiceTracker$AbstractTracked.track(ServiceTracker.java:1148) at org.apache.felix.scr.impl.manager.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:1429) at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793) at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543) at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419) at org.apache.felix.framework.Felix.registerService(Felix.java:3423) at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:346) at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:983) at org.apache.felix.scr.impl.manager.AbstractComponentManager$3.register(AbstractComponentManager.java:972) at org.apache.felix.scr.impl.manager.RegistrationManager.changeRegistration(RegistrationManager.java:134) at org.apache.felix.scr.impl.manager.AbstractComponentManager.registerService(AbstractComponentManager.java:1024) at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:818) at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:414) at org.apache.felix.scr.impl.config.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:378) at org.apache.felix.scr.impl.BundleComponentActivator.initialize(BundleComponentActivator.java:167) at org.apache.felix.scr.impl.BundleComponentActivator.<init>(BundleComponentActivator.java:115) at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:235) at org.apache.felix.scr.impl.Activator.access$000(Activator.java:44) at org.apache.felix.scr.impl.Activator$1.start(Activator.java:169) at org.apache.felix.utils.extender.AbstractExtender.createExtension(AbstractExtender.java:254) at org.apache.felix.utils.extender.AbstractExtender.modifiedBundle(AbstractExtender.java:227) at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:479) at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:414) at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:443) at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:868) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:789) at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:514) at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403) at org.apache.felix.framework.Felix.startBundle(Felix.java:2092) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291) at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassCastException: class org.apache.lucene.codecs.lucene40.Lucene40PostingsFormat at java.lang.Class.asSubclass(Class.java:3404) at org.apache.lucene.util.SPIClassIterator.next(SPIClassIterator.java:137) at org.apache.lucene.util.NamedSPILoader.reload(NamedSPILoader.java:65) at org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:47) at org.apache.lucene.util.NamedSPILoader.<init>(NamedSPILoader.java:37) at org.apache.lucene.codecs.PostingsFormat.<clinit>(PostingsFormat.java:44) ... 65 more ERROR: org.apache.jackrabbit.oak-lucene (29): [org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService(44)] Failed creating the component instance; see log for reason [org.apache.jackrabbit.oak.plugins.index.IndexEditorProvider] [org.apache.jackrabbit.oak.api.jmx.CacheStatsMBean] [org.osgi.service.cm.ManagedServiceFactory] [org.apache.jackrabbit.oak.spi.commit.EditorProvider] [org.osgi.service.startlevel.StartLevel] [org.apache.jackrabbit.oak.spi.commit.CommitHook] [org.apache.jackrabbit.oak.plugins.segment.compaction.CompactionStrategyMBean] [org.apache.jackrabbit.oak.api.jmx.RepositoryStatsMBean] [org.apache.jackrabbit.oak.spi.commit.EditorProvider] [java.lang.Runnable] [org.apache.jackrabbit.oak.spi.query.QueryIndexProvider] [org.osgi.service.packageadmin.PackageAdmin] [org.apache.jackrabbit.oak.plugins.index.IndexEditorProvider] [org.apache.jackrabbit.oak.spi.security.user.UserConfiguration, org.apache.jackrabbit.oak.spi.security.SecurityConfiguration] [org.apache.felix.cm.PersistenceManager] [org.apache.jackrabbit.oak.spi.commit.CommitHook] [org.ops4j.pax.exam.ProbeInvokerFactory] [org.apache.jackrabbit.oak.jcr.observation.jmx.ConsolidatedListenerMBean] [org.apache.jackrabbit.oak.spi.gc.GCMonitor] [org.apache.jackrabbit.api.jmx.QueryStatManagerMBean] [org.apache.jackrabbit.oak.spi.security.user.UserAuthenticationFactory] [javax.jcr.Repository] [org.osgi.service.url.URLStreamHandlerService] [org.apache.jackrabbit.oak.spi.gc.GCMonitor] [org.apache.jackrabbit.oak.spi.security.SecurityProvider] [org.apache.jackrabbit.oak.plugins.segment.file.GCMonitorMBean] [org.apache.jackrabbit.oak.plugins.index.property.jmx.PropertyIndexAsyncReindexMBean] [org.osgi.service.cm.ManagedService] [org.apache.jackrabbit.oak.plugins.index.property.jmx.PropertyIndexStatsMBean] [org.apache.jackrabbit.oak.api.jmx.IndexStatsMBean] [org.apache.jackrabbit.oak.spi.security.authorization.AuthorizationConfiguration, org.apache.jackrabbit.oak.spi.security.SecurityConfiguration] [org.apache.jackrabbit.oak.spi.security.privilege.PrivilegeConfiguration, org.apache.jackrabbit.oak.spi.security.SecurityConfiguration] [org.apache.jackrabbit.oak.spi.security.authorization.restriction.RestrictionProvider] [org.apache.jackrabbit.oak.plugins.index.lucene.IndexAugmentorFactory] [org.apache.jackrabbit.oak.plugins.index.IndexEditorProvider] [org.apache.jackrabbit.oak.spi.query.QueryIndexProvider] [org.osgi.service.cm.ConfigurationAdmin] [org.apache.jackrabbit.oak.spi.query.QueryIndexProvider] [org.apache.jackrabbit.oak.plugins.segment.SegmentStoreProvider] [org.ops4j.pax.exam.ProbeInvoker] [org.apache.jackrabbit.oak.spi.state.RevisionGCMBean] [org.apache.jackrabbit.oak.spi.security.authentication.AuthenticationConfiguration, org.apache.jackrabbit.oak.spi.security.SecurityConfiguration] [org.apache.jackrabbit.oak.spi.security.principal.PrincipalConfiguration, org.apache.jackrabbit.oak.spi.security.SecurityConfiguration] [org.apache.felix.scr.impl.ScrGogoCommand] [org.ops4j.pax.exam.ProbeInvoker] [org.apache.jackrabbit.oak.api.jmx.QueryEngineSettingsMBean] [org.apache.jackrabbit.oak.plugins.index.counter.jmx.NodeCounterMBean] [java.lang.Runnable] [org.apache.jackrabbit.oak.plugins.index.lucene.score.ScorerProviderFactory] [org.apache.jackrabbit.oak.spi.commit.EditorProvider] [org.apache.jackrabbit.oak.api.jmx.CheckpointMBean] [org.apache.jackrabbit.oak.plugins.index.IndexEditorProvider] [org.osgi.service.cm.ConfigurationListener] [org.apache.jackrabbit.oak.api.jmx.ConsolidatedCacheStatsMBean] [org.apache.jackrabbit.oak.api.jmx.RepositoryManagementMBean] [org.ops4j.pax.exam.ProbeInvoker] [org.apache.jackrabbit.oak.spi.commit.EditorProvider] [org.apache.jackrabbit.oak.spi.security.authentication.token.TokenConfiguration, org.apache.jackrabbit.oak.spi.security.SecurityConfiguration] [org.ops4j.pax.exam.ProbeInvoker] [java.lang.Runnable] [org.apache.jackrabbit.oak.plugins.segment.file.FileStoreStatsMBean] [org.ops4j.pax.exam.util.Injector] [org.apache.jackrabbit.oak.api.jmx.CacheStatsMBean] [org.apache.jackrabbit.oak.spi.commit.EditorProvider] [org.apache.jackrabbit.oak.api.Descriptors] [org.apache.jackrabbit.oak.stats.StatisticsProvider] [org.apache.jackrabbit.oak.api.Descriptors] [org.ops4j.pax.exam.ProbeInvoker] [org.osgi.service.cm.ConfigurationListener, org.apache.felix.fileinstall.ArtifactListener, org.apache.felix.fileinstall.ArtifactInstaller] [org.apache.jackrabbit.oak.spi.security.user.action.AuthorizableActionProvider] [org.apache.jackrabbit.oak.spi.mount.MountInfoProvider] [org.apache.jackrabbit.oak.spi.commit.EditorProvider] [org.apache.jackrabbit.oak.spi.state.NodeStore] [java.util.concurrent.Executor] [java.lang.Runnable] [org.apache.felix.scr.ScrService] org.apache.felix.framework [0] org.ops4j.pax.exam [1] org.ops4j.pax.exam.inject [2] org.ops4j.pax.exam.extender.service [3] osgi.cmpn [4] org.ops4j.base [5] org.ops4j.pax.swissbox.core [6] org.ops4j.pax.swissbox.extender [7] org.ops4j.pax.swissbox.framework [8] org.ops4j.pax.swissbox.lifecycle [9] org.ops4j.pax.swissbox.tracker [10] org.apache.geronimo.specs.geronimo-atinject_1.0_spec [11] org.ops4j.pax.tipi.junit [12] org.ops4j.pax.tipi.hamcrest.core [13] org.ops4j.pax.exam.invoker.junit [14] org.apache.felix.scr [15] org.apache.felix.configadmin [16] org.apache.felix.fileinstall [17] org.ops4j.pax.logging.pax-logging-api [18] org.apache.commons.codec [19] org.apache.commons.io [20] com.google.guava [21] org.apache.jackrabbit.jackrabbit-api [22] org.apache.jackrabbit.jackrabbit-jcr-commons [23] javax.jcr [24] org.apache.jackrabbit.oak-blob [25] org.apache.jackrabbit.oak-commons [26] org.apache.jackrabbit.oak-core [27] org.apache.jackrabbit.oak-jcr [28] org.apache.jackrabbit.oak-lucene [29] org.apache.jackrabbit.oak-segment [30] org.apache.tika.core [31] PAXEXAM-PROBE-8cd00a87-a2f2-4247-988a-28f76fec0689 [32] Oak: org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStore@3feb2dda { jcr:primaryType = rep:root, :clusterConfig : { :clusterId = 9041b1d4-b184-4a3f-a1ff-844980cdab79 }, oak:index = { ... }, jcr:system = { ... }, rep:security = { ... } } org.apache.jackrabbit.oak.jcr.osgi.OsgiRepository@1c742ed4 Apache Jackrabbit Oak
Attachments
Issue Links
- is broken by
-
OAK-4538 IndexDefinition.createCodec class loading deadlock
- Closed