Skip to content
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

Impossible to add a null identifiable in a ridbag #9871

Open
adriancoca opened this issue Sep 10, 2022 · 0 comments
Open

Impossible to add a null identifiable in a ridbag #9871

adriancoca opened this issue Sep 10, 2022 · 0 comments
Assignees
Labels
Milestone

Comments

@adriancoca
Copy link

adriancoca commented Sep 10, 2022

OrientDB Version: 3.1.20

Expected behavior

Exported database from version 3.0.29 and trying import in 3.1.20 return error -> java.lang.IllegalArgumentException: Impossible to add a null identifiable in a ridbag

  • Imported 55,170 records into clusters: 4293861. Total JSON records imported so for 8 .Total records imported so far: 2,146,929 (11,034.00/sec)
2022-09-11 01:30:18:119 SEVER {db=ztr_dolinex_prod} Error importing record. Source line 0, column 1313832308 [ODatabaseImport]
com.orientechnologies.orient.core.db.tool.ODatabaseImportException: Error on importing record
        at com.orientechnologies.orient.core.db.tool.ODatabaseImport.importRecord(ODatabaseImport.java:1302)
        at com.orientechnologies.orient.core.db.tool.ODatabaseImport.importRecords(ODatabaseImport.java:1184)
        at com.orientechnologies.orient.core.db.tool.ODatabaseImport.importDatabase(ODatabaseImport.java:215)
        at com.orientechnologies.orient.console.OConsoleDatabaseApp.importDatabase(OConsoleDatabaseApp.java:2549)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.orientechnologies.common.console.OConsoleApplication.execute(OConsoleApplication.java:445)
        at com.orientechnologies.common.console.OConsoleApplication.executeCommands(OConsoleApplication.java:283)
        at com.orientechnologies.common.console.OConsoleApplication.run(OConsoleApplication.java:144)
        at com.orientechnologies.orient.console.OConsoleDatabaseApp.main(OConsoleDatabaseApp.java:159)
Caused by: com.orientechnologies.orient.core.exception.OSerializationException: Error on unmarshalling JSON content for record #77:6485
        DB name="ztr_dolinex_prod"
        at com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON.fromString(ORecordSerializerJSON.java:368)
        at com.orientechnologies.orient.core.db.tool.ODatabaseImport.importRecord(ODatabaseImport.java:1269)
        ... 11 more
Caused by: java.lang.IllegalArgumentException: Impossible to add a null identifiable in a ridbag
        at com.orientechnologies.orient.core.db.record.ridbag.embedded.OEmbeddedRidBag.add(OEmbeddedRidBag.java:246)
        at com.orientechnologies.orient.core.db.record.ridbag.ORidBag.add(ORidBag.java:182)
        at com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON$1.visitItem(ORecordSerializerJSON.java:807)
        at com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON.parseRidbag(ORecordSerializerJSON.java:950)
        at com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON.getValueAsCollection(ORecordSerializerJSON.java:796)
        at com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON.getValue(ORecordSerializerJSON.java:547)
        at com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON.fromString(ORecordSerializerJSON.java:299)
        ... 12 more
Error on database import happened just before line 0, column 1313832308
com.orientechnologies.orient.core.db.tool.ODatabaseImportException: Error on importing record
        at com.orientechnologies.orient.core.db.tool.ODatabaseImport.importRecord(ODatabaseImport.java:1302)
        at com.orientechnologies.orient.core.db.tool.ODatabaseImport.importRecords(ODatabaseImport.java:1184)
        at com.orientechnologies.orient.core.db.tool.ODatabaseImport.importDatabase(ODatabaseImport.java:215)
        at com.orientechnologies.orient.console.OConsoleDatabaseApp.importDatabase(OConsoleDatabaseApp.java:2549)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.orientechnologies.common.console.OConsoleApplication.execute(OConsoleApplication.java:445)
        at com.orientechnologies.common.console.OConsoleApplication.executeCommands(OConsoleApplication.java:283)
        at com.orientechnologies.common.console.OConsoleApplication.run(OConsoleApplication.java:144)
        at com.orientechnologies.orient.console.OConsoleDatabaseApp.main(OConsoleDatabaseApp.java:159)
Caused by: com.orientechnologies.orient.core.exception.OSerializationException: Error on unmarshalling JSON content for record #77:6485
        DB name="ztr_dolinex_prod"
        at com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON.fromString(ORecordSerializerJSON.java:368)
        at com.orientechnologies.orient.core.db.tool.ODatabaseImport.importRecord(ODatabaseImport.java:1269)
        ... 11 more
Caused by: java.lang.IllegalArgumentException: Impossible to add a null identifiable in a ridbag
        at com.orientechnologies.orient.core.db.record.ridbag.embedded.OEmbeddedRidBag.add(OEmbeddedRidBag.java:246)
        at com.orientechnologies.orient.core.db.record.ridbag.ORidBag.add(ORidBag.java:182)
        at com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON$1.visitItem(ORecordSerializerJSON.java:807)
        at com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON.parseRidbag(ORecordSerializerJSON.java:950)
        at com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON.getValueAsCollection(ORecordSerializerJSON.java:796)
        at com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON.getValue(ORecordSerializerJSON.java:547)
        at com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON.fromString(ORecordSerializerJSON.java:299)
        ... 12 more

Error: com.orientechnologies.orient.core.db.tool.ODatabaseExportException: Error on importing database 'ztr_dolinex_prod' from file: production3.gz

Error: com.orientechnologies.orient.core.db.tool.ODatabaseImportException: Error on importing record

Error: com.orientechnologies.orient.core.exception.OSerializationException: Error on unmarshalling JSON content for record #77:6485
        DB name="ztr_dolinex_prod"

Error: java.lang.IllegalArgumentException: Impossible to add a null identifiable in a ridbag
@tglman tglman self-assigned this Sep 12, 2022
@tglman tglman added the bug label Sep 12, 2022
@tglman tglman added this to the 3.1.x milestone Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants