-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
clj-kondo fails with No maching field found: getMessage for class java.lang.NullPointerException
when initializing cache
#61
Comments
No maching field found: getMessage for class java.lang.NullPointerException
when initializing cache in No maching field found: getMessage for class java.lang.NullPointerException
when initializing cache
Three issues: Cannot use clojure.stracktrace/print-stack-trace with GraalVM: https://dev.clojure.org/jira/browse/CLJ-2502 Second issue was a NullPointer exception: Third issue: clj-kondo has trouble parsing the defn forms in https://github.com/tonsky/datascript/blob/master/src/datascript/db.cljc#L34. clj-kondo handles this gracefully by just ignoring them, but I'll take a look why this is the case. |
@jumarko Thanks for the report and trying out clj-kondo. Can you try this out before I'll merge to master? |
@borkdude thanks for the super-fast response! |
Fixed with bf14173 |
I've just installed clj-kondo via homebrew on my Mac OS X (10.14.3) and tried to run it on a closed-source project (fairly non-trivial with lots of dependencies) but cache initialization fails after a while with the following error:
I tried the same on my clojure-experiments public project and it fails again with the same error
I've tried both Java 8 and Java 11 => the same result.
I've got a bunch of extra dependencies in my ~/.lein/profiles.clj so I thought they may affect it too.
However, I ran this using only base lein profile and the result is again the same:
The text was updated successfully, but these errors were encountered: