Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
core.async stack binding exception.
➜ topiq git:(master) ✗ java -jar target/topiq-standalone.jar resources/server-config.edn
16-05-19 21:56:57 benjamin INFO [topiq.core:129] - "Starting server @ port 8080 with config resources/server-config.edn"
Exception in thread "async-dispatch-16" java.lang.IllegalStateException: Pop without matching push
at clojure.lang.Var.popThreadBindings(Var.java:331)
at clojure.core$pop_thread_bindings.invokeStatic(core.clj:1839)
at clojure.core$pop_thread_bindings.invoke(core.clj:1839)
at replikativ.peer$server_peer$fn__15542$state_machine__4514__auto____15543$fn__15545.invoke(peer.cljc:55)
at replikativ.peer$server_peer$fn__15542$state_machine__4514__auto____15543.invoke(peer.cljc:55)
at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:1011)
at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:1015)
at clojure.core.async$ioc_alts_BANG_$fn__4668.invoke(async.clj:378)
at clojure.core.async$do_alts$fn__4622$fn__4625.invoke(async.clj:247)
at clojure.core.async.impl.channels.ManyToManyChannel$fn__315$fn__316.invoke(channels.clj:95)
at clojure.lang.AFn.run(AFn.java:22)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Exception in thread "async-dispatch-20" java.lang.IllegalStateException: Pop without matching push
at clojure.lang.Var.popThreadBindings(Var.java:331)
at clojure.core$pop_thread_bindings.invokeStatic(core.clj:1839)
at clojure.core$pop_thread_bindings.invoke(core.clj:1839)
at replikativ.stage$create_stage_BANG_$fn__17500$state_machine__4514__auto____17501$fn__17503.invoke(stage.cljc:139)
at replikativ.stage$create_stage_BANG_$fn__17500$state_machine__4514__auto____17501.invoke(stage.cljc:139)
at clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:1011)
at clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:1015)
at replikativ.stage$create_stage_BANG_$fn__17500.invoke(stage.cljc:139)
at clojure.lang.AFn.run(AFn.java:22)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Exception in thread "main" java.lang.NullPointerException
at clojure.core$deref_future.invokeStatic(core.clj:2208)
at clojure.core$deref.invokeStatic(core.clj:2228)
at clojure.core$deref.invoke(core.clj:2214)
at replikativ.stage$connect_BANG_.invokeStatic(stage.cljc:118)
at replikativ.stage$connect_BANG_.doInvoke(stage.cljc:112)
at clojure.lang.RestFn.invoke(RestFn.java:425)
at topiq.core$start.invokeStatic(core.clj:108)
at topiq.core$start.invoke(core.clj:57)
at topiq.core$_main.invokeStatic(core.clj:130)
at topiq.core$_main.doInvoke(core.clj:125)
at clojure.lang.RestFn.invoke(RestFn.java:410)
at clojure.lang.AFn.applyToHelper(AFn.java:154)
at clojure.lang.RestFn.applyTo(RestFn.java:132)
at topiq.core.main(Unknown Source)
@whilo

This comment has been minimized.

Copy link
Owner Author

commented May 19, 2016

This only happens when using the uberjar (but there reliably even with some sleeps inserted).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.