librelist archives

« back to archive

shutdown-agents disconnects REPL

shutdown-agents disconnects REPL

From:
Steve Miner
Date:
2013-01-22 @ 00:44
It looks like (shutdown-agents) is having a bad effect on the lein REPL.  
The next interaction with the REPL causes the SocketException.


$ lein -version
Leiningen 2.0.0 on Java 1.6.0_37 Java HotSpot(TM) 64-Bit Server VM


nREPL server started on port 56042
REPL-y 0.1.9
Clojure 1.4.0
[...]

user=> (shutdown-agents)
nil
user=> 
java.net.SocketException: The transport's socket appears to have lost its 
connection to the nREPL server
                                 transport.clj:95 
clojure.tools.nrepl.transport/bencode[fn]
                                 transport.clj:95 
clojure.tools.nrepl.transport/bencode[fn]
                                 transport.clj:42 
clojure.tools.nrepl.transport/fn-transport[fn]
                                    core.clj:1819 
clojure.core/binding-conveyor-fn[fn]
                                      AFn.java:18 clojure.lang.AFn.call
                              FutureTask.java:303 
java.util.concurrent.FutureTask$Sync.innerRun
                              FutureTask.java:138 
java.util.concurrent.FutureTask.run
                      ThreadPoolExecutor.java:886 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask
                      ThreadPoolExecutor.java:908 
java.util.concurrent.ThreadPoolExecutor$Worker.run
                                  Thread.java:680 java.lang.Thread.run
Bye for now!


--
Steve Miner
steveminer@gmail.com