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

error on export database #499

Closed
lvca opened this issue Sep 1, 2022 Discussed in #485 · 0 comments
Closed

error on export database #499

lvca opened this issue Sep 1, 2022 Discussed in #485 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@lvca
Copy link
Contributor

lvca commented Sep 1, 2022

Discussed in #485

Originally posted by kran August 11, 2022
export database file://a.jsonl.tgz,

JsonGraphSerializer.java

object.put("r", document.getIdentity().toString());

identity is null in some situations?

Caused by: com.arcadedb.integration.exporter.ExportException: Error on writing to 'exports/a.jsonl.tgz'
	at com.arcadedb.integration.exporter.Exporter.exportDatabase(Exporter.java:86)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.arcadedb.query.sql.parser.ExportDatabaseStatement.executeSimple(ExportDatabaseStatement.java:74)
	... 72 common frames omitted
Caused by: java.lang.NullPointerException: null
	at com.arcadedb.serializer.JsonGraphSerializer.serializeGraphElement(JsonGraphSerializer.java:55)
	at com.arcadedb.serializer.JsonGraphSerializer.serializeGraphElement(JsonGraphSerializer.java:67)
	at com.arcadedb.serializer.JsonGraphSerializer.serializeGraphElement(JsonGraphSerializer.java:38)
	at com.arcadedb.integration.exporter.format.JsonlExporterFormat.exportDocuments(JsonlExporterFormat.java:141)
	at com.arcadedb.integration.exporter.format.JsonlExporterFormat.exportDatabase(JsonlExporterFormat.java:111)
	at com.arcadedb.integration.exporter.Exporter.exportDatabase(Exporter.java:73)
	... 77 common frames omitted

after the exception, database is closed, i have to restart application.

@lvca lvca self-assigned this Sep 1, 2022
@lvca lvca added the bug Something isn't working label Sep 1, 2022
@lvca lvca added this to the 22.9.1 milestone Sep 1, 2022
lvca added a commit that referenced this issue Sep 1, 2022
@lvca lvca closed this as completed Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant