-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
ExceptionInInitializerError in Clojure 1.9 #91
Comments
I've found the behavior difference like following. git clone https://github.com/clojure-emacs/orchard
cd orchard
rm -rf ~/.m2/repository/cider/orchard/0.5.9 && lein with-profile +1.10 install
## => No problem
rm -rf ~/.m2/repository/cider/orchard/0.5.9 && lein install
## => ERROR So it may be mistaken in createing deployed JAR file. |
Hmm, that's pretty weird. I cut the release just as I always did (just a |
It seems something's wrong with the CI and it hasn't been triggering for a few days - https://circleci.com/gh/clojure-emacs/orchard/tree/master I get a bunch of local failures as well, and I assume they are related to #89 by @arichiardi, as it this was the only notable change recently. |
Oh, I was misunderstanding that you were using |
I had forgotten it even exists. I do use Btw, are you getting lots of failing tests when doing |
No errors in orchard itself.
On the other hand, I'm getting failures in |
Weird. I keep getting 11 errors (mostly to do with Java class/members info) with and without #89. |
Anyways, I can reproduce your problem but I still have no idea what causes it. I tried reverting #89, but I still get this error and there no other material commits in this release (or at least none of them seems related to me). I'll keep digging. |
Oh strange, I will also try to see what's going on. It definitely seems unrelated as a first glance... Will also report back. |
In clojars, 0.5.9 depends on clojure 1.10.1 while other versions not. Could it be relevant? |
Yeah, this seems like something that could be relevant, but the dependencies of the project haven't been changed in 0.5.8. Clojure is supposed to be a provided dependency, not an explicit dependency. I'm wondering if that's not some bug in Lein 2.9.3, as I think I've recently upgraded to it. |
I'm now pretty sure that @liquidz is right and the extra dep is breaking things, but I still can't think of anything that might be causing this other than might suggestion about a Lein bug. Any help/ideas would be welcome! |
@clojure-emacs/cider Can someone with an older Lein try a make install and check the generated pom.xml in the jar? |
I can confirm that downgrading to Lein 2.9.1 fixed this. I've issued 0.5.10 that works just fine, but I guess I'll also have to report this issue upstream. I have no idea which change in Lein caused it. |
Thanks! |
I've reported the issue upstream to Leiningen. Hopefully someone will be able to track down the exact problem. |
The Leiningen issue (technomancy/leiningen#2687) was just fixed in technomancy/leiningen@8fb39db Long story short - composite profiles are incompatible with |
Expected behavior
REPL starts with Orchard 0.5.9 and Clojure 1.9.0 normally.
Actual behavior
Steps to reproduce the problem
lein new foo
cd foo
Environment & Version information
Clojure version
1.9.0
Java version
1.8
Operating system
macOS Catalina
The text was updated successfully, but these errors were encountered: