Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Exception upon nrepl connect #77

kenrestivo opened this Issue · 4 comments

2 participants

java.util.concurrent.ExecutionException: java.lang.NullPointerException
 at java.util.concurrent.FutureTask$Sync.innerGet (
    java.util.concurrent.FutureTask.get (
    clojure.core$deref_future.invoke (core.clj:2106)
    clojure.core$future_call$reify__6267.deref (core.clj:6306)
    clojure.core$deref.invoke (core.clj:2128)
    user$eval3.invoke (NO_SOURCE_FILE:1)
    clojure.lang.Compiler.eval (
    clojure.lang.Compiler.eval (
    clojure.core$eval.invoke (core.clj:2848)
    clojure.main$repl$read_eval_print__6588$fn__6591.invoke (main.clj:264)
    clojure.main$repl$read_eval_print__6588.invoke (main.clj:264)
    clojure.main$repl$fn__6597.invoke (main.clj:282)
    clojure.main$repl.doInvoke (main.clj:281)
    clojure.lang.RestFn.invoke ($evaluate$fn__344.invoke (interruptible_eval.clj:51)
    clojure.lang.AFn.applyToHelper (
    clojure.lang.AFn.applyTo (
    clojure.core$apply.invoke (core.clj:617)
    clojure.core$with_bindings_STAR_.doInvoke (core.clj:1788)
    clojure.lang.RestFn.invoke ($evaluate.invoke (interruptible_eval.clj:36)$interruptible_eval$fn__381$fn__384.invoke (interruptible_eval.clj:166)
    clojure.core$comp$fn__4154.invoke (core.clj:2330)$run_next$fn__374.invoke (interruptible_eval.clj:130) (
    java.util.concurrent.ThreadPoolExecutor.runWorker (
    java.util.concurrent.ThreadPoolExecutor$ ( (

Not sure what to make of that. The nrepl otherwise seems to work fine. but this comes up when first connecting to it.


I can guess it has something to do with Nrepl middleware, which you seemingly have enabled somewhere in profiles.clj. I don't know why exactly people have problems with nrepl middleware on Android, but probably it's because of some jvm-specific code.


Were you able to fix this problem, Ken?


No, I just have learned to ignore it. Every time I make an nrepl connection to android, I get a repl buffer and that error mesage, and it's just habit now to Q the error and iswitchb-buffer out of the repl buffer, and get back to the code buffer I'd been working on.


I see, so it doesn't actually break the REPL, just spits an error.

Can you confirm that you have nrepl-middleware compiled alongside the project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.