java.lang.ClassCastException: android.widget.FrameLayout cannot be cast to android.widget.LinearLayout

GitHub | hypest | 3 months ago
  1. 0

    ClassCastException bailing from SiteSettingsFragment

    GitHub | 3 months ago | hypest
    java.lang.ClassCastException: android.widget.FrameLayout cannot be cast to android.widget.LinearLayout
  2. 0

    Classcast Exception 1.0.3 - LinearLayout to FrameLayout on SlideMenu.show()

    GitHub | 4 years ago | gubatron
    java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.widget.FrameLayout
  3. 0

    ClassCastException in PreferenceActivity with Android N Preview

    Stack Overflow | 7 months ago | S.P.
    java.lang.ClassCastException: android.widget.FrameLayout cannot be cast to android.widget.LinearLayout
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Crash report 5.4.2: ClassCastException in WPActivityUtils.addToolbarToDialog

    GitHub | 6 months ago | maxme
    java.lang.ClassCastException: android.widget.FrameLayout cannot be cast to android.widget.LinearLayout
  6. 0

    java.lang.ClassCastException: android.widget.LinearLayout$LayoutParams cannot be cast to android.widget.FrameLayout

    Stack Overflow | 3 years ago | Abdellah
    java.lang.ClassCastException: android.widget.LinearLayout$LayoutParams cannot be cast to android.widget.FrameLayout$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.widget.FrameLayout cannot be cast to android.widget.LinearLayout

      at org.wordpress.android.util.WPActivityUtils.removeToolbarFromDialog()
    2. org.wordpress.android
      SiteSettingsFragment.onSaveInstanceState
      1. org.wordpress.android.util.WPActivityUtils.removeToolbarFromDialog(WPActivityUtils.java:78)
      2. org.wordpress.android.ui.prefs.SiteSettingsFragment.removeMoreScreenToolbar(SiteSettingsFragment.java:1219)
      3. org.wordpress.android.ui.prefs.SiteSettingsFragment.onSaveInstanceState(SiteSettingsFragment.java:337)
      3 frames
    3. Android Platform
      Activity.onSaveInstanceState
      1. android.app.Fragment.performSaveInstanceState(Fragment.java:2514)
      2. android.app.FragmentManagerImpl.saveFragmentBasicState(FragmentManager.java:1763)
      3. android.app.FragmentManagerImpl.saveAllState(FragmentManager.java:1820)
      4. android.app.FragmentController.saveAllState(FragmentController.java:112)
      5. android.app.Activity.onSaveInstanceState(Activity.java:1485)
      5 frames
    4. Android Support v4
      FragmentActivity.onSaveInstanceState
      1. android.support.v4.app.FragmentActivity.onSaveInstanceState(FragmentActivity.java:567)
      1 frame
    5. Android v7
      AppCompatActivity.onSaveInstanceState
      1. android.support.v7.app.AppCompatActivity.onSaveInstanceState(AppCompatActivity.java:511)
      1 frame
    6. Android Platform
      ActivityThread.handleStopActivity
      1. android.app.Activity.performSaveInstanceState(Activity.java:1414)
      2. android.app.Instrumentation.callActivityOnSaveInstanceState(Instrumentation.java:1300)
      3. android.app.ActivityThread.callCallActivityOnSaveInstanceState(ActivityThread.java:4505)
      4. android.app.ActivityThread.performStopActivityInner(ActivityThread.java:3827)
      5. android.app.ActivityThread.handleStopActivity(ActivityThread.java:3886)
      5 frames