Apoc.export.cypher.all drops error: Caused by: java.lang.NegativeArraySizeException

Failed to invoke procedure apoc.export.cypher.all: Caused by: java.lang.NegativeArraySizeException: -1862397373

Could we get the Cypher query you are trying to execute when you get this error? We need a bit more information to determine why the error is occurring.