This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-11
Channels
- # announcements (4)
- # babashka (4)
- # beginners (164)
- # calva (47)
- # cider (1)
- # cljs-dev (29)
- # cljsrn (3)
- # clojure (137)
- # clojure-europe (23)
- # clojure-nl (3)
- # clojure-spec (7)
- # clojure-uk (44)
- # clojurescript (35)
- # component (8)
- # conjure (119)
- # cursive (32)
- # datomic (12)
- # emacs (31)
- # figwheel-main (36)
- # graalvm (10)
- # jobs (2)
- # kaocha (1)
- # lein-figwheel (3)
- # meander (15)
- # mount (3)
- # off-topic (9)
- # pathom (8)
- # quil (4)
- # re-frame (13)
- # reagent (15)
- # remote-jobs (10)
- # shadow-cljs (128)
- # slack-help (2)
- # spacemacs (8)
- # test-check (6)
- # xtdb (6)
I’m getting
in thread "async-dispatch-3" java.lang.NoSuchMethodError: com.cognitect.transit.TransitFactory.writer(Lcom/cognitect/transit/TransitFactory$Format;Ljava/io/OutputStream;Ljava/util/Map;Lcom/cognitect/transit/WriteHandler;Ljava/util/function/Function;)Lcom/cognitect/transit/Writer;
at cognitect.transit$writer.invokeStatic(transit.clj:157)
at cognitect.transit$writer.invoke(transit.clj:139)
at $marshal.invokeStatic
When I connect to the bastion
(d/pull (d/db (cloud-conn)) '[* {:company/creator [*]}] [:company/id company-id])
Exception in thread "async-dispatch-2" java.lang.NoSuchMethodError: com.cognitect.transit.TransitFactory.writer(Lcom/cognitect/transit/TransitFactory$Format;Ljava/io/OutputStream;Ljava/util/Map;Lcom/cognitect/transit/WriteHandler;Ljava/util/function/Function;)Lcom/cognitect/transit/Writer;
at cognitect.transit$writer.invokeStatic(transit.clj:157)
at cognitect.transit$writer.invoke(transit.clj:139)
at $marshal.invokeStatic(io.clj:48)
at $marshal.invoke(io.clj:38)
at $client_req__GT_http_req.invokeStatic(io.clj:76)
at $client_req__GT_http_req.invoke(io.clj:73)
at datomic.client.impl.shared.Client._async_op(shared.clj:380)
at datomic.client.impl.shared.Client$fn__112135$state_machine__8973__auto____112150$fn__112152.invoke(shared.clj:404)
at datomic.client.impl.shared.Client$fn__112135$state_machine__8973__auto____112150.invoke(shared.clj:403)
at clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:973)
at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:972)
at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:977)
at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:975)
at datomic.client.impl.shared.Client$fn__112135.invoke(shared.clj:403)
at clojure.lang.AFn.run(AFn.java:22)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Regular pulls are also showing this exception
check for things accidentally compiled in $PROJECT/target or wherever your classfiles go
@U050ECB92 not very fluent with these target stuff, will removing the target directory get rid of this problem?
Hi there! Can you share your best practice for testing with datomic/ions?
For a call do the datomic.api/datoms https://docs.datomic.com/on-prem/clojure/index.html#datomic.api/datoms 1. if you leave any of the parts of a component "entity attribute value tx added" then do they have defaults? I assume transaction is the lastest, added is true. 2. If you provide two components e.g for avet something like (datoms db avet <a> <v> <e> <t> <added> <a1> <v1> ...) what does that actually do? The database isn't keeping 2nd order indexes for everything is it?
ah. I'm not sure what function signature would be better, but it feels ambiguous.