com.orientechnologies.orient.core.exception.ODatabaseException: The database instance is not set in the current thread. Be sure to set it with: ODatabaseRecordThreadLocal.INSTANCE.set(db);

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Incorrect Lucene engine shutdown
    via GitHub by taburet
    ,
  • Can't make detach() work
    via GitHub by vitorenesduarte
    ,
  • Database instance is not set in current thread
    via by Nolan Darilek,
  • GitHub comment 7#115086355
    via GitHub by timcan
    ,
    • com.orientechnologies.orient.core.exception.ODatabaseException: The database instance is not set in the current thread. Be sure to set it with: ODatabaseRecordThreadLocal.INSTANCE.set(db); at com.orientechnologies.orient.core.db.ODatabaseRecordThreadLocal.get(ODatabaseRecordThreadLocal.java:51) at com.orientechnologies.lucene.engine.OLuceneIndexEngineAbstract.getDatabase(OLuceneIndexEngineAbstract.java:312) at com.orientechnologies.lucene.engine.OLuceneFacetManager.delete(OLuceneFacetManager.java:107) at com.orientechnologies.lucene.engine.OLuceneFullTextIndexEngine.delete(OLuceneFullTextIndexEngine.java:80) at com.orientechnologies.lucene.engine.OLuceneIndexEngineDelegate.delete(OLuceneIndexEngineDelegate.java:81) at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doClose(OAbstractPaginatedStorage.java:3568) at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.close(OAbstractPaginatedStorage.java:535) at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.delete(OAbstractPaginatedStorage.java:543) at com.orientechnologies.orient.core.storage.impl.memory.ODirectMemoryStorage.shutdown(ODirectMemoryStorage.java:130)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,