java.lang.ClassCastException: clojure.tools.nrepl.middleware.load_file$wrap_load_file$fn$reify__668 cannot be cast to clojure.tools.nrepl.transport.Transport

GitHub | didibus | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Getting nREPL exception when debugging Clojure

    GitHub | 7 months ago | didibus
    java.lang.ClassCastException: clojure.tools.nrepl.middleware.load_file$wrap_load_file$fn$reify__668 cannot be cast to clojure.tools.nrepl.transport.Transport

    Root Cause Analysis

    1. java.lang.ClassCastException

      clojure.tools.nrepl.middleware.load_file$wrap_load_file$fn$reify__668 cannot be cast to clojure.tools.nrepl.transport.Transport

      at clojure.tools.nrepl.middleware.pr_values$pr_values$fn$reify__1053.send()
    2. clojure.tools.nrepl
      interruptible_eval$evaluate$fn__1087$fn__1102.invoke
      1. clojure.tools.nrepl.middleware.pr_values$pr_values$fn$reify__1053.send(pr_values.clj:23)
      2. clojure.tools.nrepl.middleware.interruptible_eval$evaluate$fn__1087$fn__1102.invoke(interruptible_eval.clj:122)
      2 frames
    3. Clojure
      RestFn.invoke
      1. clojure.main$repl$fn__7108.invoke(main.clj:260)
      2. clojure.main$repl.doInvoke(main.clj:258)
      3. clojure.lang.RestFn.invoke(RestFn.java:1523)
      3 frames
    4. clojure.tools.nrepl
      interruptible_eval$evaluate$fn__1087.invoke
      1. clojure.tools.nrepl.middleware.interruptible_eval$evaluate$fn__1087.invoke(interruptible_eval.clj:87)
      1 frame
    5. Clojure
      RestFn.invoke
      1. clojure.lang.AFn.applyToHelper(AFn.java:152)
      2. clojure.lang.AFn.applyTo(AFn.java:144)
      3. clojure.core$apply.invoke(core.clj:630)
      4. clojure.core$with_bindings_STAR_.doInvoke(core.clj:1868)
      5. clojure.lang.RestFn.invoke(RestFn.java:425)
      5 frames
    6. clojure.tools.nrepl
      interruptible_eval$run_next$fn__1127.invoke
      1. clojure.tools.nrepl.middleware.interruptible_eval$evaluate.invoke(interruptible_eval.clj:85)
      2. clojure.tools.nrepl.middleware.interruptible_eval$interruptible_eval$fn__1132$fn__1135.invoke(interruptible_eval.clj:222)
      3. clojure.tools.nrepl.middleware.interruptible_eval$run_next$fn__1127.invoke(interruptible_eval.clj:190)
      3 frames
    7. Clojure
      AFn.run
      1. clojure.lang.AFn.run(AFn.java:22)
      1 frame
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames