Skip to content

datomic.samples.TxFunctions#main does not work for java 11 #4

@nikolayandr

Description

@nikolayandr

In this case

Exception in thread "main" java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.NullPointerException
	at datomic.promise$throw_executionexception_if_throwable.invoke(promise.clj:10)
	at datomic.promise$settable_future$reify__6471.deref(promise.clj:54)
	at clojure.core$deref.invoke(core.clj:2206)
	at datomic.promise$settable_future$reify__6471.get(promise.clj:45)

is thrown on attempting transact data which contains call to :examples/ensure-composite

See more details https://forum.datomic.com/t/transaction-functions-written-in-java-do-not-work-for-datomic-mem-protocol-when-application-is-run-in-java-11/1546

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions