Skip to content

Instantly share code, notes, and snippets.

@claj
Created October 22, 2012 15:02
Show Gist options
  • Save claj/3931916 to your computer and use it in GitHub Desktop.
Save claj/3931916 to your computer and use it in GitHub Desktop.
When transcating a datomic attribute without cardinality attribute the following stacktrace occurs
java.util.concurrent.ExecutionException: java.lang.Error: Assert failed: (every? identity [key vtypeid cardinality])
at datomic.common$throw_executionexception_if_throwable.invoke (common.clj:381)
datomic.common$promise$reify__253.get (common.clj:423)
datomic.common$promise$reify__253.deref (common.clj:431)
clojure.core$deref.invoke (core.clj:2117)
datomic.peer.Connection.transact (peer.clj:106)
datomic.api$transact.invoke (api.clj:63)
datest.core$eval935.invoke (NO_SOURCE_FILE:1)
clojure.lang.Compiler.eval (Compiler.java:6603)
clojure.lang.Compiler.eval (Compiler.java:6566)
clojure.core$eval.invoke (core.clj:2836)
clojure.main$repl$read_eval_print__6667.invoke (main.clj:245)
clojure.main$repl$fn__6672$fn__6673.invoke (main.clj:266)
clojure.main$repl$fn__6672.invoke (main.clj:266)
clojure.main$repl.doInvoke (main.clj:264)
clojure.lang.RestFn.invoke (RestFn.java:1096)
clojure.tools.nrepl.middleware.interruptible_eval$evaluate$fn__504.invoke (interruptible_eval.clj:57)
clojure.lang.AFn.applyToHelper (AFn.java:159)
clojure.lang.AFn.applyTo (AFn.java:151)
clojure.core$apply.invoke (core.clj:614)
clojure.core$with_bindings_STAR_.doInvoke (core.clj:1785)
clojure.lang.RestFn.invoke (RestFn.java:425)
clojure.tools.nrepl.middleware.interruptible_eval$evaluate.invoke (interruptible_eval.clj:42)
clojure.tools.nrepl.middleware.interruptible_eval$interruptible_eval$fn__545$fn__548.invoke (interruptible_eval.clj:170)
clojure.core$comp$fn__4092.invoke (core.clj:2314)
clojure.tools.nrepl.middleware.interruptible_eval$run_next$fn__538.invoke (interruptible_eval.clj:137)
clojure.lang.AFn.run (AFn.java:24)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask (ThreadPoolExecutor.java:886)
java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
java.lang.Thread.run (Thread.java:680)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment