Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
12-10-2021 12:07 PM
For an Aura DB currently running '4.0-aura',
return apoc.convert.toJson({a:null}) as json_record_str;
throws an error, whereas it used to work perfectly before. This affects any JSON conversion for any object where there is a null value for any property. Per the JSON spec, null
is a valid value: JSON
12-17-2021 06:27 AM
Can you provide the apoc version, just execute RETURN apoc.version()
.
This bug should have been fixed been fixed in all 4.x versions, except 4.4
12-17-2021 06:42 AM
apoc.version()
returns 4.4. Note I can't control the apoc version installed on Neo4J Aura, so all Aura users will be affected until either Apoc is rolled back or this is fixed in 4.4.
Thanks!
12-21-2021 10:40 AM
Now the apoc version is different on our instance.
RETURN apoc.version();
"4.4.0.1"
But the error is still present:
return apoc.convert.toJson({a:null}) as json_record_str;
Neo.ClientError.Procedure.ProcedureCallFailed
Failed to invoke functionapoc.convert.toJson
: Caused by: java.lang.NullPointerException
01-03-2022 01:56 AM
Yep, I meant 4.4.x.x
, so until now the bug is still present in all 4.4 subversions.
All the sessions of the conference are now available online