This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-30
Channels
- # aleph (1)
- # announcements (7)
- # aws (4)
- # beginners (52)
- # calva (11)
- # cider (20)
- # clj-kondo (36)
- # clojure (53)
- # clojure-austin (1)
- # clojure-brasil (1)
- # clojure-conj (1)
- # clojure-europe (27)
- # clojure-italy (17)
- # clojure-nl (11)
- # clojure-norway (2)
- # clojure-spec (41)
- # clojure-uk (39)
- # clojuredesign-podcast (2)
- # clojurescript (22)
- # clojutre (14)
- # community-development (24)
- # cursive (6)
- # data-science (1)
- # datomic (38)
- # duct (3)
- # figwheel-main (8)
- # fulcro (34)
- # funcool (8)
- # jackdaw (3)
- # jobs (2)
- # off-topic (84)
- # pathom (3)
- # re-frame (4)
- # shadow-cljs (8)
- # tools-deps (5)
- # vim (7)
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
When this is called: https://github.com/clojure-emacs/orchard/blob/master/src/orchard/java/legacy_parser.clj#L70
Should the whole function be wrapped into try-catch Error or is there something else to do about it?
@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.
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.
And only if I do that as a boot repl hook. It's very convoluted:) And doesn't reproduce in other cases.
Orchard has two different parsers - one for JDK 8 and one that’s modules aware for JDK 9+.
As the legacy parser has been around for a very long time I’m always surprised to see some new issue report for it.
I'll try to work a bit more with this, see if I can make a small reproducible case. Thanks meanwhile
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?
Perhaps ask in #spacemacs channel