java.lang.ClassCastException: com.wdullaer.materialdatetimepicker.date.AccessibleDateAnimator cannot be cast to com.borax12.materialdaterangepicker.date.AccessibleDateAnimator

GitHub | ragunathjawahar | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Crash when the library is used along with wdullaer/MaterialDateTimePicker

    GitHub | 8 months ago | ragunathjawahar
    java.lang.ClassCastException: com.wdullaer.materialdatetimepicker.date.AccessibleDateAnimator cannot be cast to com.borax12.materialdaterangepicker.date.AccessibleDateAnimator

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.wdullaer.materialdatetimepicker.date.AccessibleDateAnimator cannot be cast to com.borax12.materialdaterangepicker.date.AccessibleDateAnimator

      at com.borax12.materialdaterangepicker.date.DatePickerDialog.onCreateView()
    2. com.borax12.materialdaterangepicker
      DatePickerDialog.onCreateView
      1. com.borax12.materialdaterangepicker.date.DatePickerDialog.onCreateView(DatePickerDialog.java:371)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.app.Fragment.performCreateView(Fragment.java:2114)
      2. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:904)
      3. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1082)
      4. android.app.BackStackRecord.run(BackStackRecord.java:834)
      5. android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1469)
      6. android.app.FragmentManagerImpl$1.run(FragmentManager.java:452)
      7. android.os.Handler.handleCallback(Handler.java:739)
      8. android.os.Handler.dispatchMessage(Handler.java:95)
      9. android.os.Looper.loop(Looper.java:145)
      10. android.app.ActivityThread.main(ActivityThread.java:6946)
      10 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
      2 frames