Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4855

IndexManager start failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 7.0.0.CR2
    • 7.0.0.CR1
    • Embedded Querying
    • None

      I have experienced this exception that caused the cacheManager startup to fail:

      Note that this was in library mode, though hotrod client was on the classpath.

      org.hibernate.search.exception.SearchException: HSEARCH000103: Unable to initialize IndexManager named 'org.infinispan.query.remote.indexing.ProtobufValueWrapper'
      	at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:260)
      	at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:513)
      	at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManagers(IndexManagerHolder.java:482)
      	at org.hibernate.search.indexes.impl.IndexManagerHolder.buildEntityIndexBinding(IndexManagerHolder.java:91)
      	at org.hibernate.search.spi.SearchFactoryBuilder.initDocumentBuilders(SearchFactoryBuilder.java:369)
      	at org.hibernate.search.spi.SearchFactoryBuilder.buildNewSearchFactory(SearchFactoryBuilder.java:208)
      	at org.hibernate.search.spi.SearchFactoryBuilder.buildSearchFactory(SearchFactoryBuilder.java:126)
      	at org.infinispan.query.impl.LifecycleManager.getSearchFactory(LifecycleManager.java:261)
      	at org.infinispan.query.impl.LifecycleManager.cacheStarting(LifecycleManager.java:103)
      	at org.infinispan.factories.ComponentRegistry.notifyCacheStarting(ComponentRegistry.java:228)
      	at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:214)
      	at org.infinispan.cache.impl.CacheImpl.start(CacheImpl.java:762)
      	at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:584)
      	at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:539)
      	at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:416)
      	at org.radargun.service.InfinispanEmbeddedService.startCaches(InfinispanEmbeddedService.java:111)
      	at org.radargun.service.Infinispan51EmbeddedService.startCaches(Infinispan51EmbeddedService.java:95)
      	at org.radargun.service.InfinispanLifecycle.start(InfinispanLifecycle.java:45)
      	at org.radargun.service.InfinispanKillableLifecycle.start(InfinispanKillableLifecycle.java:47)
      	at org.radargun.stages.lifecycle.LifecycleHelper.start(LifecycleHelper.java:57)
      	at org.radargun.stages.lifecycle.ServiceStartStage.executeOnSlave(ServiceStartStage.java:76)
      	at org.radargun.SlaveBase.scenarioLoop(SlaveBase.java:84)
      	at org.radargun.SlaveBase$ScenarioRunner.run(SlaveBase.java:140)
      Caused by: java.lang.NullPointerException
      	at org.infinispan.lucene.readlocks.DistributedSegmentReadLocker.deleteOrReleaseReadLock(DistributedSegmentReadLocker.java:73)
      	at org.infinispan.lucene.impl.DirectoryImplementor.deleteFile(DirectoryImplementor.java:65)
      	at org.infinispan.lucene.impl.DirectoryLuceneV4.deleteFile(DirectoryLuceneV4.java:64)
      	at org.apache.lucene.index.IndexFileDeleter.deleteFile(IndexFileDeleter.java:595)
      	at org.apache.lucene.index.IndexFileDeleter.<init>(IndexFileDeleter.java:249)
      	at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:781)
      	at org.hibernate.search.store.impl.DirectoryProviderHelper.initializeIndexIfNeeded(DirectoryProviderHelper.java:146)
      	at org.hibernate.search.infinispan.impl.InfinispanDirectoryProvider.start(InfinispanDirectoryProvider.java:73)
      	at org.hibernate.search.indexes.impl.DirectoryBasedIndexManager.initialize(DirectoryBasedIndexManager.java:90)
      	at org.hibernate.search.indexes.impl.IndexManagerHolder.createIndexManager(IndexManagerHolder.java:256)
      	... 22 more
      

              Unassigned Unassigned
              rvansa1@redhat.com Radim Vansa (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: