taoensso / sente

Realtime web comms library for Clojure/Script
https://www.taoensso.com/sente
Eclipse Public License 1.0
1.73k stars 193 forks source link

Stack trace in the console (possibly related with connected uid update) #36

Closed danielsz closed 10 years ago

danielsz commented 10 years ago

Running Sente 0.12.0-SNAPSHOT, I am seeing this on the console when I reload my app in the browser. It has no adverse effect that I can see, just this stack trace. I thought you might want to know.

Wed Apr 30 07:12:15 IDT 2014 [worker-4] ERROR - on close handler
java.lang.ClassCastException: clojure.lang.PersistentArrayMap cannot be cast to clojure.lang.IPersistentSet
    at clojure.core$disj.invoke(core.clj:1449)
    at taoensso.sente$make_channel_socket_BANG_$upd_connected_uid_BANG___17812.invoke(sente.clj:261)
    at taoensso.sente$make_channel_socket_BANG_$fn__18022$fn__18051.invoke(sente.clj:402)
    at org.httpkit.server.AsyncChannel.onClose(AsyncChannel.java:188)
    at org.httpkit.server.RingHandler$1.run(RingHandler.java:217)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    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:744)
ptaoussanis commented 10 years ago

Oh thanks, had pushed a bad snapshot. Redeployed this morning, should be okay now. Cheers :-)