Gradle compileJava NPE (does not hang)

Hello,

At the moment I do not have a stack trace, but it occured at least twice in the last two weeks with Gradle 2.3 for colleges in our project, with using the daemon. The sympythom is as follows: change some dependencies, and the build. On rare occasions it throws a NUllPointerException (catched this both on Windows and Ubuntu), the stacktrace points to some internal Gradle modul. It just says that the compileJava task failed because of NullPointerException.

A clean, followed by a build does solve this. Once it comes back, I’ll provide a stack trace, but is there some known bug why this happens? More importantly why there is no real error message? :smile:

I’ll update this post with the stacktrace if the problem comes back.

but is there some known bug why this happens? More importantly why there is no real error message

Impossible to answer without the stack trace really.