{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6404","repository_url":"https://api.github.com/repos/orientechnologies/orientdb","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6404/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6404/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6404/events","html_url":"https://github.com/orientechnologies/orientdb/issues/6404","id":164782154,"number":6404,"title":"Return of (fixed) 2.0 issue in 2.1/2.2: NoClassDefFoundError for ODatabaseRecordThreadLocal","user":{"login":"RoarN","id":4223220,"avatar_url":"https://avatars.githubusercontent.com/u/4223220?v=3","gravatar_id":"","url":"https://api.github.com/users/RoarN","html_url":"https://github.com/RoarN","followers_url":"https://api.github.com/users/RoarN/followers","following_url":"https://api.github.com/users/RoarN/following{/other_user}","gists_url":"https://api.github.com/users/RoarN/gists{/gist_id}","starred_url":"https://api.github.com/users/RoarN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoarN/subscriptions","organizations_url":"https://api.github.com/users/RoarN/orgs","repos_url":"https://api.github.com/users/RoarN/repos","events_url":"https://api.github.com/users/RoarN/events{/privacy}","received_events_url":"https://api.github.com/users/RoarN/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/bug","name":"bug","color":"ededed"},{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/storage%20team","name":"storage team","color":"c5def5"},{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/waiting%20reply","name":"waiting reply","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"taburet","id":1912884,"avatar_url":"https://avatars.githubusercontent.com/u/1912884?v=3","gravatar_id":"","url":"https://api.github.com/users/taburet","html_url":"https://github.com/taburet","followers_url":"https://api.github.com/users/taburet/followers","following_url":"https://api.github.com/users/taburet/following{/other_user}","gists_url":"https://api.github.com/users/taburet/gists{/gist_id}","starred_url":"https://api.github.com/users/taburet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taburet/subscriptions","organizations_url":"https://api.github.com/users/taburet/orgs","repos_url":"https://api.github.com/users/taburet/repos","events_url":"https://api.github.com/users/taburet/events{/privacy}","received_events_url":"https://api.github.com/users/taburet/received_events","type":"User","site_admin":false},"assignees":[{"login":"taburet","id":1912884,"avatar_url":"https://avatars.githubusercontent.com/u/1912884?v=3","gravatar_id":"","url":"https://api.github.com/users/taburet","html_url":"https://github.com/taburet","followers_url":"https://api.github.com/users/taburet/followers","following_url":"https://api.github.com/users/taburet/following{/other_user}","gists_url":"https://api.github.com/users/taburet/gists{/gist_id}","starred_url":"https://api.github.com/users/taburet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taburet/subscriptions","organizations_url":"https://api.github.com/users/taburet/orgs","repos_url":"https://api.github.com/users/taburet/repos","events_url":"https://api.github.com/users/taburet/events{/privacy}","received_events_url":"https://api.github.com/users/taburet/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-07-11T08:13:42Z","updated_at":"2016-09-29T08:57:52Z","closed_at":"2016-09-27T15:29:22Z","body":"Windows 10, Orientdb 2.2.4\r\n\r\nI'm trying to upgrade from 2.0 to 2.2.4 and ran into the same issue that I had when upgrading from 1.7 to 2.0.\r\nWe are running OSGI and are embedding all Orientdb bundles and their dependencies into our bundle.\r\n\r\nI posted on the google group when I tried the same upgrade to 2.1.3 and got these answers from you guys: https://groups.google.com/d/msg/orient-database/gjkfiywvIvs/4g0O0pXNDAAJ\r\nBut it doesn't look like anyone actually did something...\r\n\r\n2016-07-11 09:59:58,228 [Thread-3] ERROR com.aaa.bootstrap.OSGiLogger - com.aaa.orientdb [131]: [ERROR]  : java.lang.NoClassDefFoundError: Could not initialize class com.orientechnologies.orient.core.db.ODatabaseRecordThreadLocal null\r\norg.apache.felix.log.LogException: java.lang.IllegalStateException: java.lang.NoClassDefFoundError: Could not initialize class com.orientechnologies.orient.core.db.ODatabaseRecordThreadLocal\r\n\tat org.apache.felix.ipojo.handlers.lifecycle.callback.LifecycleCallbackHandler.__M_stateChanged(LifecycleCallbackHandler.java:171)\r\n\tat org.apache.felix.ipojo.handlers.lifecycle.callback.LifecycleCallbackHandler.stateChanged(LifecycleCallbackHandler.java)\r\n\tat org.apache.felix.ipojo.InstanceManager.setState(InstanceManager.java:560)\r\n\tat org.apache.felix.ipojo.InstanceManager.start(InstanceManager.java:440)\r\n\tat org.apache.felix.ipojo.ComponentFactory.createInstance(ComponentFactory.java:179)\r\n\tat org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:319)\r\n\tat org.apache.felix.ipojo.IPojoFactory.createComponentInstance(IPojoFactory.java:240)\r\n\tat org.apache.felix.ipojo.extender.internal.linker.ManagedType$InstanceSupport$1.call(ManagedType.java:312)\r\n\tat org.apache.felix.ipojo.extender.internal.linker.ManagedType$InstanceSupport$1.call(ManagedType.java:306)\r\n\tat org.apache.felix.ipojo.extender.internal.queue.JobInfoCallable.call(JobInfoCallable.java:114)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.NoClassDefFoundError: Could not initialize class com.orientechnologies.orient.core.db.ODatabaseRecordThreadLocal\r\n\tat com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.activateOnCurrentThread(ODatabaseDocumentTx.java:2966)\r\n\tat com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.<init>(ODatabaseDocumentTx.java:157)\r\n\tat com.orientechnologies.orient.core.db.OPartitionedDatabasePool$DatabaseDocumentTxPolled.<init>(OPartitionedDatabasePool.java:118)\r\n\tat com.orientechnologies.orient.core.db.OPartitionedDatabasePool$DatabaseDocumentTxPolled.<init>(OPartitionedDatabasePool.java:114)\r\n\tat com.orientechnologies.orient.core.db.OPartitionedDatabasePool.initQueue(OPartitionedDatabasePool.java:442)\r\n\tat com.orientechnologies.orient.core.db.OPartitionedDatabasePool.<init>(OPartitionedDatabasePool.java:217)\r\n\tat com.ceesoft.ceeview.datastore.impl.blueprints.orientdb.DatabaseManagerProvider.__M_validate(DatabaseManagerProvider.java:190)\r\n\tat com.ceesoft.ceeview.datastore.impl.blueprints.orientdb.DatabaseManagerProvider.validate(DatabaseManagerProvider.java)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat org.apache.felix.ipojo.util.Callback.call(Callback.java:233)\r\n\tat org.apache.felix.ipojo.util.Callback.call(Callback.java:193)\r\n\tat org.apache.felix.ipojo.handlers.lifecycle.callback.LifecycleCallback.call(LifecycleCallback.java:86)\r\n\tat org.apache.felix.ipojo.handlers.lifecycle.callback.LifecycleCallbackHandler.__M_stateChanged(LifecycleCallbackHandler.java:162)\r\n\t... 13 more\r\n\r\nIt took several versions of 2.0 before the issue was finally fixed. Since the issue now is back, does that mean that the bug fixes done late in 2.0 have not been merged into 2.1 or is there another reason that the problem has returned in 2.1?\r\n\r\nRegards,\r\nRoar\r\n"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/250409622","html_url":"https://github.com/orientechnologies/orientdb/issues/6404#issuecomment-250409622","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6404","id":250409622,"user":{"login":"RoarN","id":4223220,"avatar_url":"https://avatars.githubusercontent.com/u/4223220?v=3","gravatar_id":"","url":"https://api.github.com/users/RoarN","html_url":"https://github.com/RoarN","followers_url":"https://api.github.com/users/RoarN/followers","following_url":"https://api.github.com/users/RoarN/following{/other_user}","gists_url":"https://api.github.com/users/RoarN/gists{/gist_id}","starred_url":"https://api.github.com/users/RoarN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoarN/subscriptions","organizations_url":"https://api.github.com/users/RoarN/orgs","repos_url":"https://api.github.com/users/RoarN/repos","events_url":"https://api.github.com/users/RoarN/events{/privacy}","received_events_url":"https://api.github.com/users/RoarN/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T08:57:52Z","updated_at":"2016-09-29T08:57:52Z","body":"Stopped actively following this case after more than a month with no activity and I didn't get any notification until the case was closed. But I have now tested the osgi bundle. The bundle it self worked just fine but the error during startup is the same:\r\n\r\n2016-09-29 10:53:43,167 [Thread-3] ERROR com.ceesoft.ceeview.core.bootstrap.OSGiLogger - com.ceesoft.ceeview.datastore.impl.blueprints.orientdb [79]: [ERROR]  : [com.ceesoft.ceeview.datastore.impl.blueprints.orientdb.DatabaseManagerProvider-0] The callback method validate has thrown an exception : javax/script/ScriptEngineFactory null\r\norg.apache.felix.log.LogException: java.lang.NoClassDefFoundError: javax/script/ScriptEngineFactory\r\n\tat com.orientechnologies.orient.core.Orient.<init>(Orient.java:68)\r\n\tat com.orientechnologies.orient.core.Orient.<clinit>(Orient.java:60)\r\n\tat com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerStringAbstract.<clinit>(ORecordSerializerStringAbstract.java:50)\r\n\tat com.orientechnologies.orient.core.serialization.serializer.record.ORecordSerializerFactory.<init>(ORecordSerializerFactory.java:48)\r\n\tat com.orientechnologies.orient.core.serialization.serializer.record.ORecordSerializerFactory.<clinit>(ORecordSerializerFactory.java:38)\r\n\tat com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.<clinit>(ODatabaseDocumentTx.java:111)\r\n\tat com.orientechnologies.orient.core.db.OPartitionedDatabasePool.initQueue(OPartitionedDatabasePool.java:355)\r\n\tat com.orientechnologies.orient.core.db.OPartitionedDatabasePool.<init>(OPartitionedDatabasePool.java:116)\r\n"}}
{"actor":{"display_login":"RoarN"}}