We have just integrated hibernate-validator-annotation-processor into our build. Since then some of our Travis CI builds have started to fail randomly. A representative stack trace is the following:
(The stacktrace is not quite complete; this is probably due to Travis CI not retaining the last bit of output after receiving an error signal.)
A Google search turns up one other report of this issue. There the users decided to drop the annotation processor; we'd rather not do that.
We have a rather complicated Maven setup and since it's all private code I cannot share a simple reproduction case, but the maven-compiler-plugin configuration effectively amounts to the following:
Our Travis CI build uses mvn -T 2; this concurrency aspect may be relevant.
Ubuntu 14.04.5 LTS
Apache Maven 3.5.3