Transient MissingResourceException when using annotation processor

Description

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.

Environment

  • Travis CI

  • Ubuntu 14.04.5 LTS

  • javac 1.8.0_151

  • Apache Maven 3.5.3

Activity

Show:
Guillaume Smet
September 25, 2018, 9:35 AM

OK, thanks. It really looks like the JDK issue above so let's hope it's all fixed now.

Stephan Schroevers
September 25, 2018, 9:34 AM

Hi , no worries!

Unfortunately our internal build is not yet fully JDK 9+ compatible, so we can't use oraclejdk10 yet. But I am working on taking away the various hurdles that prevent us from upgrading to JDK 11. Hope to complete that in the next few weeks (it's a side project ). I'll report back once we have completed that task.

Guillaume Smet
September 25, 2018, 8:52 AM

Hi ,

Sorry about the delay, I was on vacation.

I don't think it's something we can fix ourselves unfortunately, it looks a lot like this issue https://bugs.openjdk.java.net/browse/JDK-8163449 mentioned in the other report you wrote about.

Could you try to upgrade your Travis build to use JDK 10 (by using oraclejdk10) and see if it reproduces?

Assignee

Unassigned

Reporter

Stephan Schroevers

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Affects versions

Priority

Major