Orientdb 2.1: Could not initialize class com.orientechnologies.orient.core.db.ODatabaseRecordThreadLocal

275 views
Skip to first unread message

Roar Nestegard

unread,
Aug 20, 2015, 7:44:36 AM8/20/15
to Gremlin-users
Hi,

Tried to switch from 2.0 to 2.1 and got this error when connecting to the database. This is exactly the same problem I had when we upgraded to 2.0, so it looks like the problem has been reintroduced in 2.1

2015-08-20 12:54:36,786 [Thread-3] ERROR OSGiLogger - datastore.impl.blueprints.orientdb [63]: [ERROR]  : [datastore.impl.blueprints.orientdb.DatabaseManagerProvider-0] The callback method validate has thrown an exception : Could not initialize class com.orientechnologies.orient.core.db.ODatabaseRecordThreadLocal null
java.lang.NoClassDefFoundError: Could not initialize class com.orientechnologies.orient.core.db.ODatabaseRecordThreadLocal
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.activateOnCurrentThread(ODatabaseDocumentTx.java:2800)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.<init>(ODatabaseDocumentTx.java:171)
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool$DatabaseDocumentTxPolled.<init>(OPartitionedDatabasePool.java:126)
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool$DatabaseDocumentTxPolled.<init>(OPartitionedDatabasePool.java:122)
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.initQueue(OPartitionedDatabasePool.java:386)
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.<init>(OPartitionedDatabasePool.java:186)


Is this a known issue? If so is there a workaround or do I have to wait for bug to get fixed again?


Regards,
/Roar

Riccardo Tasso

unread,
Aug 21, 2015, 3:57:10 AM8/21/15
to gremli...@googlegroups.com
Why don't you post this question to the OrientDB mailing list?

Cheers,
   Riccardo

--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/3c3fd18e-dc9f-441d-84d9-d9345b86f3ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

balakris...@gmail.com

unread,
Dec 28, 2018, 11:40:33 AM12/28/18
to Gremlin-users
Can anyone please tell me the reason for the below exception while loading data in orientDB?

2018-12-28 10:46:54.652 ERROR 14136 --- [nio-8088-exec-3] org.camunda.bpm.engine.context : ENGINE-16004 Exception while closing command context: Could not initialize class com.orientechnologies.orient.core.db.OPartitionedDatabasePool$DatabaseDocumentTxPooled

java.lang.NoClassDefFoundError: Could not initialize class com.orientechnologies.orient.core.db.OPartitionedDatabasePool$DatabaseDocumentTxPooled
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.initQueue(OPartitionedDatabasePool.java:350) ~[orientdb-core-3.0.10.jar:3.0.10]
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.<init>(OPartitionedDatabasePool.java:117) ~[orientdb-core-3.0.10.jar:3.0.10]
at com.tinkerpop.blueprints.impls.orient.OrientGraphFactory.<init>(OrientGraphFactory.java:176) ~[orientdb-graphdb-3.0.10.jar:3.0.10]
at com.tinkerpop.blueprints.impls.orient.OrientGraphFactory.<init>(OrientGraphFactory.java:157) ~[orientdb-graphdb-3.0.10.jar:3.0.10]
at aix.serviceImpl.VmaxInsertion.VMaxlogDataInsertion(VmaxInsertion.java:253) ~[classes/:na]
at aix.serviceImpl.DataInsertion.execute(DataInsertion.java:61) ~[classes/:na]
at org.camunda.bpm.engine.impl.bpmn.delegate.JavaDelegateInvocation.invoke(JavaDelegateInvocation.java:36) ~[camunda-engine-7.9.0.jar:7.9.0]
at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:54) ~[camunda-engine-7.9.0.jar:7.9.0]
at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:87) ~[camunda-engine-7.9.0.jar:7.9.0]
at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:59) ~[camunda-engine-7.9.0.jar:7.9.0]
at org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskJavaDelegateActivityBehavior.execute(ServiceTaskJavaDelegateActivityBehavior.java:50) ~[camunda-engine-7.9.0.jar:7.9.0]

Stephen Mallette

unread,
Jan 1, 2019, 8:40:20 AM1/1/19
to gremli...@googlegroups.com
Could be some kind of version mismatch with dependencies maybe? That's a really old version of OrientDB and goes back to TinkerPop 2.x. I don't really remember how much of that works.

--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages