OK. I'll capture more (stack traces, etc) next time. I've also seem issues (possibly the same issue?) where the kotlin compiler in the gradle daemon eventually gets confused about the state of compiled project classes on-disk and gets an EOFException reading them. This is also "solved" by restarting the gradle daemon.