com.orientechnologies.orient.core.exception.ODatabaseException: Database instance is not set in current thread. Assure 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

Solutions on the web

via GitHub by kerner1000
, 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 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);
via GitHub by hhund
, 2 years ago
Database instance is not set in current thread. Assure to set it with: ODatabaseRecordThreadLocal.INSTANCE.set(db);
via GitHub by NathanielMichael
, 2 years ago
Database instance is not set in current thread. Assure to set it with: ODatabaseRecordThreadLocal.INSTANCE.set(db);
via GitHub by Vannav
, 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: Database instance is not set in current thread. Assure to set it with: ODatabaseRecordThreadLocal.INSTANCE.set(db);
at com.orientechnologies.orient.core.db.ODatabaseRecordThreadLocal.get(ODatabaseRecordThreadLocal.java:51)
at com.orientechnologies.orient.core.record.ORecordAbstract.getDatabase(ORecordAbstract.java:240)
at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1768)
at net.openchrom.chromatogram.xxd.identifier.supplier.xident.database.document.Documents.setBoolean(Documents.java:102)
at net.openchrom.chromatogram.xxd.identifier.supplier.xident.database.document.LibraryPeakDocuments.setActive(LibraryPeakDocuments.java:96)
at net.openchrom.chromatogram.xxd.identifier.supplier.xident.beans.DAOLibraryPeak.lambda$1(DAOLibraryPeak.java:24)
at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)

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

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