Fork me on GitHub
#cider
<
2019-12-29
>
flefik19:12:12

Getting an interesting stacktrace when connecting using cider-connect after upgrading my deps.edn to the latest version of nrepl and cider. Ideas?

flefik19:12:03

just requiring orchard raises the same error

flefik19:12:21

Okay resolved. Solution was: java -version returned "ubuntu-9" which could not be parsed by orchard

flefik19:12:57

After reinstalling java from apt, the version returned looked a bit more sensible and that seems to have resolved the issue.

bozhidar20:12:49

That’s quite weird. There was no real version somewhere in there?

flefik22:12:51

~ % java -version
openjdk version "9-Ubuntu"
OpenJDK Runtime Environment (build 9-Ubuntu+0-9b181-4)
OpenJDK 64-Bit Server VM (build 9-Ubuntu+0-9b181-4, mixed mode)
~ %

flefik19:12:12

ERROR: Unhandled REPL handler exception processing message {:nrepl.middleware.print/stream? 1, :nrepl.middleware.print/print cider.nrepl.pprint/pprint, :nrepl.middleware.print/quota 1048576, :nrepl.middleware.print/options {:right-margin 80}, :op init-debugger, :session f5103dea-a9c2-448a-ab8b-1f2089eaf42c, :id 24}
Syntax error compiling at (java.clj:66:5).
	at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3707)
	at clojure.lang.Compiler$BodyExpr.eval(Compiler.java:6134)
	at clojure.lang.Compiler$IfExpr.eval(Compiler.java:2729)
	at clojure.lang.Compiler$DefExpr.eval(Compiler.java:457)
	at clojure.lang.Compiler.eval(Compiler.java:7181)
	at clojure.lang.Compiler.load(Compiler.java:7635)
	at clojure.lang.RT.loadResourceScript(RT.java:381)
	at clojure.lang.RT.loadResourceScript(RT.java:372)
	at clojure.lang.RT.load(RT.java:463)
	at clojure.lang.RT.load(RT.java:428)
	at clojure.core$load$fn__6824.invoke(core.clj:6126)
	at clojure.core$load.invokeStatic(core.clj:6125)
	at clojure.core$load.doInvoke(core.clj:6109)
	at clojure.lang.RestFn.invoke(RestFn.java:408)
	at clojure.core$load_one.invokeStatic(core.clj:5908)
	at clojure.core$load_one.invoke(core.clj:5903)
	at clojure.core$load_lib$fn__6765.invoke(core.clj:5948)
	at clojure.core$load_lib.invokeStatic(core.clj:5947)
	at clojure.core$load_lib.doInvoke(core.clj:5928)
	at clojure.lang.RestFn.applyTo(RestFn.java:142)
	at clojure.core$apply.invokeStatic(core.clj:667)
	at clojure.core$load_libs.invokeStatic(core.clj:5985)
	at clojure.core$load_libs.doInvoke(core.clj:5969)
	at clojure.lang.RestFn.applyTo(RestFn.java:137)
	at clojure.core$apply.invokeStatic(core.clj:667)
	at clojure.core$require.invokeStatic(core.clj:6007)
	at clojure.core$require.doInvoke(core.clj:6007)
	at clojure.lang.RestFn.invoke(RestFn.java:703)
	at cider.nrepl.inlined_$eval2292$loading__6706__auto____2293.invoke(info.clj:1)
	at cider.nrepl.inlined_$eval2292.invokeStatic(info.clj:1)
	at cider.nrepl.inlined_$eval2292.invoke(info.clj:1)
	at clojure.lang.Compiler.eval(Compiler.java:7176)
	at clojure.lang.Compiler.eval(Compiler.java:7165)
	at clojure.lang.Compiler.load(Compiler.java:7635)
	at clojure.lang.RT.loadResourceScript(RT.java:381)
	at clojure.lang.RT.loadResourceScript(RT.java:372)
	at clojure.lang.RT.load(RT.java:463)
	at clojure.lang.RT.load(RT.java:428)
	at clojure.core$load$fn__6824.invoke(core.clj:6126)
	at clojure.core$load.invokeStatic(core.clj:6125)
	at clojure.core$load.doInvoke(core.clj:6109)
	at clojure.lang.RestFn.invoke(RestFn.java:408)
	at clojure.core$load_one.invokeStatic(core.clj:5908)
	at clojure.core$load_one.invoke(core.clj:5903)
	at clojure.core$load_lib$fn__6765.invoke(core.clj:5948)
	at clojure.core$load_lib.invokeStatic(core.clj:5947)
	at clojure.core$load_lib.doInvoke(core.clj:5928)
	at clojure.lang.RestFn.applyTo(RestFn.java:142)
	at clojure.core$apply.invokeStatic(core.clj:667)
	at clojure.core$load_libs.invokeStatic(core.clj:5985)
	at clojure.core$load_libs.doInvoke(core.clj:5969)
	at clojure.lang.RestFn.applyTo(RestFn.java:137)
	at clojure.core$apply.invokeStatic(core.clj:667)
	at clojure.core$require.invokeStatic(core.clj:6007)
	at clojure.core$require.doInvoke(core.clj:6007)
	at clojure.lang.RestFn.invoke(RestFn.java:1096)
	at cider.nrepl.middleware.stacktrace$eval2213$loading__6706__auto____2214.invoke(stacktrace.clj:1)
	at cider.nrepl.middleware.stacktrace$eval2213.invokeStatic(stacktrace.clj:1)
	at cider.nrepl.middleware.stacktrace$eval2213.invoke(stacktrace.clj:1)
	at clojure.lang.Compiler.eval(Compiler.java:7176)
	at clojure.lang.Compiler.eval(Compiler.java:7165)
	at clojure.lang.Compiler.load(Compiler.java:7635)
	at clojure.lang.RT.loadResourceScript(RT.java:381)
	at clojure.lang.RT.loadResourceScript(RT.java:372)
	at clojure.lang.RT.load(RT.java:463)
	at clojure.lang.RT.load(RT.java:428)
	at clojure.core$load$fn__6824.invoke(core.clj:6126)
	at clojure.core$load.invokeStatic(core.clj:6125)
	at clojure.core$load.doInvoke(core.clj:6109)
	at clojure.lang.RestFn.invoke(RestFn.java:408)
	at clojure.core$load_one.invokeStatic(core.clj:5908)
	at clojure.core$load_one.invoke(core.clj:5903)
	at clojure.core$load_lib$fn__6765.invoke(core.clj:5948)
	at clojure.core$load_lib.invokeStatic(core.clj:5947)
	at clojure.core$load_lib.doInvoke(core.clj:5928)
	at clojure.lang.RestFn.applyTo(RestFn.java:142)
	at clojure.core$apply.invokeStatic(core.clj:667)
	at clojure.core$load_libs.invokeStatic(core.clj:5985)
	at clojure.core$load_libs.doInvoke(core.clj:5969)
	at clojure.lang.RestFn.applyTo(RestFn.java:137)
	at clojure.core$apply.invokeStatic(core.clj:667)
	at clojure.core$require.invokeStatic(core.clj:6007)
	at clojure.core$require.doInvoke(core.clj:6007)
	at clojure.lang.RestFn.invoke(RestFn.java:1523)
	at cider.nrepl.middleware.debug$eval1891$loading__6706__auto____1892.invoke(debug.clj:1)
	at cider.nrepl.middleware.debug$eval1891.invokeStatic(debug.clj:1)
	at cider.nrepl.middleware.debug$eval1891.invoke(debug.clj:1)
	at clojure.lang.Compiler.eval(Compiler.java:7176)
	at clojure.lang.Compiler.eval(Compiler.java:7165)
	at clojure.lang.Compiler.load(Compiler.java:7635)
	at clojure.lang.RT.loadResourceScript(RT.java:381)
	at clojure.lang.RT.loadResourceScript(RT.java:372)
	at clojure.lang.RT.load(RT.java:463)
	at clojure.lang.RT.load(RT.java:428)
	at clojure.core$load$fn__6824.invoke(core.clj:6126)
	at clojure.core$load.invokeStatic(core.clj:6125)
	at clojure.core$load.doInvoke(core.clj:6109)
	at clojure.lang.RestFn.invoke(RestFn.java:408)
	at clojure.core$load_one.invokeStatic(core.clj:5908)
	at clojure.core$load_one.invoke(core.clj:5903)
	at clojure.core$load_lib$fn__6765.invoke(core.clj:5948)
	at clojure.core$load_lib.invokeStatic(core.clj:5947)
	at clojure.core$load_lib.doInvoke(core.clj:5928)
	at clojure.lang.RestFn.applyTo(RestFn.java:142)
	at clojure.core$apply.invokeStatic(core.clj:667)
	at clojure.core$load_libs.invokeStatic(core.clj:5985)
	at clojure.core$load_libs.doInvoke(core.clj:5969)
	at clojure.lang.RestFn.applyTo(RestFn.java:137)
	at clojure.core$apply.invokeStatic(core.clj:667)
	at clojure.core$require.invokeStatic(core.clj:6007)
	at clojure.core$require.doInvoke(core.clj:6007)
	at clojure.lang.RestFn.invoke(RestFn.java:408)
	at cider.nrepl$run_deferred_handler$fn__1433.invoke(nrepl.clj:38)
	at clojure.lang.Delay.deref(Delay.java:42)
	at clojure.core$deref.invokeStatic(core.clj:2320)
	at clojure.core$deref.invoke(core.clj:2306)
	at cider.nrepl$wrap_debug$fn__1501.invoke(nrepl.clj:137)
	at nrepl.middleware$wrap_conj_descriptor$fn__624.invoke(middleware.clj:16)
	at cider.nrepl$wrap_enlighten$fn__1509.invoke(nrepl.clj:163)
	at nrepl.middleware$wrap_conj_descriptor$fn__624.invoke(middleware.clj:16)
	at nrepl.middleware.session$add_stdin$fn__1084.invoke(session.clj:326)
	at nrepl.middleware$wrap_conj_descriptor$fn__624.invoke(middleware.clj:16)
	at cider.nrepl$wrap_clojuredocs$fn__1655.invoke(nrepl.clj:488)
	at nrepl.middleware$wrap_conj_descriptor$fn__624.invoke(middleware.clj:16)
	at cider.nrepl$wrap_out$fn__1559.invoke(nrepl.clj:297)
	at nrepl.middleware$wrap_conj_descriptor$fn__624.invoke(middleware.clj:16)
	at cider.nrepl$wrap_resource$fn__1583.invoke(nrepl.clj:369)
	at nrepl.middleware$wrap_conj_descriptor$fn__624.invoke(middleware.clj:16)
	at cider.nrepl$wrap_classpath$fn__1483.invoke(nrepl.clj:111)
	at nrepl.middleware$wrap_conj_descriptor$fn__624.invoke(middleware.clj:16)
	at cider.nrepl$wrap_spec$fn__1591.invoke(nrepl.clj:381)
	at nrepl.middleware$wrap_conj_descriptor$fn__624.invoke(middleware.clj:16)
	at cider.nrepl$wrap_xref$fn__1647.invoke(nrepl.clj:473)
	at nrepl.middleware$wrap_conj_descriptor$fn__624.invoke(middleware.clj:16)
	at cider.nrepl$wrap_ns$fn__1551.invoke(nrepl.clj:263)
	at nrepl.middleware$wrap_conj_descriptor$fn__624.invoke(middleware.clj:16)
	at nrepl.middleware.session$session$fn__1069.invoke(session.clj:272)
	at nrepl.middleware$wrap_conj_descriptor$fn__624.invoke(middleware.clj:16)
	at nrepl.middleware.caught$wrap_caught$fn__881.invoke(caught.clj:97)
	at nrepl.middleware$wrap_conj_descriptor$fn__624.invoke(middleware.clj:16)
	at nrepl.middleware.print$wrap_print$fn__848.invoke(print.clj:234)
	at nrepl.middleware$wrap_conj_descriptor$fn__624.invoke(middleware.clj:16)
	at nrepl.server$handle_STAR_.invokeStatic(server.clj:18)
	at nrepl.server$handle_STAR_.invoke(server.clj:15)
	at nrepl.server$handle$fn__1106.invoke(server.clj:27)
	at clojure.core$binding_conveyor_fn$fn__5739.invoke(core.clj:2030)
	at clojure.lang.AFn.call(AFn.java:18)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.base/java.lang.Thread.run(Thread.java:844)
Caused by: java.lang.IllegalArgumentException: No matching field found: getJarFileURL for class .
	at clojure.lang.Reflector.getInstanceField(Reflector.java:397)
	at clojure.lang.Reflector.invokeNoArgInstanceMember(Reflector.java:440)
	at cider.nrepl.inlined_deps.orchard.v0v5v4.orchard.java$fn__2810.invokeStatic(java.clj:67)
	at cider.nrepl.inlined_deps.orchard.v0v5v4.orchard.java$fn__2810.invoke(java.clj:66)
	at clojure.lang.AFn.applyToHelper(AFn.java:152)
	at clojure.lang.AFn.applyTo(AFn.java:144)
	at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3702)
	... 150 more