java.lang.ClassCastException: android.support.v7.widget.RecyclerView cannot be cast to android.widget.LinearLayout

GitHub | nbradbury | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 4084#232099614

    GitHub | 10 months ago | nbradbury
    java.lang.ClassCastException: android.support.v7.widget.RecyclerView cannot be cast to android.widget.LinearLayout

    Root Cause Analysis

    1. java.lang.ClassCastException

      android.support.v7.widget.RecyclerView cannot be cast to android.widget.LinearLayout

      at org.wordpress.android.ui.publicize.PublicizeAccountChooserDialogFragment.hideConnectedView()
    2. org.wordpress.android
      PublicizeAccountChooserDialogFragment.onCreateDialog
      1. org.wordpress.android.ui.publicize.PublicizeAccountChooserDialogFragment.hideConnectedView(PublicizeAccountChooserDialogFragment.java:77)
      2. org.wordpress.android.ui.publicize.PublicizeAccountChooserDialogFragment.configureRecyclerViews(PublicizeAccountChooserDialogFragment.java:70)
      3. org.wordpress.android.ui.publicize.PublicizeAccountChooserDialogFragment.onCreateDialog(PublicizeAccountChooserDialogFragment.java:48)
      3 frames
    3. Android Support v4
      DialogFragment.getLayoutInflater
      1. android.support.v4.app.DialogFragment.getLayoutInflater(DialogFragment.java:307)
      1 frame