Skip to content

Instantly share code, notes, and snippets.

@holyjak
Created December 11, 2019 12:38
Show Gist options
  • Save holyjak/7a644ef57bc17807ac18d22d820bbda7 to your computer and use it in GitHub Desktop.
Save holyjak/7a644ef57bc17807ac18d22d820bbda7 to your computer and use it in GitHub Desktop.
nrepl over drawbridge client error
{:clojure.main/message "Execution error (ClassCastException) at clj-http.client/parse-url (client.clj:175).\nclass java.net.Socket cannot be cast to class java.lang.String (java.net.Socket and java.lang.String are in module java.base of loader 'bootstrap')\n",
:clojure.main/triage {:clojure.error/class java.lang.ClassCastException,
:clojure.error/line 175,
:clojure.error/cause "class java.net.Socket cannot be cast to class java.lang.String (java.net.Socket and java.lang.String are in module java.base of loader 'bootstrap')",
:clojure.error/symbol clj-http.client/parse-url,
:clojure.error/source "client.clj",
:clojure.error/phase :execution},
:clojure.main/trace {:via [{:type java.lang.ClassCastException, :message "class java.net.Socket cannot be cast to class java.lang.String (java.net.Socket and java.lang.String are in module java.base of loader 'bootstrap')", :at [clj_http.client$parse_url invokeStatic "client.clj" 175]}], :trace [[clj_http.client$parse_url invokeStatic "client.clj" 175]
[clj_http.client$parse_url invoke "client.clj" 175]
[clj_http.client$url_request invokeStatic "client.clj" 1029]
[clj_http.client$url_request invoke "client.clj" 1026]
[clj_http.client$wrap_url$fn__4638 invoke "client.clj" 1037]
[clj_http.client$wrap_decompression$fn__4307 invoke "client.clj" 420]
[clj_http.client$wrap_input_coercion$fn__4460 invoke "client.clj" 639]
[clj_http.client$wrap_additional_header_parsing$fn__4485 invoke "client.clj" 694]
[clj_http.client$wrap_output_coercion$fn__4447 invoke "client.clj" 583]
[clj_http.client$wrap_exceptions$fn__4254 invoke "client.clj" 254]
[clj_http.client$wrap_accept$fn__4500 invoke "client.clj" 737]
[clj_http.client$wrap_accept_encoding$fn__4507 invoke "client.clj" 759]
[clj_http.client$wrap_content_type$fn__4494 invoke "client.clj" 720]
[clj_http.client$wrap_form_params$fn__4603 invoke "client.clj" 961]
[clj_http.client$wrap_nested_params$fn__4624 invoke "client.clj" 995]
[clj_http.client$wrap_flatten_nested_params$fn__4633 invoke "client.clj" 1019]
[clj_http.client$wrap_method$fn__4561 invoke "client.clj" 895]
[clj_http.cookies$wrap_cookies$fn__2406 invoke "cookies.clj" 131]
[clj_http.links$wrap_links$fn__3919 invoke "links.clj" 63]
[clj_http.client$wrap_unknown_host$fn__4641 invoke "client.clj" 1048]
[clj_http.client$request_STAR_ invokeStatic "client.clj" 1176]
[clj_http.client$request_STAR_ invoke "client.clj" 1169]
[clj_http.client$post invokeStatic "client.clj" 1194]
[clj_http.client$post doInvoke "client.clj" 1190]
[clojure.lang.RestFn invoke "RestFn.java" 423]
[drawbridge.client$ring_client_transport$http__4763 doInvoke "client.clj" 35]
[clojure.lang.RestFn invoke "RestFn.java" 408]
[nrepl.transport.FnTransport send "transport.clj" 41]
[nrepl.core$client$this__512 invoke "core.clj" 56]
[clojure.core$comp$fn__5807 invoke "core.clj" 2569]
[clojure.core$comp$fn__5807 invoke "core.clj" 2569]
[clojure.lang.AFn applyToHelper "AFn.java" 154]
[clojure.lang.RestFn applyTo "RestFn.java" 132]
[clojure.lang.AFunction$1 doInvoke "AFunction.java" 31]
[clojure.lang.RestFn invoke "RestFn.java" 408]
[nrepl.core$message invokeStatic "core.clj" 87]
[nrepl.core$message invoke "core.clj" 80]
[nrepl.core$new_session invokeStatic "core.clj" 94]
[nrepl.core$new_session doInvoke "core.clj" 89]
[clojure.lang.RestFn invoke "RestFn.java" 410]
[clojure.lang.AFn applyToHelper "AFn.java" 154]
[clojure.lang.RestFn applyTo "RestFn.java" 132]
[clojure.core$apply invokeStatic "core.clj" 667]
[clojure.core$apply invoke "core.clj" 660]
[nrepl.core$client_session invokeStatic "core.clj" 106]
[nrepl.core$client_session doInvoke "core.clj" 99]
[clojure.lang.RestFn invoke "RestFn.java" 410]
[nrepl.cmdline$run_repl invokeStatic "cmdline.clj" 95]
[nrepl.cmdline$run_repl invoke "cmdline.clj" 85]
[clojure.lang.Var invoke "Var.java" 393]
[nrepl.cmdline$interactive_repl invokeStatic "cmdline.clj" 358]
[nrepl.cmdline$interactive_repl invoke "cmdline.clj" 348]
[nrepl.cmdline$connect_to_server invokeStatic "cmdline.clj" 366]
[nrepl.cmdline$connect_to_server invoke "cmdline.clj" 361]
[nrepl.cmdline$dispatch_commands invokeStatic "cmdline.clj" 431]
[nrepl.cmdline$dispatch_commands invoke "cmdline.clj" 425]
[nrepl.cmdline$_main invokeStatic "cmdline.clj" 448]
[nrepl.cmdline$_main doInvoke "cmdline.clj" 443]
[clojure.lang.RestFn applyTo "RestFn.java" 137]
[clojure.lang.Var applyTo "Var.java" 705]
[clojure.core$apply invokeStatic "core.clj" 665]
[clojure.main$main_opt invokeStatic "main.clj" 514]
[clojure.main$main_opt invoke "main.clj" 510]
[clojure.main$main invokeStatic "main.clj" 664]
[clojure.main$main doInvoke "main.clj" 616]
[clojure.lang.RestFn applyTo "RestFn.java" 137]
[clojure.lang.Var applyTo "Var.java" 705]
[clojure.main main "main.java" 40]], :cause "class java.net.Socket cannot be cast to class java.lang.String (java.net.Socket and java.lang.String are in module java.base of loader 'bootstrap')"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment