Java 在orientDB上提交失败

Java 在orientDB上提交失败,java,orientdb,Java,Orientdb,我正在尝试在OrientDB版本(3.1.2)中插入N条边和N个顶点,顶点已成功插入,但边没有插入,我在提交函数中遇到问题,即使相同的函数在插入顶点时工作正常,下面是我的函数: protected static boolean commitGraph(OrientGraph g) { for (int i = 0; i < 2; i++) { try { g.commit(); retu

我正在尝试在OrientDB版本(3.1.2)中插入N条边和N个顶点,顶点已成功插入,但边没有插入,我在提交函数中遇到问题,即使相同的函数在插入顶点时工作正常,下面是我的函数:

protected static boolean commitGraph(OrientGraph g) {
        for (int i = 0; i < 2; i++) {
            try {
                g.commit();
                return true;
            } catch (Exception e) {
                System.out.println(e);
            }
        }
        return false;
    } 
任何帮助!!
谢谢

请在bug跟踪器中创建一个问题,我们将帮助您。
INFO: Windows OS is detected, 262144 limit of open files will be set for the disk cache.
Sep 14, 2020 10:06:56 AM com.orientechnologies.common.log.OLogManager log
SEVERE: Error on transaction commit `2E3CD732`
com.orientechnologies.orient.core.exception.OStorageException: Exception during execution of component operation inside of storage healthEmptyDB
    DB name="healthEmptyDB"
    DB name="healthEmptyDB"
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
    at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.handleException(OChannelBinaryAsynchClient.java:357)
    at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.handleStatus(OChannelBinaryAsynchClient.java:305)
    at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.handleStatus(OChannelBinaryAsynchClient.java:327)
    at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:211)
    at com.orientechnologies.orient.client.binary.OChannelBinaryAsynchClient.beginResponse(OChannelBinaryAsynchClient.java:169)
    at com.orientechnologies.orient.client.remote.OStorageRemote.beginResponse(OStorageRemote.java:2221)
    at com.orientechnologies.orient.client.remote.OStorageRemote.lambda$networkOperationRetryTimeout$2(OStorageRemote.java:385)
    at com.orientechnologies.orient.client.remote.OStorageRemote.baseNetworkOperation(OStorageRemote.java:447)
    at com.orientechnologies.orient.client.remote.OStorageRemote.networkOperationRetryTimeout(OStorageRemote.java:365)
    at com.orientechnologies.orient.client.remote.OStorageRemote.networkOperationNoRetry(OStorageRemote.java:400)
    at com.orientechnologies.orient.client.remote.OStorageRemote.commit(OStorageRemote.java:1304)
    at com.orientechnologies.orient.core.db.document.ODatabaseDocumentAbstract.internalCommit(ODatabaseDocumentAbstract.java:2466)
    at com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:602)
    at com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:106)
    at com.orientechnologies.orient.core.db.document.ODatabaseDocumentAbstract.commit(ODatabaseDocumentAbstract.java:1984)
    at com.orientechnologies.orient.core.db.document.ODatabaseDocumentAbstract.commit(ODatabaseDocumentAbstract.java:1954)
    at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:741)
    at com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.commit(OrientTransactionalGraph.java:183)
    at graph.orient.utils.InsertNEdges.commitGraph(InsertNEdges.java:73)
    at graph.orient.utils.InsertNEdges.main(InsertNEdges.java:66)
    Suppressed: com.orientechnologies.orient.core.exception.OStorageException: Exception during execution of component operation inside of storage healthEmptyDB
    DB name="healthEmptyDB"
        at com.orientechnologies.orient.core.storage.impl.local.paginated.atomicoperations.OAtomicOperationsManager.executeInsideComponentOperation(OAtomicOperationsManager.java:218)
        at com.orientechnologies.orient.core.storage.impl.local.paginated.atomicoperations.OAtomicOperationsManager.executeInsideComponentOperation(OAtomicOperationsManager.java:205)
        at com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurableComponent.executeInsideComponentOperation(ODurableComponent.java:102)
        at com.orientechnologies.orient.core.storage.index.sbtreebonsai.local.OSBTreeBonsaiLocal.create(OSBTreeBonsaiLocal.java:109)
        at com.orientechnologies.orient.core.storage.ridbag.sbtree.OSBTreeCollectionManagerShared.createEdgeTree(OSBTreeCollectionManagerShared.java:139)
        at com.orientechnologies.orient.core.storage.ridbag.sbtree.OSBTreeCollectionManagerShared.createEdgeTree(OSBTreeCollectionManagerShared.java:47)
        at com.orientechnologies.orient.core.storage.ridbag.sbtree.OSBTreeCollectionManagerAbstract.createSBTree(OSBTreeCollectionManagerAbstract.java:175)
        at com.orientechnologies.orient.core.storage.ridbag.sbtree.OSBTreeCollectionManagerShared.createSBTree(OSBTreeCollectionManagerShared.java:197)
        at com.orientechnologies.orient.core.serialization.serializer.record.binary.HelperClasses.writeSBTreeRidbag(HelperClasses.java:411)
        at com.orientechnologies.orient.core.serialization.serializer.record.binary.HelperClasses.writeRidBag(HelperClasses.java:356)
        at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV1.writeRidBag(ORecordSerializerBinaryV1.java:731)
        at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV1.serializeValue(ORecordSerializerBinaryV1.java:1020)
        at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV1.serializeValues(ORecordSerializerBinaryV1.java:404)
        at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV1.serializeDocument(ORecordSerializerBinaryV1.java:462)
        at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinaryV1.serialize(ORecordSerializerBinaryV1.java:483)
        at com.orientechnologies.orient.core.serialization.serializer.record.binary.ORecordSerializerBinary.toStream(ORecordSerializerBinary.java:132)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commitEntry(OAbstractPaginatedStorage.java:6012)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commit(OAbstractPaginatedStorage.java:2427)
        at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.commit(OAbstractPaginatedStorage.java:2241)
        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentAbstract.internalCommit(ODatabaseDocumentAbstract.java:2466)
        at com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:602)
        at com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:106)
        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentAbstract.commit(ODatabaseDocumentAbstract.java:1984)
        at com.orientechnologies.orient.core.db.document.ODatabaseDocumentAbstract.commit(ODatabaseDocumentAbstract.java:1954)
        at com.orientechnologies.orient.server.OConnectionBinaryExecutor.executeCommit38(OConnectionBinaryExecutor.java:1698)
        at com.orientechnologies.orient.client.remote.message.OCommit38Request.execute(OCommit38Request.java:139)
        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.sessionRequest(ONetworkProtocolBinary.java:354)
        at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.execute(ONetworkProtocolBinary.java:238)
        at com.orientechnologies.common.thread.OSoftThread.run(OSoftThread.java:67)
    Caused by: com.orientechnologies.orient.core.exception.OStorageException: Ridbag component with name collections_22.sbc does not exist
    DB name="healthEmptyDB"
        at com.orientechnologies.orient.core.storage.index.sbtreebonsai.local.OSBTreeBonsaiLocal.lambda$create$1(OSBTreeBonsaiLocal.java:121)
        at com.orientechnologies.orient.core.storage.impl.local.paginated.atomicoperations.OAtomicOperationsManager.executeInsideComponentOperation(OAtomicOperationsManager.java:213)
        ... 28 more
    [CIRCULAR REFERENCE:com.orientechnologies.orient.core.exception.OStorageException: Ridbag component with name collections_22.sbc does not exist
    DB name="healthEmptyDB"]

com.orientechnologies.orient.core.exception.OStorageException: Exception during execution of component operation inside of storage healthEmptyDB