java.lang.IllegalStateException: Cannot add header view to grid -- setAdapter has already been called.

GitHub | Bugsbane | 5 months ago
  1. 0

    App crashes regularly (connecting to ownCloud 9.0.2 )

    GitHub | 5 months ago | Bugsbane
    java.lang.IllegalStateException: Cannot add header view to grid -- setAdapter has already been called.
  2. 0

    IllegalStateException in GridView

    GitHub | 11 months ago | cornzy
    java.lang.IllegalStateException: Cannot add header view to grid -- setAdapter has already been called.
  3. 0

    Run time exception in the code

    Stack Overflow | 2 years ago
    java.lang.IllegalStateException: Cannot add header view to list -- setAdapter has already been called.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to start activity ComponentInfo{br.liveo.ndrawer/br.liveo.ndrawer.MainActivity}: java.lang.IllegalStateException: Cannot add header view to list -- setAdapter has already been called.

    GitHub | 2 years ago | qferiz
    java.lang.RuntimeException: Unable to start activity ComponentInfo{br.liveo.ndrawer/br.liveo.ndrawer.MainActivity}: java.lang.IllegalStateException: Cannot add header view to list -- setAdapter has already been called.
  6. 0

    GitHub comment 57#108299103

    GitHub | 2 years ago | rudsonlive
    java.lang.IllegalStateException: Cannot add header view to list -- setAdapter has already been called.

    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.IllegalStateException

      Cannot add header view to grid -- setAdapter has already been called.

      at third_parties.in.srain.cube.GridViewWithHeaderAndFooter.addFooterView()
    2. third_parties.in.srain
      GridViewWithHeaderAndFooter.addFooterView
      1. third_parties.in.srain.cube.GridViewWithHeaderAndFooter.addFooterView(GridViewWithHeaderAndFooter.java:183)
      1 frame
    3. com.owncloud.android
      FileDisplayActivity.onOptionsItemSelected
      1. com.owncloud.android.ui.fragment.ExtendedListFragment.setFooterEnabled(ExtendedListFragment.java:533)
      2. com.owncloud.android.ui.fragment.ExtendedListFragment.setFooterText(ExtendedListFragment.java:559)
      3. com.owncloud.android.ui.fragment.OCFileListFragment.updateLayout(OCFileListFragment.java:855)
      4. com.owncloud.android.ui.fragment.OCFileListFragment.listDirectory(OCFileListFragment.java:830)
      5. com.owncloud.android.ui.fragment.OCFileListFragment.onBrowseUp(OCFileListFragment.java:541)
      6. com.owncloud.android.ui.activity.FileDisplayActivity.onBackPressed(FileDisplayActivity.java:857)
      7. com.owncloud.android.ui.activity.FileDisplayActivity.onOptionsItemSelected(FileDisplayActivity.java:560)
      7 frames
    4. Android Platform
      Activity.onMenuItemSelected
      1. android.app.Activity.onMenuItemSelected(Activity.java:3137)
      1 frame
    5. Android Support v4
      FragmentActivity.onMenuItemSelected
      1. android.support.v4.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:361)
      1 frame
    6. Android v7
      ToolbarWidgetWrapper$1.onClick
      1. android.support.v7.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:147)
      2. android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:100)
      3. android.support.v7.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:100)
      4. android.support.v7.widget.ToolbarWidgetWrapper$1.onClick(ToolbarWidgetWrapper.java:194)
      4 frames
    7. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:5254)
      2. android.view.View$PerformClick.run(View.java:21173)
      3. android.os.Handler.handleCallback(Handler.java:739)
      4. android.os.Handler.dispatchMessage(Handler.java:95)
      5. android.os.Looper.loop(Looper.java:145)
      6. android.app.ActivityThread.main(ActivityThread.java:6838)
      6 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:1404)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
      2 frames