Skip to content
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

Sbt hangs at loading global plugins #1251

Closed
gkossakowski opened this issue Apr 10, 2014 · 1 comment
Closed

Sbt hangs at loading global plugins #1251

gkossakowski opened this issue Apr 10, 2014 · 1 comment
Labels
Milestone

Comments

@gkossakowski
Copy link
Contributor

Sbt 0.13.5-SNAPSHOT hangs while loading global plugins. An empty project is enough to reproduce it:

Grzegorzs-MacBook-Pro:sbt-empty grek$ echo "sbt.version=0.13.5-SNAPSHOT" > project/build.properties
Grzegorzs-MacBook-Pro:sbt-empty grek$ sbt
[info] Loading global plugins from /Users/grek/.sbt/0.13/plugins
// hangs here

I attached the profiler and noticed that it hangs in EvaluateTask.runTask method. It recurses by accident: wrong overload is chosen. The fix is on its way.

@gkossakowski gkossakowski added this to the 0.13.5 milestone Apr 10, 2014
@jsuereth
Copy link
Member

Thanks @gkossakowski !

gkossakowski added a commit to gkossakowski/sbt that referenced this issue Apr 10, 2014
The deprecated method should forward to the other overloaded alternative
but it recursed instead.

This kind of mistake would be easily caught by linter warning about
unused `newConfig` local variable. I hope we'll get there some day.

Fixes sbt#1251
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants