Skip to content

Error when clicking on stacktrace line in test report in v0.10 branch #1503

Closed
@cap10morgan

Description

@cap10morgan

Steps to reproduce

  1. Run a failing test (an exception outside of an assertion is what I tried; not sure if it's limited to that or not).
  2. Click on the error: [stacktrace line] button.

Expected behavior

Displays the cider-error buffer.

Observed behavior

If debug-on-error is on, displays this Emacs stacktrace:

Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
  aset(nil 1 2)
  (let ((level (or level (1+ (elt cider-stacktrace-cause-visibility num))))) (aset cider-stacktrace-cause-visibility num (mod level 3)) (cider-stacktrace-apply-cause-visibility))
  cider-stacktrace-cycle-cause(1 2)
  cider-stacktrace-initialize(((dict "class" "clojure.lang.ExceptionInfo" "data" "{:status 500,\n :headers\n {\"Connection\" \"close\",\n  \"Server\" \"undertow\",\n  \"Content-Type\" \"text/plain\",\n  \"Date\" \"Mon, 04 Jan 2016 22:23:31 GMT\"},\n :body \"Internal server error: exception\",\n :request-time 177,\n :trace-redirects [\"http://localhost:56000/upcoming\"],\n :orig-content-encoding nil}\n" "id" "17" "message" "clj-http: status 500" "session" "61a7e30d-31a8-4f45-97fb-1d74a361fee7" "stacktrace" ((dict "class" "clj_http.client$wrap_exceptions$fn__32255" "file" "client.clj" "flags" ("clj") "fn" "wrap-exceptions/fn" "line" 196 "method" "invoke" "name" "clj_http.client$wrap_exceptions$fn__32255/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-exceptions") (dict "class" "clj_http.client$wrap_accept$fn__32459" "file" "client.clj" "flags" ("clj") "fn" "wrap-accept/fn" "line" 565 "method" "invoke" "name" "clj_http.client$wrap_accept$fn__32459/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-accept") (dict "class" "clj_http.client$wrap_accept_encoding$fn__32465" "file" "client.clj" "flags" ("clj") "fn" "wrap-accept-encoding/fn" "line" 579 "method" "invoke" "name" "clj_http.client$wrap_accept_encoding$fn__32465/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-accept-encoding") (dict "class" "clj_http.client$wrap_content_type$fn__32454" "file" "client.clj" "flags" ("clj") "fn" "wrap-content-type/fn" "line" 555 "method" "invoke" "name" "clj_http.client$wrap_content_type$fn__32454/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-content-type") (dict "class" "clj_http.client$wrap_form_params$fn__32546" "file" "client.clj" "flags" ("clj") "fn" "wrap-form-params/fn" "line" 726 "method" "invoke" "name" "clj_http.client$wrap_form_params$fn__32546/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-form-params") (dict "class" "clj_http.client$wrap_nested_params$fn__32563" "file" "client.clj" "flags" ("clj") "fn" "wrap-nested-params/fn" "line" 751 "method" "invoke" "name" "clj_http.client$wrap_nested_params$fn__32563/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-nested-params") (dict "class" "clj_http.client$wrap_method$fn__32506" "file" "client.clj" "flags" ("clj") "fn" "wrap-method/fn" "line" 670 "method" "invoke" "name" "clj_http.client$wrap_method$fn__32506/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-method") (dict "class" "clj_http.cookies$wrap_cookies$fn__30829" "file" "cookies.clj" "flags" ("clj") "fn" "wrap-cookies/fn" "line" 124 "method" "invoke" "name" "clj_http.cookies$wrap_cookies$fn__30829/invoke" "ns" "clj-http.cookies" "type" "clj" "var" "clj-http.cookies/wrap-cookies") (dict "class" "clj_http.links$wrap_links$fn__32074" "file" "links.clj" "flags" ("clj") "fn" "wrap-links/fn" "line" 51 "method" "invoke" "name" "clj_http.links$wrap_links$fn__32074/invoke" "ns" "clj-http.links" "type" "clj" "var" "clj-http.links/wrap-links") (dict "class" "clj_http.client$wrap_unknown_host$fn__32572" "file" "client.clj" "flags" ("clj") "fn" "wrap-unknown-host/fn" "line" 771 "method" "invoke" "name" "clj_http.client$wrap_unknown_host$fn__32572/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-unknown-host") (dict "class" "clj_http.client$get" "file" "client.clj" "flags" ("clj") "fn" "get" "line" 874 "method" "doInvoke" "name" "clj_http.client$get/doInvoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/get") (dict "class" "clojure.lang.RestFn" "file" "RestFn.java" "flags" ("java") "line" 423 "method" "invoke" "name" "clojure.lang.RestFn/invoke" "type" "java") (dict "class" "election_http_api.service_test$fn__32684" "file" "form-init9011476593971322258.clj" "flags" ("repl" "clj") "fn" "fn" "line" 55 "method" "invoke" "name" "election_http_api.service_test$fn__32684/invoke" "ns" "election-http-api.service-test" "type" "clj" "var" "election-http-api.service-test/fn") (dict "class" "cider.nrepl.middleware.test$test_var$fn__22248" "file" "test.clj" "flags" ("clj") "fn" "test-var/fn" "line" 127 "method" "invoke" "name" "cider.nrepl.middleware.test$test_var$fn__22248/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-var") (dict "class" "cider.nrepl.middleware.test$test_var" "file" "test.clj" "flags" ("dup" "clj") "fn" "test-var" "line" 127 "method" "invoke" "name" "cider.nrepl.middleware.test$test_var/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-var") (dict "class" "cider.nrepl.middleware.test$test_vars$fn__22252$fn__22257" "file" "test.clj" "flags" ("clj") "fn" "test-vars/fn/fn" "line" 143 "method" "invoke" "name" "cider.nrepl.middleware.test$test_vars$fn__22252$fn__22257/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-vars") (dict "class" "clojure.test$default_fixture" "file" "test.clj" "flags" ("clj") "fn" "default-fixture" "line" 674 "method" "invoke" "name" "clojure.test$default_fixture/invoke" "ns" "clojure.test" "type" "clj" "var" "clojure.test/default-fixture") (dict "class" "cider.nrepl.middleware.test$test_vars$fn__22252" "file" "test.clj" "flags" ("clj") "fn" "test-vars/fn" "line" 143 "method" "invoke" "name" "cider.nrepl.middleware.test$test_vars$fn__22252/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-vars") (dict "class" "election_http_api.service_test$start_test_server" "file" "form-init9011476593971322258.clj" "flags" ("repl" "clj") "fn" "start-test-server" "line" 19 "method" "invoke" "name" "election_http_api.service_test$start_test_server/invoke" "ns" "election-http-api.service-test" "type" "clj" "var" "election-http-api.service-test/start-test-server") (dict "class" "clojure.test$compose_fixtures$fn__7664$fn__7665" "file" "test.clj" "flags" ("clj") "fn" "compose-fixtures/fn/fn" "line" 681 "method" "invoke" "name" "clojure.test$compose_fixtures$fn__7664$fn__7665/invoke" "ns" "clojure.test" "type" "clj" "var" "clojure.test/compose-fixtures") (dict "class" "clojure.test$default_fixture" "file" "test.clj" "flags" ("clj") "fn" "default-fixture" "line" 674 "method" "invoke" "name" "clojure.test$default_fixture/invoke" "ns" "clojure.test" "type" "clj" "var" "clojure.test/default-fixture") (dict "class" "clojure.test$compose_fixtures$fn__7664" "file" "test.clj" "flags" ("clj") "fn" "compose-fixtures/fn" "line" 681 "method" "invoke" "name" "clojure.test$compose_fixtures$fn__7664/invoke" "ns" "clojure.test" "type" "clj" "var" "clojure.test/compose-fixtures") (dict "class" "cider.nrepl.middleware.test$test_vars" "file" "test.clj" "flags" ("clj") "fn" "test-vars" "line" 139 "method" "invoke" "name" "cider.nrepl.middleware.test$test_vars/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-vars") (dict "class" "cider.nrepl.middleware.test$test_ns" "file" "test.clj" "flags" ("clj") "fn" "test-ns" "line" 157 "method" "invoke" "name" "cider.nrepl.middleware.test$test_ns/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-ns") (dict "class" "cider.nrepl.middleware.test$handle_test$fn__22277$fn__22278" "file" "test.clj" "flags" ("clj") "fn" "handle-test/fn/fn" "line" 195 "method" "invoke" "name" "cider.nrepl.middleware.test$handle_test$fn__22277$fn__22278/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/handle-test") (dict "class" "clojure.lang.AFn" "file" "AFn.java" "flags" ("java") "line" 152 "method" "applyToHelper" "name" "clojure.lang.AFn/applyToHelper" "type" "java") (dict "class" "clojure.lang.AFn" "file" "AFn.java" "flags" ("java") "line" 144 "method" "applyTo" "name" "clojure.lang.AFn/applyTo" "type" "java") (dict "class" "clojure.core$apply" "file" "core.clj" "flags" ("clj") "fn" "apply" "line" 630 "method" "invoke" "name" "clojure.core$apply/invoke" "ns" "clojure.core" "type" "clj" "var" "clojure.core/apply") (dict "class" "clojure.core$with_bindings_STAR_" "file" "core.clj" "flags" ("clj") "fn" "with-bindings*" "line" 1868 "method" "doInvoke" "name" "clojure.core$with_bindings_STAR_/doInvoke" "ns" "clojure.core" "type" "clj" "var" "clojure.core/with-bindings*") (dict "class" "clojure.lang.RestFn" "file" "RestFn.java" "flags" ("java") "line" 425 "method" "invoke" "name" "clojure.lang.RestFn/invoke" "type" "java") (dict "class" "cider.nrepl.middleware.test$handle_test$fn__22277" "file" "test.clj" "flags" ("clj") "fn" "handle-test/fn" "line" 191 "method" "invoke" "name" "cider.nrepl.middleware.test$handle_test$fn__22277/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/handle-test") (dict "class" "clojure.tools.nrepl.middleware.interruptible_eval$run_next$fn__16322" "file" "interruptible_eval.clj" "flags" ("tooling" "clj") "fn" "run-next/fn" "line" 190 "method" "invoke" "name" "clojure.tools.nrepl.middleware.interruptible_eval$run_next$fn__16322/invoke" "ns" "clojure.tools.nrepl.middleware.interruptible-eval" "type" "clj" "var" "clojure.tools.nrepl.middleware.interruptible-eval/run-next") (dict "class" "clojure.lang.AFn" "file" "AFn.java" "flags" ("tooling" "java") "line" 22 "method" "run" "name" "clojure.lang.AFn/run" "type" "java") (dict "class" "java.util.concurrent.ThreadPoolExecutor" "file" "ThreadPoolExecutor.java" "flags" ("tooling" "java") "line" 1142 "method" "runWorker" "name" "java.util.concurrent.ThreadPoolExecutor/runWorker" "type" "java") (dict "class" "java.util.concurrent.ThreadPoolExecutor$Worker" "file" "ThreadPoolExecutor.java" "flags" ("tooling" "java") "line" 617 "method" "run" "name" "java.util.concurrent.ThreadPoolExecutor$Worker/run" "type" "java") (dict "class" "java.lang.Thread" "file" "Thread.java" "flags" ("tooling" "java") "line" 745 "method" "run" "name" "java.lang.Thread/run" "type" "java")))))
  (save-current-buffer (set-buffer buffer) (let ((inhibit-read-only t)) (erase-buffer) (insert "\n") (cider-stacktrace-render-filters buffer (list (quote ("Clojure" clj)) (quote ("Java" java)) (quote ("REPL" repl)) (quote ("Tooling" tooling)) (quote ("Duplicates" dup)) (list "All" nil))) (insert "\n") (let ((num (length causes))) (let ((--dolist-tail-- causes)) (while --dolist-tail-- (let ((cause ...)) (let (...) (cider-stacktrace-render-cause buffer cause num note) (setq num ...)) (setq --dolist-tail-- (cdr --dolist-tail--))))))) (cider-stacktrace-initialize causes) (font-lock-refresh-defaults))
  cider-stacktrace-render(#<buffer *cider-error*> ((dict "class" "clojure.lang.ExceptionInfo" "data" "{:status 500,\n :headers\n {\"Connection\" \"close\",\n  \"Server\" \"undertow\",\n  \"Content-Type\" \"text/plain\",\n  \"Date\" \"Mon, 04 Jan 2016 22:23:31 GMT\"},\n :body \"Internal server error: exception\",\n :request-time 177,\n :trace-redirects [\"http://localhost:56000/upcoming\"],\n :orig-content-encoding nil}\n" "id" "17" "message" "clj-http: status 500" "session" "61a7e30d-31a8-4f45-97fb-1d74a361fee7" "stacktrace" ((dict "class" "clj_http.client$wrap_exceptions$fn__32255" "file" "client.clj" "flags" ("clj") "fn" "wrap-exceptions/fn" "line" 196 "method" "invoke" "name" "clj_http.client$wrap_exceptions$fn__32255/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-exceptions") (dict "class" "clj_http.client$wrap_accept$fn__32459" "file" "client.clj" "flags" ("clj") "fn" "wrap-accept/fn" "line" 565 "method" "invoke" "name" "clj_http.client$wrap_accept$fn__32459/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-accept") (dict "class" "clj_http.client$wrap_accept_encoding$fn__32465" "file" "client.clj" "flags" ("clj") "fn" "wrap-accept-encoding/fn" "line" 579 "method" "invoke" "name" "clj_http.client$wrap_accept_encoding$fn__32465/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-accept-encoding") (dict "class" "clj_http.client$wrap_content_type$fn__32454" "file" "client.clj" "flags" ("clj") "fn" "wrap-content-type/fn" "line" 555 "method" "invoke" "name" "clj_http.client$wrap_content_type$fn__32454/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-content-type") (dict "class" "clj_http.client$wrap_form_params$fn__32546" "file" "client.clj" "flags" ("clj") "fn" "wrap-form-params/fn" "line" 726 "method" "invoke" "name" "clj_http.client$wrap_form_params$fn__32546/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-form-params") (dict "class" "clj_http.client$wrap_nested_params$fn__32563" "file" "client.clj" "flags" ("clj") "fn" "wrap-nested-params/fn" "line" 751 "method" "invoke" "name" "clj_http.client$wrap_nested_params$fn__32563/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-nested-params") (dict "class" "clj_http.client$wrap_method$fn__32506" "file" "client.clj" "flags" ("clj") "fn" "wrap-method/fn" "line" 670 "method" "invoke" "name" "clj_http.client$wrap_method$fn__32506/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-method") (dict "class" "clj_http.cookies$wrap_cookies$fn__30829" "file" "cookies.clj" "flags" ("clj") "fn" "wrap-cookies/fn" "line" 124 "method" "invoke" "name" "clj_http.cookies$wrap_cookies$fn__30829/invoke" "ns" "clj-http.cookies" "type" "clj" "var" "clj-http.cookies/wrap-cookies") (dict "class" "clj_http.links$wrap_links$fn__32074" "file" "links.clj" "flags" ("clj") "fn" "wrap-links/fn" "line" 51 "method" "invoke" "name" "clj_http.links$wrap_links$fn__32074/invoke" "ns" "clj-http.links" "type" "clj" "var" "clj-http.links/wrap-links") (dict "class" "clj_http.client$wrap_unknown_host$fn__32572" "file" "client.clj" "flags" ("clj") "fn" "wrap-unknown-host/fn" "line" 771 "method" "invoke" "name" "clj_http.client$wrap_unknown_host$fn__32572/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-unknown-host") (dict "class" "clj_http.client$get" "file" "client.clj" "flags" ("clj") "fn" "get" "line" 874 "method" "doInvoke" "name" "clj_http.client$get/doInvoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/get") (dict "class" "clojure.lang.RestFn" "file" "RestFn.java" "flags" ("java") "line" 423 "method" "invoke" "name" "clojure.lang.RestFn/invoke" "type" "java") (dict "class" "election_http_api.service_test$fn__32684" "file" "form-init9011476593971322258.clj" "flags" ("repl" "clj") "fn" "fn" "line" 55 "method" "invoke" "name" "election_http_api.service_test$fn__32684/invoke" "ns" "election-http-api.service-test" "type" "clj" "var" "election-http-api.service-test/fn") (dict "class" "cider.nrepl.middleware.test$test_var$fn__22248" "file" "test.clj" "flags" ("clj") "fn" "test-var/fn" "line" 127 "method" "invoke" "name" "cider.nrepl.middleware.test$test_var$fn__22248/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-var") (dict "class" "cider.nrepl.middleware.test$test_var" "file" "test.clj" "flags" ("dup" "clj") "fn" "test-var" "line" 127 "method" "invoke" "name" "cider.nrepl.middleware.test$test_var/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-var") (dict "class" "cider.nrepl.middleware.test$test_vars$fn__22252$fn__22257" "file" "test.clj" "flags" ("clj") "fn" "test-vars/fn/fn" "line" 143 "method" "invoke" "name" "cider.nrepl.middleware.test$test_vars$fn__22252$fn__22257/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-vars") (dict "class" "clojure.test$default_fixture" "file" "test.clj" "flags" ("clj") "fn" "default-fixture" "line" 674 "method" "invoke" "name" "clojure.test$default_fixture/invoke" "ns" "clojure.test" "type" "clj" "var" "clojure.test/default-fixture") (dict "class" "cider.nrepl.middleware.test$test_vars$fn__22252" "file" "test.clj" "flags" ("clj") "fn" "test-vars/fn" "line" 143 "method" "invoke" "name" "cider.nrepl.middleware.test$test_vars$fn__22252/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-vars") (dict "class" "election_http_api.service_test$start_test_server" "file" "form-init9011476593971322258.clj" "flags" ("repl" "clj") "fn" "start-test-server" "line" 19 "method" "invoke" "name" "election_http_api.service_test$start_test_server/invoke" "ns" "election-http-api.service-test" "type" "clj" "var" "election-http-api.service-test/start-test-server") (dict "class" "clojure.test$compose_fixtures$fn__7664$fn__7665" "file" "test.clj" "flags" ("clj") "fn" "compose-fixtures/fn/fn" "line" 681 "method" "invoke" "name" "clojure.test$compose_fixtures$fn__7664$fn__7665/invoke" "ns" "clojure.test" "type" "clj" "var" "clojure.test/compose-fixtures") (dict "class" "clojure.test$default_fixture" "file" "test.clj" "flags" ("clj") "fn" "default-fixture" "line" 674 "method" "invoke" "name" "clojure.test$default_fixture/invoke" "ns" "clojure.test" "type" "clj" "var" "clojure.test/default-fixture") (dict "class" "clojure.test$compose_fixtures$fn__7664" "file" "test.clj" "flags" ("clj") "fn" "compose-fixtures/fn" "line" 681 "method" "invoke" "name" "clojure.test$compose_fixtures$fn__7664/invoke" "ns" "clojure.test" "type" "clj" "var" "clojure.test/compose-fixtures") (dict "class" "cider.nrepl.middleware.test$test_vars" "file" "test.clj" "flags" ("clj") "fn" "test-vars" "line" 139 "method" "invoke" "name" "cider.nrepl.middleware.test$test_vars/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-vars") (dict "class" "cider.nrepl.middleware.test$test_ns" "file" "test.clj" "flags" ("clj") "fn" "test-ns" "line" 157 "method" "invoke" "name" "cider.nrepl.middleware.test$test_ns/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-ns") (dict "class" "cider.nrepl.middleware.test$handle_test$fn__22277$fn__22278" "file" "test.clj" "flags" ("clj") "fn" "handle-test/fn/fn" "line" 195 "method" "invoke" "name" "cider.nrepl.middleware.test$handle_test$fn__22277$fn__22278/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/handle-test") (dict "class" "clojure.lang.AFn" "file" "AFn.java" "flags" ("java") "line" 152 "method" "applyToHelper" "name" "clojure.lang.AFn/applyToHelper" "type" "java") (dict "class" "clojure.lang.AFn" "file" "AFn.java" "flags" ("java") "line" 144 "method" "applyTo" "name" "clojure.lang.AFn/applyTo" "type" "java") (dict "class" "clojure.core$apply" "file" "core.clj" "flags" ("clj") "fn" "apply" "line" 630 "method" "invoke" "name" "clojure.core$apply/invoke" "ns" "clojure.core" "type" "clj" "var" "clojure.core/apply") (dict "class" "clojure.core$with_bindings_STAR_" "file" "core.clj" "flags" ("clj") "fn" "with-bindings*" "line" 1868 "method" "doInvoke" "name" "clojure.core$with_bindings_STAR_/doInvoke" "ns" "clojure.core" "type" "clj" "var" "clojure.core/with-bindings*") (dict "class" "clojure.lang.RestFn" "file" "RestFn.java" "flags" ("java") "line" 425 "method" "invoke" "name" "clojure.lang.RestFn/invoke" "type" "java") (dict "class" "cider.nrepl.middleware.test$handle_test$fn__22277" "file" "test.clj" "flags" ("clj") "fn" "handle-test/fn" "line" 191 "method" "invoke" "name" "cider.nrepl.middleware.test$handle_test$fn__22277/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/handle-test") (dict "class" "clojure.tools.nrepl.middleware.interruptible_eval$run_next$fn__16322" "file" "interruptible_eval.clj" "flags" ("tooling" "clj") "fn" "run-next/fn" "line" 190 "method" "invoke" "name" "clojure.tools.nrepl.middleware.interruptible_eval$run_next$fn__16322/invoke" "ns" "clojure.tools.nrepl.middleware.interruptible-eval" "type" "clj" "var" "clojure.tools.nrepl.middleware.interruptible-eval/run-next") (dict "class" "clojure.lang.AFn" "file" "AFn.java" "flags" ("tooling" "java") "line" 22 "method" "run" "name" "clojure.lang.AFn/run" "type" "java") (dict "class" "java.util.concurrent.ThreadPoolExecutor" "file" "ThreadPoolExecutor.java" "flags" ("tooling" "java") "line" 1142 "method" "runWorker" "name" "java.util.concurrent.ThreadPoolExecutor/runWorker" "type" "java") (dict "class" "java.util.concurrent.ThreadPoolExecutor$Worker" "file" "ThreadPoolExecutor.java" "flags" ("tooling" "java") "line" 617 "method" "run" "name" "java.util.concurrent.ThreadPoolExecutor$Worker/run" "type" "java") (dict "class" "java.lang.Thread" "file" "Thread.java" "flags" ("tooling" "java") "line" 745 "method" "run" "name" "java.lang.Thread/run" "type" "java")))))
  (progn (cider-stacktrace-render (cider-popup-buffer cider-error-buffer cider-auto-select-error-buffer) (reverse causes)))
  (if causes (progn (cider-stacktrace-render (cider-popup-buffer cider-error-buffer cider-auto-select-error-buffer) (reverse causes))))
  (cond (class (setq causes (cons response causes))) (status (if causes (progn (cider-stacktrace-render (cider-popup-buffer cider-error-buffer cider-auto-select-error-buffer) (reverse causes))))))
  (let ((class (nrepl-dict-get response "class")) (status (nrepl-dict-get response "status"))) (cond (class (setq causes (cons response causes))) (status (if causes (progn (cider-stacktrace-render (cider-popup-buffer cider-error-buffer cider-auto-select-error-buffer) (reverse causes)))))))
  (closure ((causes (dict "class" "clojure.lang.ExceptionInfo" "data" "{:status 500,\n :headers\n {\"Connection\" \"close\",\n  \"Server\" \"undertow\",\n  \"Content-Type\" \"text/plain\",\n  \"Date\" \"Mon, 04 Jan 2016 22:23:31 GMT\"},\n :body \"Internal server error: exception\",\n :request-time 177,\n :trace-redirects [\"http://localhost:56000/upcoming\"],\n :orig-content-encoding nil}\n" "id" "17" "message" "clj-http: status 500" "session" "61a7e30d-31a8-4f45-97fb-1d74a361fee7" "stacktrace" ((dict "class" "clj_http.client$wrap_exceptions$fn__32255" "file" "client.clj" "flags" ("clj") "fn" "wrap-exceptions/fn" "line" 196 "method" "invoke" "name" "clj_http.client$wrap_exceptions$fn__32255/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-exceptions") (dict "class" "clj_http.client$wrap_accept$fn__32459" "file" "client.clj" "flags" ("clj") "fn" "wrap-accept/fn" "line" 565 "method" "invoke" "name" "clj_http.client$wrap_accept$fn__32459/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-accept") (dict "class" "clj_http.client$wrap_accept_encoding$fn__32465" "file" "client.clj" "flags" ("clj") "fn" "wrap-accept-encoding/fn" "line" 579 "method" "invoke" "name" "clj_http.client$wrap_accept_encoding$fn__32465/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-accept-encoding") (dict "class" "clj_http.client$wrap_content_type$fn__32454" "file" "client.clj" "flags" ("clj") "fn" "wrap-content-type/fn" "line" 555 "method" "invoke" "name" "clj_http.client$wrap_content_type$fn__32454/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-content-type") (dict "class" "clj_http.client$wrap_form_params$fn__32546" "file" "client.clj" "flags" ("clj") "fn" "wrap-form-params/fn" "line" 726 "method" "invoke" "name" "clj_http.client$wrap_form_params$fn__32546/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-form-params") (dict "class" "clj_http.client$wrap_nested_params$fn__32563" "file" "client.clj" "flags" ("clj") "fn" "wrap-nested-params/fn" "line" 751 "method" "invoke" "name" "clj_http.client$wrap_nested_params$fn__32563/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-nested-params") (dict "class" "clj_http.client$wrap_method$fn__32506" "file" "client.clj" "flags" ("clj") "fn" "wrap-method/fn" "line" 670 "method" "invoke" "name" "clj_http.client$wrap_method$fn__32506/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-method") (dict "class" "clj_http.cookies$wrap_cookies$fn__30829" "file" "cookies.clj" "flags" ("clj") "fn" "wrap-cookies/fn" "line" 124 "method" "invoke" "name" "clj_http.cookies$wrap_cookies$fn__30829/invoke" "ns" "clj-http.cookies" "type" "clj" "var" "clj-http.cookies/wrap-cookies") (dict "class" "clj_http.links$wrap_links$fn__32074" "file" "links.clj" "flags" ("clj") "fn" "wrap-links/fn" "line" 51 "method" "invoke" "name" "clj_http.links$wrap_links$fn__32074/invoke" "ns" "clj-http.links" "type" "clj" "var" "clj-http.links/wrap-links") (dict "class" "clj_http.client$wrap_unknown_host$fn__32572" "file" "client.clj" "flags" ("clj") "fn" "wrap-unknown-host/fn" "line" 771 "method" "invoke" "name" "clj_http.client$wrap_unknown_host$fn__32572/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-unknown-host") (dict "class" "clj_http.client$get" "file" "client.clj" "flags" ("clj") "fn" "get" "line" 874 "method" "doInvoke" "name" "clj_http.client$get/doInvoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/get") (dict "class" "clojure.lang.RestFn" "file" "RestFn.java" "flags" ("java") "line" 423 "method" "invoke" "name" "clojure.lang.RestFn/invoke" "type" "java") (dict "class" "election_http_api.service_test$fn__32684" "file" "form-init9011476593971322258.clj" "flags" ("repl" "clj") "fn" "fn" "line" 55 "method" "invoke" "name" "election_http_api.service_test$fn__32684/invoke" "ns" "election-http-api.service-test" "type" "clj" "var" "election-http-api.service-test/fn") (dict "class" "cider.nrepl.middleware.test$test_var$fn__22248" "file" "test.clj" "flags" ("clj") "fn" "test-var/fn" "line" 127 "method" "invoke" "name" "cider.nrepl.middleware.test$test_var$fn__22248/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-var") (dict "class" "cider.nrepl.middleware.test$test_var" "file" "test.clj" "flags" ("dup" "clj") "fn" "test-var" "line" 127 "method" "invoke" "name" "cider.nrepl.middleware.test$test_var/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-var") (dict "class" "cider.nrepl.middleware.test$test_vars$fn__22252$fn__22257" "file" "test.clj" "flags" ("clj") "fn" "test-vars/fn/fn" "line" 143 "method" "invoke" "name" "cider.nrepl.middleware.test$test_vars$fn__22252$fn__22257/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-vars") (dict "class" "clojure.test$default_fixture" "file" "test.clj" "flags" ("clj") "fn" "default-fixture" "line" 674 "method" "invoke" "name" "clojure.test$default_fixture/invoke" "ns" "clojure.test" "type" "clj" "var" "clojure.test/default-fixture") (dict "class" "cider.nrepl.middleware.test$test_vars$fn__22252" "file" "test.clj" "flags" ("clj") "fn" "test-vars/fn" "line" 143 "method" "invoke" "name" "cider.nrepl.middleware.test$test_vars$fn__22252/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-vars") (dict "class" "election_http_api.service_test$start_test_server" "file" "form-init9011476593971322258.clj" "flags" ("repl" "clj") "fn" "start-test-server" "line" 19 "method" "invoke" "name" "election_http_api.service_test$start_test_server/invoke" "ns" "election-http-api.service-test" "type" "clj" "var" "election-http-api.service-test/start-test-server") (dict "class" "clojure.test$compose_fixtures$fn__7664$fn__7665" "file" "test.clj" "flags" ("clj") "fn" "compose-fixtures/fn/fn" "line" 681 "method" "invoke" "name" "clojure.test$compose_fixtures$fn__7664$fn__7665/invoke" "ns" "clojure.test" "type" "clj" "var" "clojure.test/compose-fixtures") (dict "class" "clojure.test$default_fixture" "file" "test.clj" "flags" ("clj") "fn" "default-fixture" "line" 674 "method" "invoke" "name" "clojure.test$default_fixture/invoke" "ns" "clojure.test" "type" "clj" "var" "clojure.test/default-fixture") (dict "class" "clojure.test$compose_fixtures$fn__7664" "file" "test.clj" "flags" ("clj") "fn" "compose-fixtures/fn" "line" 681 "method" "invoke" "name" "clojure.test$compose_fixtures$fn__7664/invoke" "ns" "clojure.test" "type" "clj" "var" "clojure.test/compose-fixtures") (dict "class" "cider.nrepl.middleware.test$test_vars" "file" "test.clj" "flags" ("clj") "fn" "test-vars" "line" 139 "method" "invoke" "name" "cider.nrepl.middleware.test$test_vars/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-vars") (dict "class" "cider.nrepl.middleware.test$test_ns" "file" "test.clj" "flags" ("clj") "fn" "test-ns" "line" 157 "method" "invoke" "name" "cider.nrepl.middleware.test$test_ns/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-ns") (dict "class" "cider.nrepl.middleware.test$handle_test$fn__22277$fn__22278" "file" "test.clj" "flags" ("clj") "fn" "handle-test/fn/fn" "line" 195 "method" "invoke" "name" "cider.nrepl.middleware.test$handle_test$fn__22277$fn__22278/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/handle-test") (dict "class" "clojure.lang.AFn" "file" "AFn.java" "flags" ("java") "line" 152 "method" "applyToHelper" "name" "clojure.lang.AFn/applyToHelper" "type" "java") (dict "class" "clojure.lang.AFn" "file" "AFn.java" "flags" ("java") "line" 144 "method" "applyTo" "name" "clojure.lang.AFn/applyTo" "type" "java") (dict "class" "clojure.core$apply" "file" "core.clj" "flags" ("clj") "fn" "apply" "line" 630 "method" "invoke" "name" "clojure.core$apply/invoke" "ns" "clojure.core" "type" "clj" "var" "clojure.core/apply") (dict "class" "clojure.core$with_bindings_STAR_" "file" "core.clj" "flags" ("clj") "fn" "with-bindings*" "line" 1868 "method" "doInvoke" "name" "clojure.core$with_bindings_STAR_/doInvoke" "ns" "clojure.core" "type" "clj" "var" "clojure.core/with-bindings*") (dict "class" "clojure.lang.RestFn" "file" "RestFn.java" "flags" ("java") "line" 425 "method" "invoke" "name" "clojure.lang.RestFn/invoke" "type" "java") (dict "class" "cider.nrepl.middleware.test$handle_test$fn__22277" "file" "test.clj" "flags" ("clj") "fn" "handle-test/fn" "line" 191 "method" "invoke" "name" "cider.nrepl.middleware.test$handle_test$fn__22277/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/handle-test") (dict "class" "clojure.tools.nrepl.middleware.interruptible_eval$run_next$fn__16322" "file" "interruptible_eval.clj" "flags" ("tooling" "clj") "fn" "run-next/fn" "line" 190 "method" "invoke" "name" "clojure.tools.nrepl.middleware.interruptible_eval$run_next$fn__16322/invoke" "ns" "clojure.tools.nrepl.middleware.interruptible-eval" "type" "clj" "var" "clojure.tools.nrepl.middleware.interruptible-eval/run-next") (dict "class" "clojure.lang.AFn" "file" "AFn.java" "flags" ("tooling" "java") "line" 22 "method" "run" "name" "clojure.lang.AFn/run" "type" "java") (dict "class" "java.util.concurrent.ThreadPoolExecutor" "file" "ThreadPoolExecutor.java" "flags" ("tooling" "java") "line" 1142 "method" "runWorker" "name" "java.util.concurrent.ThreadPoolExecutor/runWorker" "type" "java") (dict "class" "java.util.concurrent.ThreadPoolExecutor$Worker" "file" "ThreadPoolExecutor.java" "flags" ("tooling" "java") "line" 617 "method" "run" "name" "java.util.concurrent.ThreadPoolExecutor$Worker/run" "type" "java") (dict "class" "java.lang.Thread" "file" "Thread.java" "flags" ("tooling" "java") "line" 745 "method" "run" "name" "java.lang.Thread/run" "type" "java")))) (index . 0) (var . "upcoming-test") (ns . "election-http-api.service-test") cider-auto-select-error-buffer t) (response) (let ((class (nrepl-dict-get response "class")) (status (nrepl-dict-get response "status"))) (cond (class (setq causes (cons response causes))) (status (if causes (progn (cider-stacktrace-render (cider-popup-buffer cider-error-buffer cider-auto-select-error-buffer) (reverse causes))))))))((dict "id" "17" "session" "61a7e30d-31a8-4f45-97fb-1d74a361fee7" "status" ("done")))
  funcall((closure ((causes (dict "class" "clojure.lang.ExceptionInfo" "data" "{:status 500,\n :headers\n {\"Connection\" \"close\",\n  \"Server\" \"undertow\",\n  \"Content-Type\" \"text/plain\",\n  \"Date\" \"Mon, 04 Jan 2016 22:23:31 GMT\"},\n :body \"Internal server error: exception\",\n :request-time 177,\n :trace-redirects [\"http://localhost:56000/upcoming\"],\n :orig-content-encoding nil}\n" "id" "17" "message" "clj-http: status 500" "session" "61a7e30d-31a8-4f45-97fb-1d74a361fee7" "stacktrace" ((dict "class" "clj_http.client$wrap_exceptions$fn__32255" "file" "client.clj" "flags" ("clj") "fn" "wrap-exceptions/fn" "line" 196 "method" "invoke" "name" "clj_http.client$wrap_exceptions$fn__32255/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-exceptions") (dict "class" "clj_http.client$wrap_accept$fn__32459" "file" "client.clj" "flags" ("clj") "fn" "wrap-accept/fn" "line" 565 "method" "invoke" "name" "clj_http.client$wrap_accept$fn__32459/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-accept") (dict "class" "clj_http.client$wrap_accept_encoding$fn__32465" "file" "client.clj" "flags" ("clj") "fn" "wrap-accept-encoding/fn" "line" 579 "method" "invoke" "name" "clj_http.client$wrap_accept_encoding$fn__32465/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-accept-encoding") (dict "class" "clj_http.client$wrap_content_type$fn__32454" "file" "client.clj" "flags" ("clj") "fn" "wrap-content-type/fn" "line" 555 "method" "invoke" "name" "clj_http.client$wrap_content_type$fn__32454/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-content-type") (dict "class" "clj_http.client$wrap_form_params$fn__32546" "file" "client.clj" "flags" ("clj") "fn" "wrap-form-params/fn" "line" 726 "method" "invoke" "name" "clj_http.client$wrap_form_params$fn__32546/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-form-params") (dict "class" "clj_http.client$wrap_nested_params$fn__32563" "file" "client.clj" "flags" ("clj") "fn" "wrap-nested-params/fn" "line" 751 "method" "invoke" "name" "clj_http.client$wrap_nested_params$fn__32563/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-nested-params") (dict "class" "clj_http.client$wrap_method$fn__32506" "file" "client.clj" "flags" ("clj") "fn" "wrap-method/fn" "line" 670 "method" "invoke" "name" "clj_http.client$wrap_method$fn__32506/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-method") (dict "class" "clj_http.cookies$wrap_cookies$fn__30829" "file" "cookies.clj" "flags" ("clj") "fn" "wrap-cookies/fn" "line" 124 "method" "invoke" "name" "clj_http.cookies$wrap_cookies$fn__30829/invoke" "ns" "clj-http.cookies" "type" "clj" "var" "clj-http.cookies/wrap-cookies") (dict "class" "clj_http.links$wrap_links$fn__32074" "file" "links.clj" "flags" ("clj") "fn" "wrap-links/fn" "line" 51 "method" "invoke" "name" "clj_http.links$wrap_links$fn__32074/invoke" "ns" "clj-http.links" "type" "clj" "var" "clj-http.links/wrap-links") (dict "class" "clj_http.client$wrap_unknown_host$fn__32572" "file" "client.clj" "flags" ("clj") "fn" "wrap-unknown-host/fn" "line" 771 "method" "invoke" "name" "clj_http.client$wrap_unknown_host$fn__32572/invoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/wrap-unknown-host") (dict "class" "clj_http.client$get" "file" "client.clj" "flags" ("clj") "fn" "get" "line" 874 "method" "doInvoke" "name" "clj_http.client$get/doInvoke" "ns" "clj-http.client" "type" "clj" "var" "clj-http.client/get") (dict "class" "clojure.lang.RestFn" "file" "RestFn.java" "flags" ("java") "line" 423 "method" "invoke" "name" "clojure.lang.RestFn/invoke" "type" "java") (dict "class" "election_http_api.service_test$fn__32684" "file" "form-init9011476593971322258.clj" "flags" ("repl" "clj") "fn" "fn" "line" 55 "method" "invoke" "name" "election_http_api.service_test$fn__32684/invoke" "ns" "election-http-api.service-test" "type" "clj" "var" "election-http-api.service-test/fn") (dict "class" "cider.nrepl.middleware.test$test_var$fn__22248" "file" "test.clj" "flags" ("clj") "fn" "test-var/fn" "line" 127 "method" "invoke" "name" "cider.nrepl.middleware.test$test_var$fn__22248/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-var") (dict "class" "cider.nrepl.middleware.test$test_var" "file" "test.clj" "flags" ("dup" "clj") "fn" "test-var" "line" 127 "method" "invoke" "name" "cider.nrepl.middleware.test$test_var/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-var") (dict "class" "cider.nrepl.middleware.test$test_vars$fn__22252$fn__22257" "file" "test.clj" "flags" ("clj") "fn" "test-vars/fn/fn" "line" 143 "method" "invoke" "name" "cider.nrepl.middleware.test$test_vars$fn__22252$fn__22257/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-vars") (dict "class" "clojure.test$default_fixture" "file" "test.clj" "flags" ("clj") "fn" "default-fixture" "line" 674 "method" "invoke" "name" "clojure.test$default_fixture/invoke" "ns" "clojure.test" "type" "clj" "var" "clojure.test/default-fixture") (dict "class" "cider.nrepl.middleware.test$test_vars$fn__22252" "file" "test.clj" "flags" ("clj") "fn" "test-vars/fn" "line" 143 "method" "invoke" "name" "cider.nrepl.middleware.test$test_vars$fn__22252/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-vars") (dict "class" "election_http_api.service_test$start_test_server" "file" "form-init9011476593971322258.clj" "flags" ("repl" "clj") "fn" "start-test-server" "line" 19 "method" "invoke" "name" "election_http_api.service_test$start_test_server/invoke" "ns" "election-http-api.service-test" "type" "clj" "var" "election-http-api.service-test/start-test-server") (dict "class" "clojure.test$compose_fixtures$fn__7664$fn__7665" "file" "test.clj" "flags" ("clj") "fn" "compose-fixtures/fn/fn" "line" 681 "method" "invoke" "name" "clojure.test$compose_fixtures$fn__7664$fn__7665/invoke" "ns" "clojure.test" "type" "clj" "var" "clojure.test/compose-fixtures") (dict "class" "clojure.test$default_fixture" "file" "test.clj" "flags" ("clj") "fn" "default-fixture" "line" 674 "method" "invoke" "name" "clojure.test$default_fixture/invoke" "ns" "clojure.test" "type" "clj" "var" "clojure.test/default-fixture") (dict "class" "clojure.test$compose_fixtures$fn__7664" "file" "test.clj" "flags" ("clj") "fn" "compose-fixtures/fn" "line" 681 "method" "invoke" "name" "clojure.test$compose_fixtures$fn__7664/invoke" "ns" "clojure.test" "type" "clj" "var" "clojure.test/compose-fixtures") (dict "class" "cider.nrepl.middleware.test$test_vars" "file" "test.clj" "flags" ("clj") "fn" "test-vars" "line" 139 "method" "invoke" "name" "cider.nrepl.middleware.test$test_vars/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-vars") (dict "class" "cider.nrepl.middleware.test$test_ns" "file" "test.clj" "flags" ("clj") "fn" "test-ns" "line" 157 "method" "invoke" "name" "cider.nrepl.middleware.test$test_ns/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/test-ns") (dict "class" "cider.nrepl.middleware.test$handle_test$fn__22277$fn__22278" "file" "test.clj" "flags" ("clj") "fn" "handle-test/fn/fn" "line" 195 "method" "invoke" "name" "cider.nrepl.middleware.test$handle_test$fn__22277$fn__22278/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/handle-test") (dict "class" "clojure.lang.AFn" "file" "AFn.java" "flags" ("java") "line" 152 "method" "applyToHelper" "name" "clojure.lang.AFn/applyToHelper" "type" "java") (dict "class" "clojure.lang.AFn" "file" "AFn.java" "flags" ("java") "line" 144 "method" "applyTo" "name" "clojure.lang.AFn/applyTo" "type" "java") (dict "class" "clojure.core$apply" "file" "core.clj" "flags" ("clj") "fn" "apply" "line" 630 "method" "invoke" "name" "clojure.core$apply/invoke" "ns" "clojure.core" "type" "clj" "var" "clojure.core/apply") (dict "class" "clojure.core$with_bindings_STAR_" "file" "core.clj" "flags" ("clj") "fn" "with-bindings*" "line" 1868 "method" "doInvoke" "name" "clojure.core$with_bindings_STAR_/doInvoke" "ns" "clojure.core" "type" "clj" "var" "clojure.core/with-bindings*") (dict "class" "clojure.lang.RestFn" "file" "RestFn.java" "flags" ("java") "line" 425 "method" "invoke" "name" "clojure.lang.RestFn/invoke" "type" "java") (dict "class" "cider.nrepl.middleware.test$handle_test$fn__22277" "file" "test.clj" "flags" ("clj") "fn" "handle-test/fn" "line" 191 "method" "invoke" "name" "cider.nrepl.middleware.test$handle_test$fn__22277/invoke" "ns" "cider.nrepl.middleware.test" "type" "clj" "var" "cider.nrepl.middleware.test/handle-test") (dict "class" "clojure.tools.nrepl.middleware.interruptible_eval$run_next$fn__16322" "file" "interruptible_eval.clj" "flags" ("tooling" "clj") "fn" "run-next/fn" "line" 190 "method" "invoke" "name" "clojure.tools.nrepl.middleware.interruptible_eval$run_next$fn__16322/invoke" "ns" "clojure.tools.nrepl.middleware.interruptible-eval" "type" "clj" "var" "clojure.tools.nrepl.middleware.interruptible-eval/run-next") (dict "class" "clojure.lang.AFn" "file" "AFn.java" "flags" ("tooling" "java") "line" 22 "method" "run" "name" "clojure.lang.AFn/run" "type" "java") (dict "class" "java.util.concurrent.ThreadPoolExecutor" "file" "ThreadPoolExecutor.java" "flags" ("tooling" "java") "line" 1142 "method" "runWorker" "name" "java.util.concurrent.ThreadPoolExecutor/runWorker" "type" "java") (dict "class" "java.util.concurrent.ThreadPoolExecutor$Worker" "file" "ThreadPoolExecutor.java" "flags" ("tooling" "java") "line" 617 "method" "run" "name" "java.util.concurrent.ThreadPoolExecutor$Worker/run" "type" "java") (dict "class" "java.lang.Thread" "file" "Thread.java" "flags" ("tooling" "java") "line" 745 "method" "run" "name" "java.lang.Thread/run" "type" "java")))) (index . 0) (var . "upcoming-test") (ns . "election-http-api.service-test") cider-auto-select-error-buffer t) (response) (let ((class (nrepl-dict-get response "class")) (status (nrepl-dict-get response "status"))) (cond (class (setq causes (cons response causes))) (status (if causes (progn (cider-stacktrace-render (cider-popup-buffer cider-error-buffer cider-auto-select-error-buffer) (reverse causes)))))))) (dict "id" "17" "session" "61a7e30d-31a8-4f45-97fb-1d74a361fee7" "status" ("done")))
  (if callback (funcall callback response) (error "nREPL: No response handler with id %s found" id))
  (let ((callback (or (gethash id nrepl-pending-requests) (gethash id nrepl-completed-requests)))) (if callback (funcall callback response) (error "nREPL: No response handler with id %s found" id)))
  (let ((id (nrepl-dict-get response "id"))) (nrepl-log-message response (quote response)) (let ((callback (or (gethash id nrepl-pending-requests) (gethash id nrepl-completed-requests)))) (if callback (funcall callback response) (error "nREPL: No response handler with id %s found" id))))
  nrepl--dispatch-response((dict "id" "17" "session" "61a7e30d-31a8-4f45-97fb-1d74a361fee7" "status" ("done")))
  (let ((response (queue-dequeue response-q))) (condition-case err (run-hook-with-args (quote nrepl-response-handler-functions) response) ((debug error) (message "Error in one of the `nrepl-response-handler-functions': %s" err) nil)) (nrepl--dispatch-response response))
  (save-current-buffer (set-buffer (process-buffer proc)) (let ((response (queue-dequeue response-q))) (condition-case err (run-hook-with-args (quote nrepl-response-handler-functions) response) ((debug error) (message "Error in one of the `nrepl-response-handler-functions': %s" err) nil)) (nrepl--dispatch-response response)))
  (while (progn (or (and (memq (aref response-q 0) cl-struct-queue-tags)) (error "%s accessing a non-%s" (quote queue-head) (quote queue))) (aref response-q 1)) (save-current-buffer (set-buffer (process-buffer proc)) (let ((response (queue-dequeue response-q))) (condition-case err (run-hook-with-args (quote nrepl-response-handler-functions) response) ((debug error) (message "Error in one of the `nrepl-response-handler-functions': %s" err) nil)) (nrepl--dispatch-response response))))
  (let ((response-q (process-get proc :response-q))) (nrepl-bdecode string-q response-q) (while (progn (or (and (memq (aref response-q 0) cl-struct-queue-tags)) (error "%s accessing a non-%s" (quote queue-head) (quote queue))) (aref response-q 1)) (save-current-buffer (set-buffer (process-buffer proc)) (let ((response (queue-dequeue response-q))) (condition-case err (run-hook-with-args (quote nrepl-response-handler-functions) response) ((debug error) (message "Error in one of the `nrepl-response-handler-functions': %s" err) nil)) (nrepl--dispatch-response response)))))
  (progn (let ((response-q (process-get proc :response-q))) (nrepl-bdecode string-q response-q) (while (progn (or (and (memq (aref response-q 0) cl-struct-queue-tags)) (error "%s accessing a non-%s" (quote queue-head) (quote queue))) (aref response-q 1)) (save-current-buffer (set-buffer (process-buffer proc)) (let ((response (queue-dequeue response-q))) (condition-case err (run-hook-with-args (quote nrepl-response-handler-functions) response) ((debug error) (message "Error in one of the `nrepl-response-handler-functions': %s" err) nil)) (nrepl--dispatch-response response))))))
  (if (eq 101 (aref string (1- (length string)))) (progn (let ((response-q (process-get proc :response-q))) (nrepl-bdecode string-q response-q) (while (progn (or (and (memq ... cl-struct-queue-tags)) (error "%s accessing a non-%s" (quote queue-head) (quote queue))) (aref response-q 1)) (save-current-buffer (set-buffer (process-buffer proc)) (let ((response ...)) (condition-case err (run-hook-with-args ... response) (... ... nil)) (nrepl--dispatch-response response)))))))
  (let ((string-q (process-get proc :string-q))) (queue-enqueue string-q string) (if (eq 101 (aref string (1- (length string)))) (progn (let ((response-q (process-get proc :response-q))) (nrepl-bdecode string-q response-q) (while (progn (or (and ...) (error "%s accessing a non-%s" ... ...)) (aref response-q 1)) (save-current-buffer (set-buffer (process-buffer proc)) (let (...) (condition-case err ... ...) (nrepl--dispatch-response response))))))))
  nrepl-client-filter(#<process nrepl-connection<2>> "d2:id2:177:session36:61a7e30d-31a8-4f45-97fb-1d74a361fee76:statusl4:doneee")

The cider-error buffer still comes up and seems to work, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions