-
Notifications
You must be signed in to change notification settings - Fork 872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on saving record in cluster caused by NPE #5920
Comments
hi @mrboxie , I see that this exception happen with the object database, do you have a test case or example for reproduce it. |
Sorry I don't have a way to reproduce yet. This only happens intermittently. I wonder, just by looking at the stack trace, if you have any hunch on what might be the issue to help us narrow down the scope of investigation. Date: Mon, 4 Apr 2016 00:43:48 -0700 hi @mrboxie , I see that this exception happen with the object database, do you have a test case or example for reproduce it. — |
After using customer database, I was able to see the following exception consistently when inserting one type of record in 2.0.9 embedded mode. The trace seem to have more information. I also tried OrientDB 2.1.5 and attach the stacktrace below as well. I still cannot reproduce without customer database. If the two stacktraces do not provide enough hints, I wonder if you can provide some instructions that I can try on my side to further the investigation as we may not be able to share the customer database. StackTrace from using orientdb 2.0.9 embedded mode ... 54 more StackTrace from using orientdb 2.1.5 embedded mode com.orientechnologies.orient.core.exception.ODatabaseException: Error on saving record in cluster #11 |
Hi, I see this issue is moved for next hotfix. Can I assume this is a new issue? I wonder if you have any suggestion on how to fix current customer database? Thank you! -Bo |
Hi @mrboxie , as you mentioned in issue which you linked, that is issue in 2.0.9 version and I do recommend to upgrade to to latest 2.1 version. About approaches to fix db, you should make export and then import from JSON, and db will be fixed. |
We used orientdb 2.0.9 in embedded mode.
The DB runs into the following exception once a while and subsequent saves trigger the same error. Is this a known issue? Any fix or workaround is greatly appreciated. Thanks for your time!
com.orientechnologies.orient.core.exception.ODatabaseException: Error on saving record in cluster #11 at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeSaveRecord(ODatabaseDocumentTx.java:1787)
at com.orientechnologies.orient.core.tx.OTransactionNoTx.saveRecord(OTransactionNoTx.java:102)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:2306)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:118)
at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1711)
at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1702)
at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:75)
at com.orientechnologies.orient.core.serialization.serializer.record.bin ary.ORecordSerializerBinaryV0.recursiveLinkSave(ORecordSerializerBinaryV0.java:674)
at com.orientechnologies.orient.core.serialization.serializer.record.bin ary.ORecordSerializerBinaryV0.writeOptimizedLink(ORecordSerializerBinaryV0.java:688)
at com.orientechnologies.orient.core.serialization.serializer.record.bin ary.ORecordSerializerBinaryV0.writeLinkCollection(ORecordSerializerBinaryV0.java:703)
at com.orientechnologies.orient.core.serialization.serializer.record.bin ary.ORecordSerializerBinaryV0.writeSingleValue(ORecordSerializerBinaryV0.java:569)
at com.orientechnologies.orient.core.serialization.serializer.record.bin ary.ORecordSerializerBinaryV0.serialize(ORecordSerializerBinaryV0.java:261)
at com.orientechnologies.orient.core.serialization.serializer.record.bin ary.ORecordSerializerBinary.toStream(ORecordSerializerBinary.java:104)
at com.orientechnologies.orient.core.record.impl.ODocument.toStream(ODocument.java:2070)
at com.orientechnologies.orient.core.record.impl.ODocument.toStream(ODocument.java:691)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeSaveRecord(ODatabaseDocumentTx.java:1687)
at com.orientechnologies.orient.core.tx.OTransactionNoTx.saveRecord(OTransactionNoTx.java:102)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:2306)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:118)
at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1711)
at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1702)
at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:75)
at com.orientechnologies.orient.core.serialization.serializer.record.bin ary.ORecordSerializerBinaryV0.recursiveLinkSave(ORecordSerializerBinaryV0.java:674)
at com.orientechnologies.orient.core.serialization.serializer.record.bin ary.ORecordSerializerBinaryV0.writeOptimizedLink(ORecordSerializerBinaryV0.java:688)
at com.orientechnologies.orient.core.serialization.serializer.record.bin ary.ORecordSerializerBinaryV0.writeLinkCollection(ORecordSerializerBinaryV0.java:703)
at com.orientechnologies.orient.core.serialization.serializer.record.bin ary.ORecordSerializerBinaryV0.writeSingleValue(ORecordSerializerBinaryV0.java:569)
at com.orientechnologies.orient.core.serialization.serializer.record.bin ary.ORecordSerializerBinaryV0.serialize(ORecordSerializerBinaryV0.java:261)
at com.orientechnologies.orient.core.serialization.serializer.record.bin ary.ORecordSerializerBinary.toStream(ORecordSerializerBinary.java:104)
at com.orientechnologies.orient.core.record.impl.ODocument.toStream(ODocument.java:2070)
at com.orientechnologies.orient.core.record.impl.ODocument.toStream(ODocument.java:691)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeSaveRecord(ODatabaseDocumentTx.java:1687)
at com.orientechnologies.orient.core.tx.OTransactionNoTx.saveRecord(OTransactionNoTx.java:102)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:2306)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:118)
at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1711)
at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:1702)
at com.orientechnologies.orient.core.record.impl.ODocument.save(ODocument.java:75)
at com.orientechnologies.orient.core.serialization.serializer.record.bin ary.ORecordSerializerBinaryV0.recursiveLinkSave(ORecordSerializerBinaryV0.java:674)
at com.orientechnologies.orient.core.serialization.serializer.record.bin ary.ORecordSerializerBinaryV0.writeOptimizedLink(ORecordSerializerBinaryV0.java:688)
at com.orientechnologies.orient.core.serialization.serializer.record.bin ary.ORecordSerializerBinaryV0.writeSingleValue(ORecordSerializerBinaryV0.java:572)
at com.orientechnologies.orient.core.serialization.serializer.record.bin ary.ORecordSerializerBinaryV0.serialize(ORecordSerializerBinaryV0.java:261)
at com.orientechnologies.orient.core.serialization.serializer.record.bin ary.ORecordSerializerBinary.toStream(ORecordSerializerBinary.java:104)
at com.orientechnologies.orient.core.record.impl.ODocument.toStream(ODocument.java:2070)
at com.orientechnologies.orient.core.record.impl.ODocument.toStream(ODocument.java:691)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.executeSaveRecord(ODatabaseDocumentTx.java:1687)
at com.orientechnologies.orient.core.tx.OTransactionNoTx.saveRecord(OTransactionNoTx.java:102)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.save(ODatabaseDocumentTx.java:2306)
at com.orientechnologies.orient.object.db.OObjectDatabaseTx.save(OObjectDatabaseTx.java:444)
at com.orientechnologies.orient.object.db.OObjectDatabaseTx.save(OObjectDatabaseTx.java:379)
...
Caused by: java.lang.NullPointerException
The text was updated successfully, but these errors were encountered: