# detekt

Sebastian Schuberth

12/07/2020, 5:03 PM
Hi, since the upgrade of my project to Kotlin 1.4.20 I'm getting very weird excpetions from detekt, like "Collection is empty", "configUrl must not be null", or "io/github/detekt/tooling/api/InvalidConfig". Has anyone else seen these?
To reproduce, run "./gradlew detekt" on


12/08/2020, 9:02 AM
I’ve just run the command you suggested on your branch, and it works fine for me.

Sebastian Schuberth

12/08/2020, 9:56 AM
wow. that's odd. thanks for trying, i'll also try on another machine.
did you use the "upgrades" branch?
indeed, it works also for me with the "upgrades" branch on another machine. probably my gradle cache is somehow messed up on the other machine. thanks!
I'm now able to reproduce it also on the machine where it worked before: I had org.gradle.parallel=true set globally, and if I set this on a project-level, detekt now fails on all my machines. I've upgraded the branch accordingly.
Looks like there already is an issue for this that I commented to: