java.lang.ClassCastException: com.myapp.app.usecases.UseCase1 cannot be cast to com.myapp.app.usecases.UseCase2

Google Groups | loeschg | 2 months ago
  1. 0

    ClassCastException with Dagger2 and Android Gradle 2.2.0 plugin

    Google Groups | 2 months ago | loeschg
    java.lang.ClassCastException: com.myapp.app.usecases.UseCase1 cannot be cast to com.myapp.app.usecases.UseCase2
  2. 0

    Memcached Java客户端2.6.1发布 - 编程语言 - ITeye资讯

    iteye.com | 1 year ago
    java.lang.ClassCastException: cannot be cast to
  3. 0

    cannot be cast to javax.servlet.Filter | Oracle Community

    oracle.com | 8 months ago
    java.lang.ClassCastException: cannot be cast to javax.servlet.Filter
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to authenticate Azure Mobile Services in Android Service

    Stack Overflow | 2 years ago | Neil
    java.lang.ClassCastException: *** cannot be cast to android.app.Activity
  6. 0

    adam2vcf

    Google Groups | 8 months ago | someya sayeh
    java.lang.ClassCastException: org.bdgenomics.formats.avro.Fragment cannot be cast to

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.myapp.app.usecases.UseCase1 cannot be cast to com.myapp.app.usecases.UseCase2

      at com.myapp.app.di.module.UserModule_UseCase2Factory.get()
    2. com.myapp.app
      UserModule_UseCase2Factory.get
      1. com.myapp.app.di.module.UserModule_UseCase2Factory.get(UserModule_UseCase2Factory.java:28)
      2. com.myapp.app.di.module.UserModule_UseCase2Factory.get(UserModule_UseCase2Factory.java:10)
      2 frames
    3. Dagger
      DoubleCheck.get
      1. dagger.internal.DoubleCheck.get(DoubleCheck.java:47)
      1 frame
    4. com.myapp.app
      MarketActivity.onCreate
      1. com.myapp.app.di.module.UserModule_SignedInPresenterFactory.get(UserModule_SignedInPresenterFactory.java:69)
      2. com.myapp.app.di.module.UserModule_SignedInPresenterFactory.get(UserModule_SignedInPresenterFactory.java:16)
      3. com.myapp.app.BaseSignedInActivity_MembersInjector.injectPresenter(BaseSignedInActivity_MembersInjector.java:44)
      4. com.myapp.app.Market.MarketActivity_MembersInjector.injectMembers(MarketActivity_MembersInjector.java:40)
      5. com.myapp.app.Market.MarketActivity_MembersInjector.injectMembers(MarketActivity_MembersInjector.java:9)
      6. com.myapp.app.di.DaggerUserComponent.inject(DaggerUserComponent.java:993)
      7. com.myapp.app.Market.MarketActivity.inject(MarketActivity.java:149)
      8. com.myapp.app.BaseSignedInActivity.onCreate(BaseSignedInActivity.java:59)
      9. com.myapp.app.Market.MarketActivity.onCreate(MarketActivity.java:57)
      9 frames
    5. Android Platform
      Instrumentation.callActivityOnCreate
      1. android.app.Activity.performCreate(Activity.java:5990)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
      2 frames
    6. android.support.test
      MonitoringInstrumentation.callActivityOnCreate
      1. android.support.test.runner.MonitoringInstrumentation.callActivityOnCreate(MonitoringInstrumentation.java:532)
      1 frame
    7. Android Platform
      ActivityThread.main
      1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
      2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
      3. android.app.ActivityThread.access$800(ActivityThread.java:151)
      4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
      5. android.os.Handler.dispatchMessage(Handler.java:102)
      6. android.os.Looper.loop(Looper.java:135)
      7. android.app.ActivityThread.main(ActivityThread.java:5254)
      7 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    9. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
      2 frames