This looks like the same bug indeed. The problem is it's random, can't be reproduced. So it's very hard to understand why deployment is failing.
This happens on resource changes, not pom.xml/dependency changes? Are you using the overlay feature?
If you know a way to reproduce the bug reliably, please let me know.