Build fails systematically with "org.gradle.listener.ListenerNotificationException: Failed to notify build listener"


My Gradle build is failing systematically, for any task when I run a gradle task on a subproject (either in the subproject directory or from the root project) - see

Any ideas?


What’s the Gradle version you are using? Do you define any BuildListeners in your build? Any chance you can point me to your project on GitHub?

Gradle 2.1. I tried deleting the .gradle directory in my home folder, and that seemed to solve the problem, so it might have been a corrupted repository issue