java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.CommunityFacadeFactory, /Users/Jaags/Documents/Neo4j/all.db

Stack Overflow | NeoMan | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    neo4j : transaction commit failure from a runnable jar file?

    Stack Overflow | 8 months ago | NeoMan
    java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.CommunityFacadeFactory, /Users/Jaags/Documents/Neo4j/all.db

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      An SPI class of type org.apache.lucene.codecs.PostingsFormat with name 'BlockTreeOrds' does not exist. You need to add the corresponding JAR file supporting this SPI to your classpath. The current classpath supports the following names: [Lucene50]

      at org.apache.lucene.util.NamedSPILoader.lookup()
    2. Lucene
      ReferenceManager.maybeRefreshBlocking
      1. org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:114)
      2. org.apache.lucene.codecs.PostingsFormat.forName(PostingsFormat.java:112)
      3. org.apache.lucene.codecs.perfield.PerFieldPostingsFormat$FieldsReader.<init>(PerFieldPostingsFormat.java:258)
      4. org.apache.lucene.codecs.perfield.PerFieldPostingsFormat.fieldsProducer(PerFieldPostingsFormat.java:341)
      5. org.apache.lucene.index.SegmentCoreReaders.<init>(SegmentCoreReaders.java:104)
      6. org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:65)
      7. org.apache.lucene.index.ReadersAndUpdates.getReader(ReadersAndUpdates.java:145)
      8. org.apache.lucene.index.ReadersAndUpdates.getReadOnlyClone(ReadersAndUpdates.java:197)
      9. org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:99)
      10. org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:435)
      11. org.apache.lucene.index.StandardDirectoryReader.doOpenFromWriter(StandardDirectoryReader.java:286)
      12. org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:261)
      13. org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:251)
      14. org.apache.lucene.index.DirectoryReader.openIfChanged(DirectoryReader.java:137)
      15. org.apache.lucene.search.SearcherManager.refreshIfNeeded(SearcherManager.java:154)
      16. org.apache.lucene.search.SearcherManager.refreshIfNeeded(SearcherManager.java:58)
      17. org.apache.lucene.search.ReferenceManager.doMaybeRefresh(ReferenceManager.java:176)
      18. org.apache.lucene.search.ReferenceManager.maybeRefreshBlocking(ReferenceManager.java:253)
      18 frames
    3. org.neo4j.kernel
      IndexPartition.maybeRefreshBlocking
      1. org.neo4j.kernel.api.impl.index.partition.IndexPartition.maybeRefreshBlocking(IndexPartition.java:87)
      1 frame
    4. Neo4j - Lucene Index
      AbstractLuceneIndex.maybeRefreshPartition
      1. org.neo4j.kernel.api.impl.index.AbstractLuceneIndex.maybeRefreshPartition(AbstractLuceneIndex.java:334)
      1 frame
    5. Java RT
      ReferencePipeline$Head.forEach
      1. java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
      2. java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
      3. java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
      4. java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291)
      5. java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
      6. java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
      7. java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:401)
      8. java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:734)
      9. java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:160)
      10. java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(ForEachOps.java:174)
      11. java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
      12. java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)
      13. java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:583)
      13 frames
    6. Neo4j - Lucene Index
      AbstractLuceneIndex.maybeRefreshBlocking
      1. org.neo4j.kernel.api.impl.index.AbstractLuceneIndex.maybeRefreshBlocking(AbstractLuceneIndex.java:318)
      1 frame
    7. org.neo4j.kernel
      RecordStorageEngine.start
      1. org.neo4j.kernel.api.impl.labelscan.writer.PartitionedLuceneLabelScanWriter.close(PartitionedLuceneLabelScanWriter.java:101)
      2. org.neo4j.kernel.api.impl.labelscan.LuceneLabelScanStore.rebuild(LuceneLabelScanStore.java:192)
      3. org.neo4j.kernel.api.impl.labelscan.LuceneLabelScanStore.start(LuceneLabelScanStore.java:180)
      4. org.neo4j.kernel.impl.storageengine.impl.recordstorage.RecordStorageEngine.start(RecordStorageEngine.java:422)
      4 frames
    8. Neo4j - Graph Database Kernel
      LifeSupport.start
      1. org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434)
      2. org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
      3. org.neo4j.kernel.NeoStoreDataSource.start(NeoStoreDataSource.java:503)
      4. org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434)
      5. org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
      6. org.neo4j.kernel.impl.transaction.state.DataSourceManager.start(DataSourceManager.java:99)
      7. org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:434)
      8. org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
      8 frames
    9. org.neo4j.kernel
      GraphDatabaseFacadeFactory.newFacade
      1. org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:140)
      2. org.neo4j.kernel.impl.factory.CommunityFacadeFactory.newFacade(CommunityFacadeFactory.java:40)
      3. org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.newFacade(GraphDatabaseFacadeFactory.java:108)
      3 frames
    10. Neo4j - Graph Database Kernel
      GraphDatabaseBuilder.newGraphDatabase
      1. org.neo4j.graphdb.factory.GraphDatabaseFactory.newDatabase(GraphDatabaseFactory.java:100)
      2. org.neo4j.graphdb.factory.GraphDatabaseFactory.lambda$createDatabaseCreator$203(GraphDatabaseFactory.java:89)
      3. org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase(GraphDatabaseBuilder.java:183)
      3 frames
    11. graphdb.service
      GraphConnection.getGraphDBService
      1. graphdb.service.GraphConnection.openGraphConnection(GraphConnection.java:27)
      2. graphdb.service.GraphConnection.getGraphDBService(GraphConnection.java:31)
      2 frames
    12. importdb.service
      FlowController.Execute
      1. importdb.service.BatchNodeCreator.BeginSingleThread(BatchNodeCreator.java:88)
      2. importdb.service.FlowController.Execute(FlowController.java:59)
      2 frames
    13. main.route
      NeoMain.main
      1. main.route.NeoMain.main(NeoMain.java:41)
      1 frame