java.lang.ClassCastException

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

Solutions on the web19030

  • clojure.tools.nrepl.middleware.load_file$wrap_load_file$fn$reify__668 cannot be cast to clojure.tools.nrepl.transport.Transport
  • via GitHub by miikka
    , 6 months ago
    clojure.tools.nrepl.transport.FnTransport cannot be cast to clojure.tools.nrepl.transport.Transport
  • clojure.lang.LazySeq cannot be cast to java.util.Iterator at flambo.function.FlatMapFunction.call(Unknown Source) at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$1$1.apply(JavaRDDLike.scala:124) at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$1$1.apply(JavaRDDLike.scala:124)
  • Stack trace

    • 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(pr_values.clj:23) at clojure.tools.nrepl.middleware.interruptible_eval$evaluate$fn__1087$fn__1102.invoke(interruptible_eval.clj:122) at clojure.main$repl$fn__7108.invoke(main.clj:260) at clojure.main$repl.doInvoke(main.clj:258) at clojure.lang.RestFn.invoke(RestFn.java:1523) at clojure.tools.nrepl.middleware.interruptible_eval$evaluate$fn__1087.invoke(interruptible_eval.clj:87) at clojure.lang.AFn.applyToHelper(AFn.java:152) at clojure.lang.AFn.applyTo(AFn.java:144) at clojure.core$apply.invoke(core.clj:630) at clojure.core$with_bindings_STAR_.doInvoke(core.clj:1868) at clojure.lang.RestFn.invoke(RestFn.java:425) at clojure.tools.nrepl.middleware.interruptible_eval$evaluate.invoke(interruptible_eval.clj:85) at clojure.tools.nrepl.middleware.interruptible_eval$interruptible_eval$fn__1132$fn__1135.invoke(interruptible_eval.clj:222) at clojure.tools.nrepl.middleware.interruptible_eval$run_next$fn__1127.invoke(interruptible_eval.clj:190) at clojure.lang.AFn.run(AFn.java:22) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.