{"action":"closed","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5219","repository_url":"https://api.github.com/repos/orientechnologies/orientdb","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5219/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5219/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5219/events","html_url":"https://github.com/orientechnologies/orientdb/issues/5219","id":113238156,"number":5219,"title":"OConcurrentModificationException: Also after recreating my db I can not bootstrap my db anymore.","user":{"login":"StarpTech","id":1764424,"avatar_url":"https://avatars.githubusercontent.com/u/1764424?v=3","gravatar_id":"","url":"https://api.github.com/users/StarpTech","html_url":"https://github.com/StarpTech","followers_url":"https://api.github.com/users/StarpTech/followers","following_url":"https://api.github.com/users/StarpTech/following{/other_user}","gists_url":"https://api.github.com/users/StarpTech/gists{/gist_id}","starred_url":"https://api.github.com/users/StarpTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StarpTech/subscriptions","organizations_url":"https://api.github.com/users/StarpTech/orgs","repos_url":"https://api.github.com/users/StarpTech/repos","events_url":"https://api.github.com/users/StarpTech/events{/privacy}","received_events_url":"https://api.github.com/users/StarpTech/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/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":{"login":"tglman","id":424369,"avatar_url":"https://avatars.githubusercontent.com/u/424369?v=3","gravatar_id":"","url":"https://api.github.com/users/tglman","html_url":"https://github.com/tglman","followers_url":"https://api.github.com/users/tglman/followers","following_url":"https://api.github.com/users/tglman/following{/other_user}","gists_url":"https://api.github.com/users/tglman/gists{/gist_id}","starred_url":"https://api.github.com/users/tglman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tglman/subscriptions","organizations_url":"https://api.github.com/users/tglman/orgs","repos_url":"https://api.github.com/users/tglman/repos","events_url":"https://api.github.com/users/tglman/events{/privacy}","received_events_url":"https://api.github.com/users/tglman/received_events","type":"User","site_admin":false},"assignees":[{"login":"tglman","id":424369,"avatar_url":"https://avatars.githubusercontent.com/u/424369?v=3","gravatar_id":"","url":"https://api.github.com/users/tglman","html_url":"https://github.com/tglman","followers_url":"https://api.github.com/users/tglman/followers","following_url":"https://api.github.com/users/tglman/following{/other_user}","gists_url":"https://api.github.com/users/tglman/gists{/gist_id}","starred_url":"https://api.github.com/users/tglman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tglman/subscriptions","organizations_url":"https://api.github.com/users/tglman/orgs","repos_url":"https://api.github.com/users/tglman/repos","events_url":"https://api.github.com/users/tglman/events{/privacy}","received_events_url":"https://api.github.com/users/tglman/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/64","html_url":"https://github.com/orientechnologies/orientdb/milestones/2.1.x%20(next%20hotfix)","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/64/labels","id":1282180,"number":64,"title":"2.1.x (next hotfix)","description":"","creator":{"login":"lvca","id":312606,"avatar_url":"https://avatars.githubusercontent.com/u/312606?v=3","gravatar_id":"","url":"https://api.github.com/users/lvca","html_url":"https://github.com/lvca","followers_url":"https://api.github.com/users/lvca/followers","following_url":"https://api.github.com/users/lvca/following{/other_user}","gists_url":"https://api.github.com/users/lvca/gists{/gist_id}","starred_url":"https://api.github.com/users/lvca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvca/subscriptions","organizations_url":"https://api.github.com/users/lvca/orgs","repos_url":"https://api.github.com/users/lvca/repos","events_url":"https://api.github.com/users/lvca/events{/privacy}","received_events_url":"https://api.github.com/users/lvca/received_events","type":"User","site_admin":false},"open_issues":94,"closed_issues":1,"state":"open","created_at":"2015-08-31T15:18:49Z","updated_at":"2016-08-11T13:14:13Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-10-25T17:20:49Z","updated_at":"2016-08-11T13:14:13Z","closed_at":"2016-08-11T13:14:13Z","body":"Orientdb: 2.0.14 - 2.0.15\r\nOrientJs\r\n\r\nThis issue happens after this transaction (The transaction has worked since months !!)\r\n```\r\nLET $0 = SELECT max($depth) as InsertedAtDepth, @rid, * \" + \"FROM ( TRAVERSE out('%s') FROM %s ) WHERE @class = '%s' or @class = 'Root'\r\nLET $1 = create vertex Node cluster %s content %s\r\nLET $2 = create edge %s cluster %s from $t0 to $t1\r\n```\r\n\r\nsuddenly I got the following issue\r\n```\r\njava.lang.NullPointerException [ONetworkProtocolHttpDb]\r\n2015-10-25 16:47:31:801 SEVERE Internal server error:\r\n```\r\n\r\nafter some time I figure out orientdb breaks when I use the wildcard `*` projection in the query. I removed the wildcard projection and used this one.\r\n\r\n```\r\nSELECT max($depth) as InsertedAtDepth, @rid as @rid...\r\n```\r\n\r\nBut after another try I got following issue:\r\n\r\nStack trace:\r\n\r\n```\r\nSent run-time exception to the client /10.0.2.2:54193: com.orientechnologies.orient.core.exception.OConcurrentModificationException: Cannot UPDATE the record #19:0 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v1 your=v0)\r\ncom.orientechnologies.orient.core.exception.OConcurrentModificationException: Cannot UPDATE the record #19:0 because the version is not the latest. Probably you are updating an old record or it has been modified by another user (db=v1 your=v0)\r\n        at com.orientechnologies.orient.core.conflict.OVersionRecordConflictStrategy.checkVersions(OVersionRecordConflictStrategy.java:55)\r\n        at com.orientechnologies.orient.core.conflict.OVersionRecordConflictStrategy.onUpdate(OVersionRecordConflictStrategy.java:42)\r\n        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.checkAndIncrementVersion(OAbstractPaginatedStorage.java:1887)\r\n        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doUpdateRecord(OAbstractPaginatedStorage.java:1552)\r\n        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.updateRecord(OAbstractPaginatedStorage.java:710)\r\n        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeSaveRecord(ODatabaseDocumentTx.java:1757)\r\n        at com.orientechnologies.orient.core.tx.OTransactionOptimistic.addRecord(OTransactionOptimistic.java:312)\r\n        at com.orientechnologies.orient.core.tx.OTransactionOptimistic.saveRecord(OTransactionOptimistic.java:253)\r\n        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:2316)\r\n        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:118)\r\n        at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1727)\r\n        at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1718)\r\n        at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:76)\r\n        at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.recursiveLinkSave(ORecordSerializerBinaryV0.java:680)\r\n        at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.writeOptimizedLink(ORecordSerializerBinaryV0.java:694)\r\n        at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.writeSingleValue(ORecordSerializerBinaryV0.java:574)\r\n        at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV0.serialize(ORecordSerializerBinaryV0.java:262)\r\n        at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinary.toStream(ORecordSerializerBinary.java:105)\r\n        at com.orientechnologies.orient.core.record.impl.ODocument.toStream(ODocument.java:2100)\r\n        at com.orientechnologies.orient.core.record.impl.ODocument.toStream(ODocument.java:695)\r\n        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commitEntry(OAbstractPaginatedStorage.java:1936)\r\n        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commit(OAbstractPaginatedStorage.java:919)\r\n        at com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:488)\r\n        at com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:147)\r\n        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2437)\r\n        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2407)\r\n        at com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.commit(OrientTransactionalGraph.java:162)\r\n        at com.orientechnologies.orient.graph.sql.OGraphCommandExecutorSQLFactory.runInTx(OGraphCommandExecutorSQLFactory.java:126)\r\n        at com.orientechnologies.orient.graph.sql.OGraphCommandExecutorSQLFactory.runInTx(OGraphCommandExecutorSQLFactory.java:142)\r\n        at com.orientechnologies.orient.graph.sql.OCommandExecutorSQLCreateEdge.execute(OCommandExecutorSQLCreateEdge.java:126)\r\n        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:64)\r\n        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:1191)\r\n        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:1180)\r\n        at com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:63)\r\n        at com.orientechnologies.orient.core.command.script.OCommandExecutorScript.executeCommand(OCommandExecutorScript.java:324)\r\n        at com.orientechnologies.orient.core.command.script.OCommandExecutorScript.executeLet(OCommandExecutorScript.java:414)\r\n        at com.orientechnologies.orient.core.command.script.OCommandExecutorScript.executeSQLScript(OCommandExecutorScript.java:199)\r\n        at com.orientechnologies.orient.core.command.script.OCommandExecutorScript.executeSQL(OCommandExecutorScript.java:148)\r\n        at com.orientechnologies.orient.core.command.script.OCommandExecutorScript.executeInContext(OCommandExecutorScript.java:93)\r\n        at com.orientechnologies.orient.core.command.script.OCommandExecutorScript.execute(OCommandExecutorScript.java:83)\r\n        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:1191)\r\n        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:1180)\r\n        at com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:63)\r\n        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1183)\r\n        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:390)\r\n        at com.orientechnologies.orient.server.network.protocol.binary.OBinaryNetworkProtocolAbstract.execute(OBinaryNetworkProtocolAbstract.java:217)\r\n        at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:69)\r\n```\r\n\r\n***Now I cannot bootstrap my db anymore this error still occurs even when I delete the db.***\r\n"}}
{"actor":{"display_login":"tglman"}}