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);

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by taburet
, 1 year ago
The database instance is not set in the current thread. Be sure to set it with: ODatabaseRecordThreadLocal.INSTANCE.set(db);
via GitHub by davidheryanto
, 1 year ago
The database instance is not set in the current thread. Be sure to set it with: ODatabaseRecordThreadLocal.INSTANCE.set(db);
via Stack Overflow by Matt
, 1 year ago
Database instance is not set in current thread. Assure to set it with: ODatabaseRecordThreadLocal.INSTANCE.set(db);
via Stack Overflow by linus
, 1 year ago
Database instance is not set in current thread. Assure to set it with: ODatabaseRecordThreadLocal.INSTANCE.set(db);
via GitHub by temilmg
, 1 year ago
Database instance is not set in current thread. Assure to set it with: ODatabaseRecordThreadLocal.INSTANCE.set(db);
via Sonatype JIRA by Peter Lynch, 1 year ago
Database instance is not set in current thread. Assure to set it with: ODatabaseRecordThreadLocal.INSTANCE.set(db);
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.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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.