java.lang.ClassCastException: android.support.design.widget.CoordinatorLayout$LayoutParams cannot be cast to android.widget.RelativeLayout$LayoutParams

GitHub | timrae | 2 months ago
  1. 0

    GitHub comment 4451#252806908

    GitHub | 2 months ago | timrae
    java.lang.ClassCastException: android.support.design.widget.CoordinatorLayout$LayoutParams cannot be cast to android.widget.RelativeLayout$LayoutParams
  2. 0

    ViewPager within AppBarLayout does not work?

    Stack Overflow | 1 year ago | tgalfer
    java.lang.ClassCastException: android.widget.FrameLayout$LayoutParams cannot be cast to android.support.design.widget.CoordinatorLayout$LayoutParams
  3. 0

    How to solve ClassCastException for LinearLayout.LayoutParams vs CoordinatorLayout.LayoutParams

    Stack Overflow | 3 months ago | Daniel Loaiza
    java.lang.ClassCastException: android.widget.LinearLayout$LayoutParams cannot be cast to android.support.design.widget.CoordinatorLayout$LayoutParams
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Class cast exception

    GitHub | 2 months ago | Stanly-Mindssoft
    java.lang.ClassCastException: android.support.design.widget.AppBarLayout$LayoutParams cannot be cast to android.support.design.widget.CoordinatorLayout$LayoutParams
  6. 0

    Upgrade Android Support library to 24.2.0 makes my app crash

    Stack Overflow | 3 months ago | maohieng
    java.lang.ClassCastException: android.view.ViewGroup$LayoutParams cannot be cast to android.support.design.widget.CoordinatorLayout$LayoutParams

    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

      android.support.design.widget.CoordinatorLayout$LayoutParams cannot be cast to android.widget.RelativeLayout$LayoutParams

      at com.ichi2.anki.AbstractFlashcardViewer.initLayout()
    2. com.ichi2.anki
      AnkiActivity.onLoadFinished
      1. com.ichi2.anki.AbstractFlashcardViewer.initLayout(AbstractFlashcardViewer.java:1439)
      2. com.ichi2.anki.AbstractFlashcardViewer.onCollectionLoaded(AbstractFlashcardViewer.java:889)
      3. com.ichi2.anki.Reviewer.onCollectionLoaded(Reviewer.java:98)
      4. com.ichi2.anki.AnkiActivity.onLoadFinished(AnkiActivity.java:286)
      5. com.ichi2.anki.AnkiActivity.onLoadFinished(AnkiActivity.java:42)
      5 frames