Hi,
I am using OrientDB v2.1.8 (download version)
At the shutdown moment, I got a NullReferenceException due to a null object at line 3240 with ODatabaseRecordThreadLocal.INSTANCE
ODatabaseDocumentTx.java
public void checkIfActive() {
final ODatabaseDocumentInternal currentDatabase = ODatabaseRecordThreadLocal.INSTANCE.get();
if (currentDatabase != this)
throw new IllegalStateException("Current database instance (" + toString() + ") is not active on current thread ("
+ Thread.currentThread() + "). Current active database is: " + currentDatabase);
}
Hereunder is the call stack
and the connection status is still OPEN, it means the exception will prevent the connection from releasing properly. Hopefully that will not cause a memory leaking issue.
My Best,
Hung Tran