{"action":"opened","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6583","repository_url":"https://api.github.com/repos/orientechnologies/orientdb","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6583/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6583/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6583/events","html_url":"https://github.com/orientechnologies/orientdb/issues/6583","id":171731061,"number":6583,"title":"Stored row in cluster has shows different count after ODB hangs ","user":{"login":"saeedtabrizi","id":10245423,"avatar_url":"https://avatars.githubusercontent.com/u/10245423?v=3","gravatar_id":"","url":"https://api.github.com/users/saeedtabrizi","html_url":"https://github.com/saeedtabrizi","followers_url":"https://api.github.com/users/saeedtabrizi/followers","following_url":"https://api.github.com/users/saeedtabrizi/following{/other_user}","gists_url":"https://api.github.com/users/saeedtabrizi/gists{/gist_id}","starred_url":"https://api.github.com/users/saeedtabrizi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saeedtabrizi/subscriptions","organizations_url":"https://api.github.com/users/saeedtabrizi/orgs","repos_url":"https://api.github.com/users/saeedtabrizi/repos","events_url":"https://api.github.com/users/saeedtabrizi/events{/privacy}","received_events_url":"https://api.github.com/users/saeedtabrizi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-17T18:44:38Z","updated_at":"2016-08-17T18:44:38Z","closed_at":null,"body":"## OrientDB Version, operating system, or hardware.\r\n- v2.2.7\r\n\r\n## Operating System\r\n- [ ] Linux\r\n\r\n## Expected behavior and actual behavior\r\nOrient DB running normally but after the some hours , hangs with cpu usage 100% .\r\nthe following trace , \r\n\r\n`com.orientechnologies.orient.core.exception.OPaginatedClusterException: Error during record creation\r\n        DB name=\"BSNTS_DB\"\r\n        Component Name=\"fiscaltransaction\"\r\n        at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.createRecord(OPaginatedCluster.java:494)\r\n        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doCreateRecord(OAbstractPaginatedStorage.java:3091)\r\n        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.createRecord(OAbstractPaginatedStorage.java:960)\r\n        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeSaveRecord(ODatabaseDocumentTx.java:2075)\r\n        at com.orientechnologies.orient.core.tx.OTransactionNoTx.saveNew(OTransactionNoTx.java:246)\r\n        at com.orientechnologies.orient.core.tx.OTransactionNoTx.saveRecord(OTransactionNoTx.java:179)\r\n        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:2598)\r\n        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:103)\r\n        at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1800)\r\n        at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1791)\r\n        at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:63)\r\n        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLInsert.saveRecord(OCommandExecutorSQLInsert.java:330)\r\n        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLInsert.execute(OCommandExecutorSQLInsert.java:231)\r\n        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:72)\r\n        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:2680)\r\n        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:2626)\r\n        at com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:69)\r\n        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1515)\r\n       at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:2680)\r\n        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:2626)\r\n        at com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:69)\r\n        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1515)\r\n        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:577)\r\n        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.sessionRequest(ONetworkProtocolBinary.java:318)\r\n        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.execute(ONetworkProtocolBinary.java:196)\r\n        at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:77)\r\nCaused by: java.lang.NullPointerException\r\n        at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.findFreePage(OPaginatedCluster.java:1970)\r\n        at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.addEntry(OPaginatedCluster.java:1906)\r\n        at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.createRecord(OPaginatedCluster.java:475)\r\n        ... 21 more\r\n$ANSI{green {db=BSNTS_DB}} Error on creating record in cluster: plocal cluster: fiscaltransaction\r\ncom.orientechnologies.orient.core.exception.OPaginatedClusterException: Error during record creation\r\n        DB name=\"BSNTS_DB\"\r\n        Component Name=\"fiscaltransaction\"\r\n        at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.createRecord(OPaginatedCluster.java:494)       at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.createRecord(OAbstractPaginatedStorage.java:960)\r\n        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeSaveRecord(ODatabaseDocumentTx.java:2075)\r\n        at com.orientechnologies.orient.core.tx.OTransactionNoTx.saveNew(OTransactionNoTx.java:246)\r\n        at com.orientechnologies.orient.core.tx.OTransactionNoTx.saveRecord(OTransactionNoTx.java:179)\r\n        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:2598)\r\n        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:103)\r\n        at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1800)\r\n        at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1791)\r\n        at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:63)\r\n        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLInsert.saveRecord(OCommandExecutorSQLInsert.java:330)\r\n        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLInsert.execute(OCommandExecutorSQLInsert.java:231)\r\n        at com.orientechnologies.orient.core.sql.OCommandExecutorSQLDelegate.execute(OCommandExecutorSQLDelegate.java:72)\r\n        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.executeCommand(OAbstractPaginatedStorage.java:2680)\r\n        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.command(OAbstractPaginatedStorage.java:2626)\r\n        at com.orientechnologies.orient.core.command.OCommandRequestTextAbstract.execute(OCommandRequestTextAbstract.java:69)\r\n        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.command(ONetworkProtocolBinary.java:1515)\r\n        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:577)\r\n        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.sessionRequest(ONetworkProtocolBinary.java:318)\r\n        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.execute(ONetworkProtocolBinary.java:196)\r\n        at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:77)\r\nCaused by: java.lang.NullPointerException\r\n        at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.findFreePage(OPaginatedCluster.java:1970)\r\n        at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.addEntry(OPaginatedCluster.java:1906)\r\n        at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.createRecord(OPaginatedCluster.java:475)` \r\n\r\n\r\nand i'm wondered when run the select count command result that show as below :\r\n\r\n![image](https://cloud.githubusercontent.com/assets/10245423/17748739/076dcf62-64d0-11e6-9f54-a8735fb62033.png)\r\n\r\nSo when i insert new Record in FiscalTransaction class , randomly raised error and not saving the record .\r\n\r\nPlease help me .\r\n\r\n\r\n## Steps to reproduce the problem .\r\nI don't know , this behavior is unexpected . \r\n\r\nThanks\r\nSaeed Tabrizi"}}
{"actor":{"display_login":"saeedtabrizi"}}