# Kapt "IllegalStateException: failed to analyze" when encountering a large amount of errors

**URL:** <https://discuss.kotlinlang.org/t/kapt-illegalstateexception-failed-to-analyze-when-encountering-a-large-amount-of-errors/5184>\
**Category:** Android\
**Created:** [October 30, 2017, 5:44pm UTC](https://discuss.kotlinlang.org/t/kapt-illegalstateexception-failed-to-analyze-when-encountering-a-large-amount-of-errors/5184 "2017-10-30T17:44:42Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![austynm](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@austynm](https://discuss.kotlinlang.org/u/austynm)\
**Post date:** [November 3, 2017, 12:32am UTC](https://discuss.kotlinlang.org/t/kapt-illegalstateexception-failed-to-analyze-when-encountering-a-large-amount-of-errors/5184/5 "2017-11-03T00:32:03Z")

</div>

I spoke with @orangy at KotlinConf today and he suggested I ping @yanex about this issue.

I also spoke with @yeet and he confirmed he has seen a similar issue before, but the fix he had did not work in this case.

Looks like a few other people are encountering the same thing:

> [@Kapt issues with DataBinding](https://discuss.kotlinlang.org/t/kapt-issues-with-databinding/5064/):
>
> \*Binding classes are not generated and I get an Execution failed for task “app:kaptDebugKotlin” error. It may be an issue with other libraries in my app, but i am unable to reach to the point of failure. Following libraries are currently used in project: Dagger 2 RxJava 2 Databinding Kotlin Butterknife Groupie (from lisawray) I made some changes to add dagger.android support, and now i am unable to run the project and the error shows: e: public class OrderBookItem extends Item { e: …

---

_[View the full topic](https://discuss.kotlinlang.org/t/kapt-illegalstateexception-failed-to-analyze-when-encountering-a-large-amount-of-errors/5184)._
