This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-22
Channels
- # beginners (24)
- # boot (80)
- # braid-chat (11)
- # cider (89)
- # clara (11)
- # cljsfiddle (5)
- # cljsjs (9)
- # cljsrn (63)
- # clojure (114)
- # clojure-austin (1)
- # clojure-berlin (5)
- # clojure-brasil (4)
- # clojure-dusseldorf (5)
- # clojure-hamburg (17)
- # clojure-india (1)
- # clojure-new-zealand (3)
- # clojure-poland (1)
- # clojure-russia (91)
- # clojure-taiwan (1)
- # clojure-uk (54)
- # clojurebridge (3)
- # clojurescript (170)
- # core-matrix (1)
- # cursive (14)
- # datomic (8)
- # emacs (13)
- # hoplon (96)
- # immutant (20)
- # jobs (9)
- # jobs-rus (13)
- # kosmos (3)
- # off-topic (8)
- # om (111)
- # onyx (41)
- # parinfer (116)
- # pedestal (2)
- # proton (4)
- # re-frame (46)
- # reagent (7)
- # ring-swagger (24)
- # slack-help (2)
- # testing (1)
- # untangled (8)
Well, this is weird. I just started getting a KotlinReflectionNotSupportedError exception on both IDEA 15 and 2016.1 when I try to run lein tasks.
@ricardo: yeah, I thought this was a new issue in v2016.1 because people started reporting it right after the release, but it looks like it predates that.
@cfleming: I’m curious, what was the cause? I didn’t get it right after upgrading, but only until today, and it then showed up on both 15 and 2016.1, which had me thinking was an environment issue.
val logger: Logger = Logger.getInstance(LeiningenCommandLineState::class.simpleName)
The trick there is that LeiningenCommandLineState::class
returns a Kotlin class, not the Java class (I don’t fully understand the difference), and calling simpleName on the Kotlin one apparently requires the reflection classes.
Changing it to:
val logger: Logger = Logger.getInstance(LeiningenCommandLineState::class.java.simpleName)