I forgot to mention that I have in my dependencies the volicypack jdk8
module...
On Tuesday, March 23, 2021 at 5:24:08 PM UTC+1 jean safar wrote:
> Hi,
>
> Apologies in advance if I have missed a message on the topic (I did a
> search).
>
> I am running a first junit test on arango and I am getting an exception
> when getting a document with the key after I stored it.
>
> The message is:
>
> java.util.concurrent.ExecutionException: com.arangodb.ArangoDBException:
> com.arangodb.velocypack.exception.VPackParserException:
> java.lang.InstantiationException: java.time.LocalDate
>
> The object stored is:
>
> {"id":"1","json":"json","actor":"toto","date":{"year":2021,"month":3,"day":23}}
>
> The date field is of type LocalDate. ...
>
> it fails in the call: collection.getDocument(key, TestClass.class).get();
>
> There is a setter and getting for that field.
>
> Thanks in advance-
>
--
You received this message because you are subscribed to the Google Groups
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/arangodb/66b6d211-9265-40f6-ae12-54b73a7f8697n%40googlegroups.com.