Details
-
Type:
Defect
-
Status:
Closed
-
Priority:
Major
-
Resolution: Completed
-
Affects Version/s: 0.2.0
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Environment:clojure 1.4.0-beta5, Android (?)
Description
If the call to clojure.main/repl in `evaluate' raises an exception before the :init part gets evaluated (so the expression `(push-thread-bindings @bindings)' is executed) then nREPL crashes with the following exception:
java.lang.IllegalStateException: Pop without matching push
It happens because after the underlining exception in clojure.main/repl is caught by the try block in `evaluate', the `finally' black calls (pop-thread-bindings) which were not actually "pushed".
Fixed in 0.2.0-beta6. Please give it a try and see how it works on Android.