java.lang.RuntimeException

Error starting org.neo4j.kernel.EmbeddedGraphDatabase, C:\Users\Reihane\Documents\Neo4j\default.graphdb

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web10

  • via Unknown by Reihane Boghrati,
  • via Unknown by Reihane Boghrati,
  • via Unknown by Reihane Boghrati,
  • Stack trace

    • java.lang.RuntimeException: Error starting org.neo4j.kernel.EmbeddedGraphDatabase, C:\Users\Reihane\Documents\Neo4j\default.graphdb at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:333) at org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase.java:63) at org.neo4j.graphdb.factory.GraphDatabaseFactory$1.newDatabase(GraphDatabaseFactory.java:92) at org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase(GraphDatabaseBuilder.java:198) at org.neo4j.graphdb.factory.GraphDatabaseFactory.newEmbeddedDatabase(GraphDatabaseFactory.java:69) at Neo4j.Neo4jClient.init(Neo4jClient.java:110) at edu.usc.bg.base.DBWrapper.init(DBWrapper.java:62) at edu.usc.bg.base.Client.executeDoLoad(Client.java:1013) at edu.usc.bg.base.Client.runBG(Client.java:892) at edu.usc.bg.BGMainClass.main(BGMainClass.java:41) Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.StoreLockerLifecycleAdapter@2e8da6a9' was successfully initialized, but failed to start. Please see attached cause exception. at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:504) at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:115) at org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:310) ... 9 more Caused by: org.neo4j.kernel.StoreLockException: Unable to obtain lock on store lock file: C:\Users\Reihane\Documents\Neo4j\default.graphdb\store_lock. Please ensure no other process is using this database, and that the directory is writable (required even for read-only access) at org.neo4j.kernel.StoreLocker.checkLock(StoreLocker.java:87) at org.neo4j.kernel.StoreLockerLifecycleAdapter.start(StoreLockerLifecycleAdapter.java:44) at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:498) ... 11 more Caused by: java.io.IOException: Couldn't lock lock file C:\Users\Reihane\Documents\Neo4j\default.graphdb\lock because another process already holds the lock. at org.neo4j.kernel.impl.nioneo.store.FileLock.getLockFileBasedFileLock(FileLock.java:115) at org.neo4j.kernel.impl.nioneo.store.FileLock.getOsSpecificFileLock(FileLock.java:63) at org.neo4j.kernel.DefaultFileSystemAbstraction.tryLock(DefaultFileSystemAbstraction.java:89) at org.neo4j.kernel.StoreLocker.checkLock(StoreLocker.java:74) ... 13 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,