This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-10
Channels
- # announcements (3)
- # beginners (67)
- # calva (4)
- # cider (3)
- # clj-kondo (58)
- # cljs-dev (4)
- # clojure (172)
- # clojure-berlin (4)
- # clojure-chicago (8)
- # clojure-europe (4)
- # clojure-greece (8)
- # clojure-italy (12)
- # clojure-nl (4)
- # clojure-spec (7)
- # clojure-uk (77)
- # clojurescript (13)
- # clojutre (16)
- # core-async (10)
- # cursive (3)
- # datomic (29)
- # figwheel-main (27)
- # fulcro (22)
- # garden (3)
- # jobs (2)
- # jobs-discuss (13)
- # juxt (5)
- # leiningen (14)
- # mount (4)
- # off-topic (28)
- # pathom (6)
- # pedestal (8)
- # portland-or (2)
- # re-frame (20)
- # remote-jobs (6)
- # shadow-cljs (13)
- # sql (74)
- # testing (17)
- # tools-deps (1)
- # vim (1)
- # xtdb (1)
has anyone seen this exception before?
@martinklepsch looks to me like (shutdown-agents)
was called maybe?
$ clj
Clojure 1.10.1
user=> (shutdown-agents)
nil
user=> (future 1)
Execution error (RejectedExecutionException) at java.util.concurrent.ThreadPoolExecutor$AbortPolicy/rejectedExecution (ThreadPoolExecutor.java:2055).
Task java.util.concurrent.FutureTask@4f63e3c7[Not completed, task = clojure.core$binding_conveyor_fn$fn__5754@3eee3e2b] rejected from java.util.concurrent.ThreadPoolExecutor@59532566[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
user=>
yeah that would make sense but the only places where I can find shutdown-agents
are not being ran… will investigate a bit further 🙂
turned out some code changed and we were calling shutdown agents 🙂
@U05224H0W just fyi ☝️
just wanted to check if anyone is like “ah yeah, that’s that!”
Hi!
Related to this issue reported on #cljs-dev (https://clojurians.slack.com/archives/C07UQ678E/p1562770098327500), I'd just like to add that shadow-cljs
seems to swallow the NPE (but unfortunately still emits invalid JS):
goog.provide('cljsbug.wat.shadow.core');
goog.require('cljs.core');
cljsbug.wat.shadow.core.a = cljs.core.rand_nth(new cljs.core.PersistentVector(null, 1, 5, cljs.core.PersistentVector.EMPTY_NODE, [null], null));
if(cljs.core.truth_(cljsbug.wat.shadow.core.a)){
( * (2));
} else {
}
that one is probably fixed in CLJS master. forgot what the ticket issue was but it was a compiler bug