question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Builds non-deterministically fail with "Couldn't generate classes"

See original GitHub issue

We 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:closed
  • Created 6 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
vRallevcommented, Oct 24, 2017

I’ll be in London starting tomorrow. I plan to release a new version asap, but not before Monday next week.

1reaction
seanabrahamcommented, Oct 23, 2017

Thanks, I’ll give it a shot and report back if I can get another failure

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found