Builds non-deterministically fail with "Couldn't generate classes"
See original GitHub issueWe have a large, multi-module project (~80ish modules) and the javac annotation processing step occasionally fails when using android-state
with “error: Couldn’t generate classes”. There are many other annotation processors that also run without issue. They include Dagger, Epoxy, AutoValue, Butterknife, etc.
I’m assuming the error comes from here but I’m not clear on which line in the block is throwing the exception: https://github.com/evernote/android-state/blob/master/processor/src/main/java/com/evernote/android/state/StateProcessor.java#L467
Any thoughts or ideas for workarounds?
Issue Analytics
- State:
- Created 6 years ago
- Comments:12
Top Results From Across the Web
Jenkins Multi-Branch job fails for some branches
This branch failed to build in the multi-branch pipeline. As we know Windows does not care about case and so does not create...
Read more >Nondeterministic "No such file or directory" failure ... - GitHub
I'm randomly getting this error when trying to build my ... ... TaskStreams$class.log(Streams.scala:56) at sbt.std.
Read more >checkout scm fails silently after "Could not determine exact tip ...
Started by user R. Tyler Croy ERROR: Could not determine exact tip revision of defaults; falling back to nondeterministic checkout Checking out git ......
Read more >Tests that sometimes fail - Hacker News
Many of them only fail in 1-3% of cases, but if you have enough of them the chances of a failing build is...
Read more >Lint error: package fragment is not found for module ...
For example, in this case, failed this little data class: ... Build cache and daemon is disabled there. ... ERROR: Could not generate...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll be in London starting tomorrow. I plan to release a new version asap, but not before Monday next week.
Thanks, I’ll give it a shot and report back if I can get another failure