You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
datomic.samples.TxFunctions#main does not work for java 11 #4
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
Activity
toddbrawn-1 commentedon Jun 16, 2021
In this call:
results = Peer.query("[:find [?artist-name ...] " +
" :in $ ?country [?reference ...] " +
" :where [(datomic.api/entid $ ?country) ?country-id] " +
" [?artist :artist/name ?artist-name] " +
" [?artist ?reference ?country-id]]",
db, Util.read(":country/BE"), Util.list(Util.read(":artist/country")));
I am getting the following error: java.lang.ClassNotFoundException: datomic.api, compiling:(NO_SOURCE_PATH:0:0)
Can you tell me what configuration I am missing?