{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4763","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4763/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4763/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4763/events","html_url":"https://github.com/orientechnologies/orientdb/issues/4763","id":99905364,"number":4763,"title":"Orientdb 2.1.0:  when commit:  assert error : assert nextEntryPointer >= 0 && currentEntrySize == OClusterPage.MAX_RECORD_SIZE || nextEntryPointer < 0; ","user":{"login":"ninesunqian","id":1024983,"avatar_url":"https://avatars.githubusercontent.com/u/1024983?v=3","gravatar_id":"","url":"https://api.github.com/users/ninesunqian","html_url":"https://github.com/ninesunqian","followers_url":"https://api.github.com/users/ninesunqian/followers","following_url":"https://api.github.com/users/ninesunqian/following{/other_user}","gists_url":"https://api.github.com/users/ninesunqian/gists{/gist_id}","starred_url":"https://api.github.com/users/ninesunqian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninesunqian/subscriptions","organizations_url":"https://api.github.com/users/ninesunqian/orgs","repos_url":"https://api.github.com/users/ninesunqian/repos","events_url":"https://api.github.com/users/ninesunqian/events{/privacy}","received_events_url":"https://api.github.com/users/ninesunqian/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/bug","name":"bug","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"laa","id":105066,"avatar_url":"https://avatars.githubusercontent.com/u/105066?v=3","gravatar_id":"","url":"https://api.github.com/users/laa","html_url":"https://github.com/laa","followers_url":"https://api.github.com/users/laa/followers","following_url":"https://api.github.com/users/laa/following{/other_user}","gists_url":"https://api.github.com/users/laa/gists{/gist_id}","starred_url":"https://api.github.com/users/laa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laa/subscriptions","organizations_url":"https://api.github.com/users/laa/orgs","repos_url":"https://api.github.com/users/laa/repos","events_url":"https://api.github.com/users/laa/events{/privacy}","received_events_url":"https://api.github.com/users/laa/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/60","html_url":"https://github.com/orientechnologies/orientdb/milestones/2.1.1","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/60/labels","id":1242057,"number":60,"title":"2.1.1","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":38,"closed_issues":5,"state":"open","created_at":"2015-08-05T13:34:08Z","updated_at":"2015-08-10T13:10:45Z","due_on":"2015-08-11T22:00:00Z","closed_at":null},"comments":5,"created_at":"2015-08-09T15:22:00Z","updated_at":"2015-08-10T13:21:44Z","closed_at":null,"body":"after some vertex and edge operation.  When I commit the OrentGraph, I get assert error:\r\n\r\nsome of the threads stack is:\r\nThread-6@4543 daemon, prio=6, in group 'main', status: 'RUNNING'\r\n\t  at org.apache.lucene.search.ControlledRealTimeReopenThread.run(ControlledRealTimeReopenThread.java:231)\r\n\r\nOrientDB Write Cache Flush Task (eulermind)@4032 daemon, prio=10, in group 'OrientDB Storage', status: 'WAIT'\r\n\t  at sun.misc.Unsafe.park(Unsafe.java:-1)\r\n\t  at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)\r\n\t  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2082)\r\n\t  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1090)\r\n\t  at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:807)\r\n\t  at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)\r\n\t  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)\r\n\t  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\t  at java.lang.Thread.run(Thread.java:724)\r\n\r\nOrientDB WAL Flush Task (eulermind)@4013 daemon, prio=6, in group 'OrientDB Storage', status: 'RUNNING'\r\n\t  at java.io.WinNTFileSystem.getSpace0(WinNTFileSystem.java:-1)\r\n\t  at java.io.WinNTFileSystem.getSpace(WinNTFileSystem.java:56)\r\n\t  at java.io.File.getFreeSpace(File.java:1821)\r\n\t  at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog$LogSegment$FlushTask.commit(ODiskWriteAheadLog.java:218)\r\n\t  at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog$LogSegment$FlushTask.run(ODiskWriteAheadLog.java:131)\r\n\t  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\r\n\t  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)\r\n\t  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)\r\n\t  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)\r\n\t  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\t  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\t  at java.lang.Thread.run(Thread.java:724)\r\n\r\nAWT-EventQueue-0@2162, prio=6, in group 'main', status: 'RUNNING'\r\n\t  at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.updateRecord(OPaginatedCluster.java:862)\r\n\t  at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doUpdateRecord(OAbstractPaginatedStorage.java:1943)\r\n\t  at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commitEntry(OAbstractPaginatedStorage.java:2381)\r\n\t  at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commit(OAbstractPaginatedStorage.java:1123)\r\n\t  at com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:609)\r\n\t  at com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:156)\r\n\t  at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2578)\r\n\t  at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2547)\r\n\t  at com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.commit(OrientTransactionalGraph.java:161)\r\n\r\n............\r\n\t\r\n\r\nafter I restart the OrientGraph, I get a vertex, setProperty, and commit, the error will appear."},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/129445618","html_url":"https://github.com/orientechnologies/orientdb/issues/4763#issuecomment-129445618","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/4763","id":129445618,"user":{"login":"ninesunqian","id":1024983,"avatar_url":"https://avatars.githubusercontent.com/u/1024983?v=3","gravatar_id":"","url":"https://api.github.com/users/ninesunqian","html_url":"https://github.com/ninesunqian","followers_url":"https://api.github.com/users/ninesunqian/followers","following_url":"https://api.github.com/users/ninesunqian/following{/other_user}","gists_url":"https://api.github.com/users/ninesunqian/gists{/gist_id}","starred_url":"https://api.github.com/users/ninesunqian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninesunqian/subscriptions","organizations_url":"https://api.github.com/users/ninesunqian/orgs","repos_url":"https://api.github.com/users/ninesunqian/repos","events_url":"https://api.github.com/users/ninesunqian/events{/privacy}","received_events_url":"https://api.github.com/users/ninesunqian/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T13:21:44Z","updated_at":"2015-08-10T13:21:44Z","body":"When I create a empty db, I get the same assert error:\n\n\n\n\nOrientDB Write Cache Flush Task (eulermind)@4022 daemon, prio=10, in group 'OrientDB Storage', status: 'RUNNING'\n at sun.misc.Unsafe.copyMemory(Unsafe.java:-1)\n at java.nio.Bits.copyFromArray(Bits.java:750)\n at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:365)\n at java.nio.DirectByteBuffer.put(DirectByteBuffer.java:336)\n at sun.nio.ch.IOUtil.write(IOUtil.java:60)\n at sun.nio.ch.FileChannelImpl.writeInternal(FileChannelImpl.java:738)\n at sun.nio.ch.FileChannelImpl.write(FileChannelImpl.java:720)\n at com.orientechnologies.orient.core.storage.fs.OFileClassic.writeInternal(OFileClassic.java:168)\n at com.orientechnologies.orient.core.storage.fs.OFileClassic.write(OFileClassic.java:382)\n at com.orientechnologies.orient.core.storage.cache.local.OWOWCache.flushPage(OWOWCache.java:1250)\n at com.orientechnologies.orient.core.storage.cache.local.OWOWCache.access$2700(OWOWCache.java:80)\n at com.orientechnologies.orient.core.storage.cache.local.OWOWCache$PeriodicFlushTask.iterateByCacheSubRing(OWOWCache.java:1563)\n at com.orientechnologies.orient.core.storage.cache.local.OWOWCache$PeriodicFlushTask.iterateBySubRing(OWOWCache.java:1446)\n at com.orientechnologies.orient.core.storage.cache.local.OWOWCache$PeriodicFlushTask.flushRing(OWOWCache.java:1436)\n at com.orientechnologies.orient.core.storage.cache.local.OWOWCache$PeriodicFlushTask.run(OWOWCache.java:1390)\n at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\n at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)\n at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)\n at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)\n at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n at java.lang.Thread.run(Thread.java:724)\n\n\nOrientDB WAL Flush Task (eulermind)@4003 daemon, prio=6, in group 'OrientDB Storage', status: 'RUNNING'\n at sun.misc.Unsafe.getByte(Unsafe.java:-1)\n at com.orientechnologies.common.directmemory.OUnsafeMemory.getInt(OUnsafeMemory.java:127)\n at com.orientechnologies.common.directmemory.ODirectMemoryPointer.getInt(ODirectMemoryPointer.java:100)\n at com.orientechnologies.common.serialization.types.OIntegerSerializer.deserializeFromDirectMemory(OIntegerSerializer.java:121)\n at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OWALPage.getSerializedRecordSize(OWALPage.java:85)\n at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog$LogSegment$FlushTask.commit(ODiskWriteAheadLog.java:173)\n at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog$LogSegment$FlushTask.run(ODiskWriteAheadLog.java:131)\n at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\n at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)\n at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)\n at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)\n at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n at java.lang.Thread.run(Thread.java:724)\n\n\n\n\nAWT-EventQueue-0@2163, prio=6, in group 'main', status: 'RUNNING'\n at com.orientechnologies.orient.core.storage.impl.local.paginated.OPaginatedCluster.updateRecord(OPaginatedCluster.java:862)\n at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.doUpdateRecord(OAbstractPaginatedStorage.java:1943)\n at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.updateRecord(OAbstractPaginatedStorage.java:888)\n at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeSaveRecord(ODatabaseDocumentTx.java:1901)\n at com.orientechnologies.orient.core.tx.OTransactionNoTx.saveRecord(OTransactionNoTx.java:160)\n at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:2464)\n at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:120)\n at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1725)\n at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1716)\n at com.orientechnologies.orient.core.index.OIndexManagerAbstract$1.call(OIndexManagerAbstract.java:132)\n at com.orientechnologies.orient.core.db.OScenarioThreadLocal.executeAsDistributed(OScenarioThreadLocal.java:67)\n at com.orientechnologies.orient.core.index.OIndexManagerAbstract.save(OIndexManagerAbstract.java:122)\n at com.orientechnologies.orient.core.index.OIndexManagerShared.createIndex(OIndexManagerShared.java:178)\n at com.orientechnologies.orient.core.index.OIndexManagerShared.createIndex(OIndexManagerShared.java:97)\n at com.orientechnologies.orient.core.index.OIndexManagerAbstract.create(OIndexManagerAbstract.java:171)\n at com.orientechnologies.orient.core.index.OIndexManagerProxy.create(OIndexManagerProxy.java:52)\n at com.orientechnologies.orient.core.metadata.OMetadataDefault.create(OMetadataDefault.java:91)\n at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.create(ODatabaseDocumentTx.java:415)\n at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.create(ODatabaseDocumentTx.java:358)\n at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.openOrCreate(OrientBaseGraph.java:1857)\n at com.tinkerpop.blueprints.impls.orient.OrientBaseGraph.<init>(OrientBaseGraph.java:172)\n at com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.<init>(OrientTransactionalGraph.java:102)\n at com.tinkerpop.blueprints.impls.orient.OrientGraph.<init>(OrientGraph.java:82)\n\n\n\n\n\n\n\n在 2015-08-10 16:38:24，\"Andrey Lomakin\" <notifications@github.com> 写道：\nYou run database with -ea option enabled . That is not good for production\nany way .\n\nпн, 10 Авг 2015, 11:36, Andrey Lomakin <lomakin.andrey@gmail.com>:\n\n> Hi ,\n> You merely need to disable assertions , or do export/import did you try\n> this ?\n>\n> пн, 10 Авг 2015, 5:02, ninesunqian <notifications@github.com>:\n>\n>> Would you fix it as soon as possible please. I have created a mindmap\n>> tool based on orientdb. All my minds is in orientdb, now I can't use it.\n>>\n>> —\n>> Reply to this email directly or view it on GitHub\n>> <https://github.com/orientechnologies/orientdb/issues/4763#issuecomment-129273145>\n>> .\n>>\n>\n\n\n—\nReply to this email directly or view it on GitHub."}}