Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jack-in exits on start with lein project #1106

Open
thsam opened this issue Apr 6, 2021 · 27 comments
Open

Jack-in exits on start with lein project #1106

thsam opened this issue Apr 6, 2021 · 27 comments
Labels
bug Something isn't working jack-in upstream

Comments

@thsam
Copy link

thsam commented Apr 6, 2021

Issue Type: Bug

cmd.exe /d /c lein update-in :dependencies conj [nrepl,"0.8.3"] -- update-in :plugins conj [cider/cider-nrepl,"0.25.8"] -- update-in [:repl-options,:nrepl-middleware] conj '["cider.nrepl/cider-middleware"]' -- repl :headless
java.lang.NumberFormatException: Invalid number: 0.8.3
 at clojure.lang.LispReader.readNumber (LispReader.java:352)
    clojure.lang.LispReader.read (LispReader.java:278)
    clojure.lang.LispReader.readDelimitedList (LispReader.java:1398)
    clojure.lang.LispReader$VectorReader.invoke (LispReader.java:1347)
    clojure.lang.LispReader.read (LispReader.java:285)
    clojure.lang.LispReader.read (LispReader.java:216)
    clojure.lang.LispReader.read (LispReader.java:205)
    clojure.lang.RT.readString (RT.java:1878)
    clojure.lang.RT.readString (RT.java:1873)
    clojure.core$read_string.invokeStatic (core.clj:3815)
    clojure.core$read_string.invoke (core.clj:3805)
    clojure.core$mapv$fn__8445.invoke (core.clj:6912)
    clojure.core.protocols$fn__8159.invokeStatic (protocols.clj:168)
    clojure.core.protocols/fn (protocols.clj:124)
    clojure.core.protocols$fn__8114$G__8109__8123.invoke (protocols.clj:19)
    clojure.core.protocols$seq_reduce.invokeStatic (protocols.clj:31)
    clojure.core.protocols$fn__8146.invokeStatic (protocols.clj:75)
    clojure.core.protocols/fn (protocols.clj:75)
    clojure.core.protocols$fn__8088$G__8083__8101.invoke (protocols.clj:13)
    clojure.core$reduce.invokeStatic (core.clj:6828)
    clojure.core$mapv.invokeStatic (core.clj:6903)
    clojure.core$mapv.invoke (core.clj:6903)
    leiningen.update_in$parse_args.invokeStatic (update_in.clj:13)
    leiningen.update_in$parse_args.invoke (update_in.clj:9)
    leiningen.update_in$update_in.invokeStatic (update_in.clj:36)
    leiningen.update_in$update_in.doInvoke (update_in.clj:24)
    clojure.lang.RestFn.applyTo (RestFn.java:146)
    clojure.lang.Var.applyTo (Var.java:705)
    clojure.core$apply.invokeStatic (core.clj:667)
    clojure.core$apply.invoke (core.clj:660)
    leiningen.core.main$partial_task$fn__7331.doInvoke (main.clj:284)
    clojure.lang.RestFn.applyTo (RestFn.java:139)
    clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
    clojure.lang.RestFn.applyTo (RestFn.java:137)
    clojure.core$apply.invokeStatic (core.clj:667)
    clojure.core$apply.invoke (core.clj:660)
    leiningen.core.main$apply_task.invokeStatic (main.clj:334)
    leiningen.core.main$apply_task.invoke (main.clj:320)
    leiningen.core.main$resolve_and_apply.invokeStatic (main.clj:343)
    leiningen.core.main$resolve_and_apply.invoke (main.clj:336)
    leiningen.core.main$_main$fn__7420.invoke (main.clj:453)
    leiningen.core.main$_main.invokeStatic (main.clj:442)
    leiningen.core.main$_main.doInvoke (main.clj:439)
    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)
Jack-in process exited. Status: 1

Extension version: 2.0.185
VS Code version: Code 1.55.0 (c185983a683d14c396952dd432459097bc7f757f, 2021-03-30T16:01:55.261Z)
OS version: Windows_NT x64 10.0.19042

System Info
Item Value
CPUs Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz (4 x 2712)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 11.89GB (5.25GB free)
Process Argv --crash-reporter-id 0ccee969-de92-457f-8f22-8c272f0a21b4
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
pythonvsnew554:30281908
pythontb:30283811
openwsldoc:30282072
vspre833:30267464
pythonptprofiler:30281270
vshan820:30276952
pythondataviewer:30285071

@fabricioc8
Copy link

I'm not @thsam XD....i'm getting the same error. i posted it on the other issue...

Here is my system info and experiment:

CPUs Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz (4 x 3292)
GPU Status 2d_canvas: unavailable_software gpu_compositing: disabled_software multiple_raster_threads: enabled_on oop_rasterization: disabled_off opengl: disabled_off protected_video_decode: disabled_off rasterization: disabled_software skia_renderer: enabled_on video_decode: disabled_software vulkan: disabled_off webgl: unavailable_software webgl2: unavailable_software
Load (avg)  
Memory (System) 15.88GB (9.96GB free)
Process Argv --crash-reporter-id caaa6f6f-f2af-458a-8375-5110c835b6fd
Screen Reader no
VM 0%

vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry914:30276682
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
pythonvspyt639:30281910
pythontb:30283811
wslfolderdoccf:30282075
vspre833:30267464
pythonptprofiler:30281270
vshan820cf:30276953
pythondataviewer:30285071

@PEZ
Copy link
Collaborator

PEZ commented Apr 7, 2021

OK. Let's bring it here then. 😄

Can you try a thing for me? In a deps.edn project. Paste this into the file .\calva\start.cmd

java -jar ".calva\deps.clj.jar" -Sdeps "{:deps {nrepl/nrepl {:mvn/version,""0.8.3""},cider/cider-nrepl {:mvn/version,""0.25.8""}}}"  -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"

Then run it from the terminal:

C:\...> .\calva\start

What happens?

@PEZ
Copy link
Collaborator

PEZ commented Apr 7, 2021

And also for a Leinigen project, this content:

lein update-in :dependencies conj [nrepl,\"0.8.3\"] -- update-in :plugins conj [cider/cider-nrepl,\"0.25.8\"] -- update-in [:repl-options,:nrepl-middleware] conj '["cider.nrepl/cider-middleware"]' -- with-profile +dev repl :headless

@fabricioc8
Copy link

I tried the command on a leiningen project and I got this:
C:\Users\Usuario\Desktop\clojure\tateti.calva> "./start.cmd"
C:\Users\Usuario\Desktop\clojure\tateti.calva>lein update-in :dependencies conj [nrepl,"0.8.3"] -- update-in :plugins conj [cider/cider-nrepl,"0.25.8"] -- update-in [:repl-options,:nrepl-middleware] conj '["cider.nrepl/cider-middleware"]' -- with-profile +dev repl :headless
java.lang.NumberFormatException: Invalid number: 0.8.3
at clojure.lang.LispReader.readNumber (LispReader.java:352)
clojure.lang.LispReader.read (LispReader.java:278)
clojure.lang.LispReader.readDelimitedList (LispReader.java:1398)
clojure.lang.LispReader$VectorReader.invoke (LispReader.java:1347)
clojure.lang.LispReader.read (LispReader.java:285)
clojure.lang.LispReader.read (LispReader.java:216)
clojure.lang.LispReader.read (LispReader.java:205)
clojure.lang.RT.readString (RT.java:1874)
clojure.lang.RT.readString (RT.java:1869)
clojure.core$read_string.invokeStatic (core.clj:3815)
clojure.core$read_string.invoke (core.clj:3805)
clojure.core$mapv$fn__8430.invoke (core.clj:6912)
clojure.core.protocols$fn__8144.invokeStatic (protocols.clj:168)
clojure.core.protocols/fn (protocols.clj:124)
clojure.core.protocols$fn__8099$G__8094__8108.invoke (protocols.clj:19)
clojure.core.protocols$seq_reduce.invokeStatic (protocols.clj:31)
clojure.core.protocols$fn__8131.invokeStatic (protocols.clj:75)
clojure.core.protocols/fn (protocols.clj:75)
clojure.core.protocols$fn__8073$G__8068__8086.invoke (protocols.clj:13)
clojure.core$reduce.invokeStatic (core.clj:6828)
clojure.core$mapv.invokeStatic (core.clj:6903)
clojure.core$mapv.invoke (core.clj:6903)
leiningen.update_in$parse_args.invokeStatic (update_in.clj:13)
leiningen.update_in$parse_args.invoke (update_in.clj:9)
leiningen.update_in$update_in.invokeStatic (update_in.clj:36)
leiningen.update_in$update_in.doInvoke (update_in.clj:24)
clojure.lang.RestFn.applyTo (RestFn.java:146)
clojure.lang.Var.applyTo (Var.java:705)
clojure.core$apply.invokeStatic (core.clj:667)
clojure.core$apply.invoke (core.clj:660)
leiningen.core.main$partial_task$fn__7356.doInvoke (main.clj:284)
clojure.lang.RestFn.applyTo (RestFn.java:139)
clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
clojure.lang.RestFn.applyTo (RestFn.java:137)
clojure.core$apply.invokeStatic (core.clj:667)
clojure.core$apply.invoke (core.clj:660)
leiningen.core.main$apply_task.invokeStatic (main.clj:334)
leiningen.core.main$apply_task.invoke (main.clj:320)
leiningen.core.main$resolve_and_apply.invokeStatic (main.clj:343)
leiningen.core.main$resolve_and_apply.invoke (main.clj:336)
leiningen.core.main$_main$fn__7445.invoke (main.clj:453)
leiningen.core.main$_main.invokeStatic (main.clj:442)
leiningen.core.main$_main.doInvoke (main.clj:439)
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:491)
clojure.main$main_opt.invoke (main.clj:487)
clojure.main$main.invokeStatic (main.clj:598)
clojure.main$main.doInvoke (main.clj:561)
clojure.lang.RestFn.applyTo (RestFn.java:137)
clojure.lang.Var.applyTo (Var.java:705)
clojure.main.main (main.java:37)

"launching repl using leiningen" that message stays in yellow in the bottom bar

...and for a deps.edn project the console doesn't return anything and nothing happens in the bar...:(

@fabricioc8
Copy link

Any news of this? I really need it :(

@bpringe
Copy link
Member

bpringe commented May 7, 2021

@PEZ is this related to the Oracle bug mentioned here: #1162 (comment)?

@PEZ
Copy link
Collaborator

PEZ commented May 7, 2021

I didn't think so at first, but maybe it is.

Which Java are you using @fabricioc8 and @thsam ?

@fabricioc8
Copy link

JDK SE 16 64bit

@PEZ
Copy link
Collaborator

PEZ commented May 8, 2021

So, it could be the same Java bug as #1162 is bumping against. If you from the CMD prompt run where java and see something like this as the first reported entry:

C:\Program Files\Common Files\Oracle\Java\javapath\java.exe

Then even more likely.

Try with installing adoptjdk via scoop and make it your system Java (which might involve removing C:\Program Files\Common Files\Oracle\Java\javapath\ from your PATH environment variable).

Let me know if this works or not.

@fabricioc8
Copy link

I tried what you suggested but I couldn't connect the REPL. I removed C:\Program Files\Common Files\Oracle\Java\javapath\ from my PATH and installed scoop via:

PS C:\Users\Usuario> scoop bucket add java
Checking repo... ok
The java bucket was added successfully.

Then I installed adoptjdk via:

C:\Users\Usuario>scoop install adopt12-hotspot
Updating Scoop...
Updating 'java' bucket...
Updating 'main' bucket...
Checking repo... ok
The main bucket was added successfully.
Scoop was updated successfully!
Installing 'adopt12-hotspot' (12.0.2-10) [64bit] OpenJDK12U-jdk_x64_windows_hotspot_12.0.2_10.zip (200,2 MB) 
Checking hash of OpenJDK12U-jdk_x64_windows_hotspot_12.0.2_10.zip ... ok.
Extracting OpenJDK12U-jdk_x64_windows_hotspot_12.0.2_10.zip ... done.
Linking ~\scoop\apps\adopt12-hotspot\current => ~\scoop\apps\adopt12-hotspot\12.0.2-10
'adopt12-hotspot' (12.0.2-10) was installed successfully!
"itcode"" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable.

...and it appeared in my System enviroment PATH varible.
Then I reset the java version with:

PS C:\Users\Usuario> scoop reset adopt12-hotspot
Resetting adopt12-hotspot (12.0.2-10).
Linking ~\scoop\apps\adopt12-hotspot\current => ~\scoop\apps\adopt12-hotspot\12.0.2-10

I went to the editor and try to connect the repl in a leningen project and got the same message on the VSC terminal:

cmd.exe /d /c lein update-in :dependencies conj [nrepl,"0.8.3"] -- update-in :plugins conj [cider/cider-nrepl,"0.26.0"] -- update-in [:repl-options,:nrepl-middleware] conj '["cider.nrepl/cider-middleware"]' -- repl :headless
java.lang.NumberFormatException: Invalid number: 0.8.3
 at clojure.lang.LispReader.readNumber (LispReader.java:352)
    clojure.lang.LispReader.read (LispReader.java:278)
    clojure.lang.LispReader.readDelimitedList (LispReader.java:1398)
    clojure.lang.LispReader$VectorReader.invoke (LispReader.java:1347)
    clojure.lang.LispReader.read (LispReader.java:285)
    clojure.lang.LispReader.read (LispReader.java:216)
    clojure.lang.LispReader.read (LispReader.java:205)
    clojure.lang.RT.readString (RT.java:1874)
    clojure.lang.RT.readString (RT.java:1869)
    clojure.core$read_string.invokeStatic (core.clj:3815)
    clojure.core$read_string.invoke (core.clj:3805)
    clojure.core$mapv$fn__8430.invoke (core.clj:6912)
    clojure.core.protocols$fn__8144.invokeStatic (protocols.clj:168)
    clojure.core.protocols/fn (protocols.clj:124)
    clojure.core.protocols$fn__8099$G__8094__8108.invoke (protocols.clj:19)
    clojure.core.protocols$seq_reduce.invokeStatic (protocols.clj:31)
    clojure.core.protocols$fn__8131.invokeStatic (protocols.clj:75)
    clojure.core.protocols/fn (protocols.clj:75)
    clojure.core.protocols$fn__8073$G__8068__8086.invoke (protocols.clj:13)
    clojure.core$reduce.invokeStatic (core.clj:6828)
    clojure.core$mapv.invokeStatic (core.clj:6903)
    clojure.core$mapv.invoke (core.clj:6903)
    leiningen.update_in$parse_args.invokeStatic (update_in.clj:13)
    leiningen.update_in$parse_args.invoke (update_in.clj:9)
    leiningen.update_in$update_in.invokeStatic (update_in.clj:36)
    leiningen.update_in$update_in.doInvoke (update_in.clj:24)
    clojure.lang.RestFn.applyTo (RestFn.java:146)
    clojure.lang.Var.applyTo (Var.java:705)
    clojure.core$apply.invokeStatic (core.clj:667)
    clojure.core$apply.invoke (core.clj:660)
    leiningen.core.main$partial_task$fn__7356.doInvoke (main.clj:284)
    clojure.lang.RestFn.applyTo (RestFn.java:139)
    clojure.lang.AFunction$1.doInvoke (AFunction.java:31)
    clojure.lang.RestFn.applyTo (RestFn.java:137)
    clojure.core$apply.invokeStatic (core.clj:667)
    clojure.core$apply.invoke (core.clj:660)
    leiningen.core.main$apply_task.invokeStatic (main.clj:334)
    leiningen.core.main$apply_task.invoke (main.clj:320)
    leiningen.core.main$resolve_and_apply.invokeStatic (main.clj:343)
    leiningen.core.main$resolve_and_apply.invoke (main.clj:336)
    leiningen.core.main$_main$fn__7445.invoke (main.clj:453)
    leiningen.core.main$_main.invokeStatic (main.clj:442)
    leiningen.core.main$_main.doInvoke (main.clj:439)
    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:491)
    clojure.main$main_opt.invoke (main.clj:487)
    clojure.main$main.invokeStatic (main.clj:598)
    clojure.main$main.doInvoke (main.clj:561)
    clojure.lang.RestFn.applyTo (RestFn.java:137)
    clojure.lang.Var.applyTo (Var.java:705)
    clojure.main.main (main.java:37)
Jack-in process exited. Status: 1

Then I tried the process with 'scoop install adopt12-hotspot-jre' and it appeared in my PATH User enviroment variable but not in the System variable. Also appeared in JAVA_HOME User enviromet variable. (I don't know wich of adopt12-hotspot or adopt12-hotspot-jre should I have been installed)

My JAVA_HOME System enviroment value ends with 'C:\Program Files\Java\jdk-16\bin;C:\Program Files\Java\jdk-16' after the whole process.

If I did something wrong let me know and I will try again.

@PEZ
Copy link
Collaborator

PEZ commented Jun 8, 2021

@fabricioc8 what do you get if you from a cmd prompt run where java?

@fabricioc8
Copy link

I get this C:\Program Files\Common Files\Oracle\Java\javapath\java.exe

@PEZ
Copy link
Collaborator

PEZ commented Jun 8, 2021

So, there's the issue. That java.exe is broken. https://bugs.openjdk.java.net/browse/JDK-8266473

You'll need to make Windows use another java.exe in order for jack-in to work. I am a Windows noob so didn't know how to do this so I ended up copying C:\Program Files\Java\jdk-16.0.1\bin> .\java.exe to C:\Program Files\Common Files\Oracle\Java\javapath\. So essentially I am still using the Oracle's java, but not the one in that javapath.

@fabricioc8
Copy link

fabricioc8 commented Jun 8, 2021

I did that and get this on the VSC terminal when tried to jack-in:

     cmd.exe /d /c lein update-in :dependencies conj [nrepl,"0.8.3"] -- update-in :plugins conj [cider/cider-nrepl,"0.26.0"] -- update-in [:repl-options,:nrepl-middleware] conj '["cider.nrepl/cider-middleware"]' -- repl :headless
nREPL server started on port 55441 on host 127.0.0.1 - nrepl://127.0.0.1:55441
ERROR: Unhandled REPL handler exception processing message {:op eval, :code *ns*, :id 1}
Syntax error compiling at (cider/nrepl/inlined_deps/orchard/v0v7v1/orchard/java/parser.clj:1:1).
        at clojure.lang.Compiler.load(Compiler.java:7647)
        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.applyTo(RestFn.java:137)
        at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3702)

        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:619)

        at cider.nrepl.inlined_deps.orchard.v0v7v1.orchard.info$eval4055$loading__6706__auto____4056.invoke(info.clj:1)
        at cider.nrepl.inlined_deps.orchard.v0v7v1.orchard.info$eval4055.invokeStatic(info.clj:1)
        at cider.nrepl.inlined_deps.orchard.v0v7v1.orchard.info$eval4055.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:930)

        at cider.nrepl.middleware.stacktrace$eval4047$loading__6706__auto____4048.invoke(stacktrace.clj:1)
        at cider.nrepl.middleware.stacktrace$eval4047.invokeStatic(stacktrace.clj:1)

        at cider.nrepl.middleware.stacktrace$eval4047.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:1289)

        at cider.nrepl.middleware.debug$eval4039$loading__6706__auto____4040.invoke(debug.clj:1)
        at cider.nrepl.middleware.debug$eval4039.invokeStatic(debug.clj:1)
        at cider.nrepl.middleware.debug$eval4039.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$handler_future$fn__2005.invoke(nrepl.clj:51)
        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__2075.invoke(nrepl.clj:159)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.middleware.session$add_stdin$fn__1092.invoke(session.clj:354)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl.middleware.inspect$eval_reply.invokeStatic(inspect.clj:67)
        at cider.nrepl.middleware.inspect$eval_reply.invoke(inspect.clj:65)
        at cider.nrepl.middleware.inspect$handle_inspect.invokeStatic(inspect.clj:106)
        at cider.nrepl.middleware.inspect$handle_inspect.invoke(inspect.clj:104)
        at clojure.lang.Var.invoke(Var.java:388)
        at cider.nrepl$wrap_inspect$fn__2109.invoke(nrepl.clj:223)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_out$fn__2133.invoke(nrepl.clj:330)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_enlighten$fn__2083.invoke(nrepl.clj:186)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.middleware.load_file$wrap_load_file$fn__1441.invoke(load_file.clj:81)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.middleware.caught$wrap_caught$fn__912.invoke(caught.clj:97)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)

        at cider.nrepl$wrap_spec$fn__2165.invoke(nrepl.clj:412)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl.middleware.content_type$handle_content_type.invokeStatic(content_type.clj:140)
        at cider.nrepl.middleware.content_type$handle_content_type.invoke(content_type.clj:127)
        at clojure.lang.Var.invoke(Var.java:388)
        at cider.nrepl$wrap_content_type$fn__2033.invoke(nrepl.clj:105)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_classpath$fn__2057.invoke(nrepl.clj:133)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_stacktrace$fn__2173.invoke(nrepl.clj:428)

        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)

        at cider.nrepl$wrap_slurp$fn__2041.invoke(nrepl.clj:117)

        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_refresh$fn__2149.invoke(nrepl.clj:376)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl.middleware.track_state$handle_tracker.invokeStatic(track_state.clj:240)
        at cider.nrepl.middleware.track_state$handle_tracker.invoke(track_state.clj:238)
        at clojure.lang.Var.invoke(Var.java:388)
        at cider.nrepl$wrap_tracker$fn__2197.invoke(nrepl.clj:478)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_ns$fn__2125.invoke(nrepl.clj:296)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_complete$fn__2065.invoke(nrepl.clj:139)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_resource$fn__2157.invoke(nrepl.clj:402)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_info$fn__2099.invoke(nrepl.clj:204)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.middleware.session$session$fn__1077.invoke(session.clj:309)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_xref$fn__2223.invoke(nrepl.clj:507)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_format$fn__2091.invoke(nrepl.clj:190)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.middleware.print$wrap_print$fn__879.invoke(print.clj:234)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.server$default_handler$fn__1572.invoke(server.clj:130)
        at nrepl.server$handle_STAR_.invokeStatic(server.clj:22)
        at nrepl.server$handle_STAR_.invoke(server.clj:19)
        at nrepl.server$handle$fn__1543.invoke(server.clj:39)
        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(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: jdk.javadoc.doclet.Doclet
        at java.base/java.net.URLClassLoader.findClass(Unknown Source)
        at clojure.lang.DynamicClassLoader.findClass(DynamicClassLoader.java:69)
        at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
        at clojure.lang.DynamicClassLoader.loadClass(DynamicClassLoader.java:77)
        at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
        at java.base/java.lang.Class.forName0(Native Method)
        at java.base/java.lang.Class.forName(Unknown Source)
        at clojure.lang.RT.classForName(RT.java:2207)
        at clojure.lang.RT.classForNameNonLoading(RT.java:2220)

        at cider.nrepl.inlined_deps.orchard.v0v7v1.orchard.java.parser$eval4280$loading__6706__auto____4281.invoke(parser.clj:1)
        at cider.nrepl.inlined_deps.orchard.v0v7v1.orchard.java.parser$eval4280.invokeStatic(parser.clj:1)
        at cider.nrepl.inlined_deps.orchard.v0v7v1.orchard.java.parser$eval4280.invoke(parser.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)
        ... 203 more
        ... 199 moreang.Compiler.load(Compiler.java:7635)d.java.parser$eval4280.invoke(parser.clj:1)clj:1)1.invoke(parser.clj:1)

previously without doing anything I saw a VSC notification with the message "connected to the nREPL" and 'nrepl://127.0.0.1:50476' in the bottom blue bar.

@bpringe
Copy link
Member

bpringe commented Jun 9, 2021

This problem may not be exactly this, but may be related: clojure-emacs/cider-nrepl#651

Core issue is here:

Caused by: java.lang.ClassNotFoundException: jdk.javadoc.doclet.Doclet

Maybe the copying over of the exe causes some things (like that class) to be missing.

@bpringe
Copy link
Member

bpringe commented Jun 9, 2021

You might have luck completely removing Java from your system, then adding an openjdk version.

@PEZ
Copy link
Collaborator

PEZ commented Jun 9, 2021

Yes, or edit the PATH variable and remove the Oracle ... javapath stuff from it.

@fabricioc8
Copy link

I uninstalled Java JDK 16.0 and manually removed Oracle.../javapath from the PATH. Then I restared the pc and removed java bucket with 'scoop bucket rm java', ran again 'scoop bucket add java' and 'scoop install adoptopenjdk-hotspot-jre'. The 'where java' command throws:

C:\Users\Usuario\scoop\apps\adopt12-hotspot-jre\current\bin\java.exe
C:\Users\Usuario\scoop\apps\adopt12-hotspot\current\bin\java.exe

Went to VSC open a leingen project, try to jack-in and got this in the terminal:

cmd.exe /d /c lein update-in :dependencies conj [nrepl,"0.8.3"] -- update-in :plugins conj [cider/cider-nrepl,"0.26.0"] -- update-in [:repl-options,:nrepl-middleware] conj '["cider.nrepl/cider-middleware"]' -- repl :headless
nREPL server started on port 52214 on host 127.0.0.1 - nrepl://127.0.0.1:52214
ERROR: Unhandled REPL handler exception processing message {:op eval, :code *ns*, :id 1}
Syntax error compiling at (cider/nrepl/inlined_deps/orchard/v0v7v1/orchard/java/parser.clj:1:1).
        at clojure.lang.Compiler.load(Compiler.java:7647)
        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.applyTo(RestFn.java:137)
        at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3702)
        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:619)
        at cider.nrepl.inlined_deps.orchard.v0v7v1.orchard.info$eval4055$loading__6706__auto____4056.invoke(info.clj:1)
        at cider.nrepl.inlined_deps.orchard.v0v7v1.orchard.info$eval4055.invokeStatic(info.clj:1)
        at cider.nrepl.inlined_deps.orchard.v0v7v1.orchard.info$eval4055.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:930)
        at cider.nrepl.middleware.stacktrace$eval4047$loading__6706__auto____4048.invoke(stacktrace.clj:1)

        at cider.nrepl.middleware.stacktrace$eval4047.invokeStatic(stacktrace.clj:1)
        at cider.nrepl.middleware.stacktrace$eval4047.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:1289)
        at cider.nrepl.middleware.debug$eval4039$loading__6706__auto____4040.invoke(debug.clj:1)

        at cider.nrepl.middleware.debug$eval4039.invokeStatic(debug.clj:1)
        at cider.nrepl.middleware.debug$eval4039.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$handler_future$fn__2005.invoke(nrepl.clj:51)
        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__2075.invoke(nrepl.clj:159)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.middleware.session$add_stdin$fn__1092.invoke(session.clj:354)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl.middleware.inspect$eval_reply.invokeStatic(inspect.clj:67)
        at cider.nrepl.middleware.inspect$eval_reply.invoke(inspect.clj:65)
        at cider.nrepl.middleware.inspect$handle_inspect.invokeStatic(inspect.clj:106)
        at cider.nrepl.middleware.inspect$handle_inspect.invoke(inspect.clj:104)
        at clojure.lang.Var.invoke(Var.java:388)
        at cider.nrepl$wrap_inspect$fn__2109.invoke(nrepl.clj:223)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_complete$fn__2065.invoke(nrepl.clj:139)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_enlighten$fn__2083.invoke(nrepl.clj:186)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_slurp$fn__2041.invoke(nrepl.clj:117)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_version$fn__2215.invoke(nrepl.clj:497)

        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_spec$fn__2165.invoke(nrepl.clj:412)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_macroexpand$fn__2117.invoke(nrepl.clj:283)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_refresh$fn__2149.invoke(nrepl.clj:376)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_xref$fn__2223.invoke(nrepl.clj:507)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_apropos$fn__2049.invoke(nrepl.clj:125)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.middleware.load_file$wrap_load_file$fn__1441.invoke(load_file.clj:81)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.middleware.caught$wrap_caught$fn__912.invoke(caught.clj:97)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl.middleware.content_type$handle_content_type.invokeStatic(content_type.clj:140)
        at cider.nrepl.middleware.content_type$handle_content_type.invoke(content_type.clj:127)
        at clojure.lang.Var.invoke(Var.java:388)
        at cider.nrepl$wrap_content_type$fn__2033.invoke(nrepl.clj:105)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.middleware.print$wrap_print$fn__879.invoke(print.clj:234)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl.middleware.track_state$handle_tracker.invokeStatic(track_state.clj:240)
        at cider.nrepl.middleware.track_state$handle_tracker.invoke(track_state.clj:238)
        at clojure.lang.Var.invoke(Var.java:388)
        at cider.nrepl$wrap_tracker$fn__2197.invoke(nrepl.clj:478)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_out$fn__2133.invoke(nrepl.clj:330)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.middleware.sideloader$wrap_sideloader$fn__1528.invoke(sideloader.clj:104)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_resource$fn__2157.invoke(nrepl.clj:402)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_info$fn__2099.invoke(nrepl.clj:204)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.middleware.session$session$fn__1077.invoke(session.clj:309)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.server$default_handler$fn__1572.invoke(server.clj:130)
        at nrepl.server$handle_STAR_.invokeStatic(server.clj:22)
        at nrepl.server$handle_STAR_.invoke(server.clj:19)
        at nrepl.server$handle$fn__1543.invoke(server.clj:39)
        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(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: jdk.javadoc.doclet.Doclet
        at java.base/java.net.URLClassLoader.findClass(Unknown Source)
        at clojure.lang.DynamicClassLoader.findClass(DynamicClassLoader.java:69)
        at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
        at clojure.lang.DynamicClassLoader.loadClass(DynamicClassLoader.java:77)
        at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
        at java.base/java.lang.Class.forName0(Native Method)
        at java.base/java.lang.Class.forName(Unknown Source)
        at clojure.lang.RT.classForName(RT.java:2207)
        at clojure.lang.RT.classForNameNonLoading(RT.java:2220)
        at cider.nrepl.inlined_deps.orchard.v0v7v1.orchard.java.parser$eval4280$loading__6706__auto____4281.invoke(parser.clj:1)
        at cider.nrepl.inlined_deps.orchard.v0v7v1.orchard.java.parser$eval4280.invokeStatic(parser.clj:1)

        at cider.nrepl.inlined_deps.orchard.v0v7v1.orchard.java.parser$eval4280.invoke(parser.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)
        ... 203 more

@fabricioc8
Copy link

Also ran

C:\Users\Usuario>scoop reset adoptopenjdk-hotspot-jre
Resetting adoptopenjdk-hotspot-jre (16.0.1-9).
Linking ~\scoop\apps\adoptopenjdk-hotspot-jre\current => ~\scoop\apps\adoptopenjdk-hotspot-jre\16.0.1-9

@bpringe
Copy link
Member

bpringe commented Jun 10, 2021

Hmm... same issue again with the missing class - java.lang.ClassNotFoundException: jdk.javadoc.doclet.Doclet.

Just to rule something out, when you run lein classpath in your project:

  1. What version of nrepl do you see?
  2. If you see cider-nrepl, what version is it?
  3. If you see orchard, what version is it?

@fabricioc8
Copy link

Only C:\Users\Usuario.m2\repository\nrepl\nrepl\0.6.0\nrepl-0.6.0.jar;

Here is the rest:
C:\Users\Usuario\Desktop\clojure\my-webapp\test;
C:\Users\Usuario\Desktop\clojure\my-webapp\src;
C:\Users\Usuario\Desktop\clojure\my-webapp\dev-resources;
C:\Users\Usuario\Desktop\clojure\my-webapp\resources;
C:\Users\Usuario\Desktop\clojure\my-webapp\target\classes;
C:\Users\Usuario.m2\repository\clj-time\clj-time\0.11.0\clj-time-0.11.0.jar;
C:\Users\Usuario.m2\repository\nrepl\nrepl\0.6.0\nrepl-0.6.0.jar;
C:\Users\Usuario.m2\repository\clojure-complete\clojure-complete\0.2.5\clojure-complete-0.2.5.jar;
C:\Users\Usuario.m2\repository\instaparse\instaparse\1.4.8\instaparse-1.4.8.jar;
C:\Users\Usuario.m2\repository\cheshire\cheshire\5.8.0\cheshire-5.8.0.jar;
C:\Users\Usuario.m2\repository\commons-io\commons-io\2.5\commons-io-2.5.jar;
C:\Users\Usuario.m2\repository\org\clojure\tools.macro\0.1.5\tools.macro-0.1.5.jar;
C:\Users\Usuario.m2\repository\org\clojure\clojure\1.10.0\clojure-1.10.0.jar;
C:\Users\Usuario.m2\repository\ring\ring-headers\0.3.0\ring-headers-0.3.0.jar;
C:\Users\Usuario.m2\repository\compojure\compojure\1.6.1\compojure-1.6.1.jar;
C:\Users\Usuario.m2\repository\com\h2database\h2\1.4.193\h2-1.4.193.jar;
C:\Users\Usuario.m2\repository\ring\ring-ssl\0.3.0\ring-ssl-0.3.0.jar;
C:\Users\Usuario.m2\repository\commons-fileupload\commons-fileupload\1.3.3\commons-fileupload-1.3.3.jar;
C:\Users\Usuario.m2\repository\com\fasterxml\jackson\core\jackson-core\2.9.0\jackson-core-.9.0.jar;
C:\Users\Usuario.m2\repository\ring\ring-core\1.6.3\ring-core-1.6.3.jar;
C:\Users\Usuario.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-smile\2.9.0\jackson-dataformat-smile-2.9.0.jar;
C:\Users\Usuario.m2\repository\medley\medley\1.0.0\medley-1.0.0.jar;
C:\Users\Usuario.m2\repository\ring\ring-mock\0.3.2\ring-mock-0.3.2.jar;
C:\Users\Usuario.m2\repository\crypto-equality\crypto-equality\1.0.0\crypto-equality-1.0.0.jar;
C:\Users\Usuario.m2\repository\tigris\tigris\0.1.1\tigris-0.1.1.jar;
C:\Users\Usuario.m2\repository\hiccup\hiccup\1.0.5\hiccup-1.0.5.jar;
C:\Users\Usuario.m2\repository\clout\clout\2.2.1\clout-2.2.1.jar;
C:\Users\Usuario.m2\repository\com\fasterxml\jackson\dataformat\jackson-dataformat-cbor\2.9.0\jackson-dataformat-cbor-.9.0.jar;
C:\Users\Usuario.m2\repository\org\clojure\java.jdbc\0.6.0\java.jdbc-0.6.0.jar;
C:\Users\Usuario.m2\repository\crypto-random\crypto-random\1.2.0\crypto-random-1.2.0.jar;
C:\Users\Usuario.m2\repository\javax\servlet\javax.servlet-api\3.1.0\javax.servlet-api-3.1.0.jar;
C:\Users\Usuario.m2\repository\org\clojure\core.specs.alpha\0.2.44\core.specs.alpha-.2.44.jar;
C:\Users\Usuario.m2\repository\ring\ring-anti-forgery\1.3.0\ring-anti-forgery-1.3.0.jar;
C:\Users\Usuario.m2\repository\javax\servlet\servlet-api\2.5\servlet-api-2.5.jar;
C:\Users\Usuario.m2\repository\ring\ring-codec\1.1.0\ring-codec-1.1.0.jar;
C:\Users\Usuario.m2\repository\ring\ring-defaults\0.3.2\ring-defaults-0.3.2.jar;
C:\Users\Usuario.m2\repository\commons-codec\commons-codec\1.10\commons-codec-1.10.jar;
C:\Users\Usuario.m2\repository\joda-time\joda-time\2.8.2\joda-time-2.8.2.jar;
C:\Users\Usuario.m2\repository\org\clojure\spec.alpha\0.2.176\spec.alpha-0.2.176.jar

@PEZ
Copy link
Collaborator

PEZ commented Jun 10, 2021

I find similar issues reported on cider and orchard:

clojure-emacs/cider#2619
clojure-emacs/orchard#50

Maybe there are more. I'm not sure what the fix would be for you @fabricioc8 , but you can check if you have any nrepl, cider-nrepl or related middleware configured in your project or in your lein user profile. If so, see if it helps disabling those.

It might also be that Calva's defaults for the Jack-in Dependency Versions setting are the problem. They are:

  • nrepl: 0.8.3
  • cider-nrepl: 0.26.0

Maybe @bbatsov can tell us if there are known problems with that combo?

@bbatsov
Copy link
Contributor

bbatsov commented Jun 10, 2021

Looking at the thread comments it seems like the Orchard issue with the JDK. The first ticket you linked to was a bad build, that's totally unrelated.

@bpringe
Copy link
Member

bpringe commented Jun 11, 2021

@fabricioc8 I'm not totally sure which version is being used when you jack-in, but it could be nrepl-0.6.0 since that's what you see in your classpath, even though jack-in injects a higher version. (@PEZ Correct me if I'm wrong)

So, with the version of lein I'm using, 2.9.5, nrepl 0.8.3 is the version it depends on. If I remove nrepl from my ~/.m2/repository directory and run lein classpath again, it downloads nrepl 0.8.3. What version of lein are you using @fabricioc8? If not latest, I'd be interested to see what happens if you installed latest. Also make sure your project and profiles aren't pulling in nrepl as a dep.

@fabricioc8
Copy link

I was using lein version 2.9.3. I updated it to 2.9.6. I deleted the nrepl folder from .m2 (which had several versions, including 0.6.0 and 0.8.3) and ran 'lein classpath'. It only downloaded nrepl 0.8.3 but when trying the jack-in I got the same error:

cmd.exe /d /c lein update-in :dependencies conj [nrepl,"0.8.3"] -- update-in :plugins conj [cider/cider-nrepl,"0.26.0"] -- update-in [:repl-options,:nrepl-middleware] conj '["cider.nrepl/cider-middleware"]' -- repl :headless
nREPL server started on port 65476 on host 127.0.0.1 - nrepl://127.0.0.1:65476
ERROR: Unhandled REPL handler exception processing message {:op eval, :code *ns*, :id 1}
Syntax error compiling at (cider/nrepl/inlined_deps/orchard/v0v7v1/orchard/java/parser.clj:1:1).
        at clojure.lang.Compiler.load(Compiler.java:7647)
        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.applyTo(RestFn.java:137)
        at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3702)
        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:619)
        at cider.nrepl.inlined_deps.orchard.v0v7v1.orchard.info$eval4055$loading__6706__auto____4056.invoke(info.clj:1)
        at cider.nrepl.inlined_deps.orchard.v0v7v1.orchard.info$eval4055.invokeStatic(info.clj:1)
        at cider.nrepl.inlined_deps.orchard.v0v7v1.orchard.info$eval4055.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:930)
        at cider.nrepl.middleware.stacktrace$eval4047$loading__6706__auto____4048.invoke(stacktrace.clj:1)
        at cider.nrepl.middleware.stacktrace$eval4047.invokeStatic(stacktrace.clj:1)
        at cider.nrepl.middleware.stacktrace$eval4047.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:1289)
        at cider.nrepl.middleware.debug$eval3630$loading__6706__auto____3631.invoke(debug.clj:1)
        at cider.nrepl.middleware.debug$eval3630.invokeStatic(debug.clj:1)
        at cider.nrepl.middleware.debug$eval3630.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$handler_future$fn__2005.invoke(nrepl.clj:51)
        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__2075.invoke(nrepl.clj:159)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.middleware.sideloader$wrap_sideloader$fn__1528.invoke(sideloader.clj:104)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_ns$fn__2125.invoke(nrepl.clj:296)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_info$fn__2099.invoke(nrepl.clj:204)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_undef$fn__2205.invoke(nrepl.clj:489)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_slurp$fn__2041.invoke(nrepl.clj:117)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_test$fn__2181.invoke(nrepl.clj:438)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_complete$fn__2065.invoke(nrepl.clj:139)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.middleware.load_file$wrap_load_file$fn__1441.invoke(load_file.clj:81)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.middleware.caught$wrap_caught$fn__912.invoke(caught.clj:97)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl.middleware.track_state$handle_tracker.invokeStatic(track_state.clj:240)
        at cider.nrepl.middleware.track_state$handle_tracker.invoke(track_state.clj:238)
        at clojure.lang.Var.invoke(Var.java:388)
        at cider.nrepl$wrap_tracker$fn__2197.invoke(nrepl.clj:478)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl.middleware.content_type$handle_content_type.invokeStatic(content_type.clj:140)
        at cider.nrepl.middleware.content_type$handle_content_type.invoke(content_type.clj:127)
        at clojure.lang.Var.invoke(Var.java:388)
        at cider.nrepl$wrap_content_type$fn__2033.invoke(nrepl.clj:105)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_format$fn__2091.invoke(nrepl.clj:190)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.middleware.print$wrap_print$fn__879.invoke(print.clj:234)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_clojuredocs$fn__2231.invoke(nrepl.clj:522)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.middleware.completion$wrap_completion$fn__1409.invoke(completion.clj:50)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.middleware.lookup$wrap_lookup$fn__1491.invoke(lookup.clj:51)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.middleware.session$session$fn__1077.invoke(session.clj:309)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at cider.nrepl$wrap_enlighten$fn__2083.invoke(nrepl.clj:186)
        at nrepl.middleware$wrap_conj_descriptor$fn__644.invoke(middleware.clj:16)
        at nrepl.server$default_handler$fn__1572.invoke(server.clj:130)
        at nrepl.server$handle_STAR_.invokeStatic(server.clj:22)
        at nrepl.server$handle_STAR_.invoke(server.clj:19)
        at nrepl.server$handle$fn__1543.invoke(server.clj:39)
        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(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: jdk.javadoc.doclet.Doclet
        at java.base/java.net.URLClassLoader.findClass(Unknown Source)
        at clojure.lang.DynamicClassLoader.findClass(DynamicClassLoader.java:69)
        at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
        at clojure.lang.DynamicClassLoader.loadClass(DynamicClassLoader.java:77)
        at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
        at java.base/java.lang.Class.forName0(Native Method)
        at java.base/java.lang.Class.forName(Unknown Source)
        at clojure.lang.RT.classForName(RT.java:2207)
        at clojure.lang.RT.classForNameNonLoading(RT.java:2220)
        at cider.nrepl.inlined_deps.orchard.v0v7v1.orchard.java.parser$eval4280$loading__6706__auto____4281.invoke(parser.clj:1)
        at cider.nrepl.inlined_deps.orchard.v0v7v1.orchard.java.parser$eval4280.invokeStatic(parser.clj:1)
        at cider.nrepl.inlined_deps.orchard.v0v7v1.orchard.java.parser$eval4280.invoke(parser.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)
        ... 192 more

@bpringe
Copy link
Member

bpringe commented Jun 12, 2021

Hmm. @bbatsov Did you mean it looks like it's related to this issue? clojure-emacs/orchard#50

@fabricioc8, you may find some helpful information in that issue. If you do end up finding a workaround or solution, please post here about it.

@bpringe
Copy link
Member

bpringe commented Jun 12, 2021

I realize we've been troubleshooting a different issue now than the original, so @fabricioc8 it would be a good idea to create a new issue to track the java.lang.ClassNotFoundException: jdk.javadoc.doclet.Doclet error. If you do, please link to this one so we have more context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working jack-in upstream
Projects
None yet
Development

No branches or pull requests

5 participants