Fork me on GitHub
#cider
<
2019-09-30
>
alexyakushev11:09:53

I've stumbled upon a problem of error buffer not popping up because deep inside stacktrace middleware parse-java fails with java.lang.IllegalAccessError: com/sun/tools/javadoc/Messager$1

alexyakushev12:09:30

Should the whole function be wrapped into try-catch Error or is there something else to do about it?

bozhidar17:09:41

@alexyakushev Did you notice anything special about the code triggering the error? I’ve never seen such a problem so far and I’m curious what might be the root cause of it.

ghadi17:09:10

are you on 9+ ?

alexyakushev17:09:27

Interestingly enough, it's not easily reproducible. I don't get this error when working in fresh REPL. But I can reliably reproduce it in a complex project after I use tools.namespace to reload the namespaces.

alexyakushev17:09:02

And only if I do that as a boot repl hook. It's very convoluted:) And doesn't reproduce in other cases.

ghadi17:09:25

¯\(ツ)

alexyakushev17:09:30

Yeah, my sentiment exactly:)

bozhidar17:09:57

Orchard has two different parsers - one for JDK 8 and one that’s modules aware for JDK 9+.

bozhidar17:09:37

As the legacy parser has been around for a very long time I’m always surprised to see some new issue report for it.

alexyakushev17:09:11

I'll try to work a bit more with this, see if I can make a small reproducible case. Thanks meanwhile

Lucas Barbosa17:09:34

I am looking for a way to automatically trigger evil-insert-state whenever cider--debug-mode happens (and go back to evil-normal-state afterwards). Anybody knows a good way to do it in Spacemacs?

practicalli-johnny18:09:18

Perhaps ask in #spacemacs channel

jjttjj21:09:30

I did a fresh linux install a few weeks ago and only ever installed jdk 12 using sdkman. Now when I cider-jack-in it's somehow using java 1.8. Anyone know where that might be coming from?

dpsutton21:09:46

probably ask in #clojure

jjttjj21:09:13

will do thanks