java.lang.IllegalStateException: Observer com.diegocarloslima.fgelv.lib.FloatingGroupExpandableListView$6@52a1d58c was not registered.

GitHub | shekibobo | 3 years 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

    IllegalStateException because FloatingGroupExpandableListView was never registered

    GitHub | 3 years ago | shekibobo
    java.lang.IllegalStateException: Observer com.diegocarloslima.fgelv.lib.FloatingGroupExpandableListView$6@52a1d58c was not registered.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Observer com.diegocarloslima.fgelv.lib.FloatingGroupExpandableListView$6@52a1d58c was not registered.

      at android.database.Observable.unregisterObserver()
    2. Android Platform
      BaseExpandableListAdapter.unregisterDataSetObserver
      1. android.database.Observable.unregisterObserver(Observable.java:69)
      2. android.widget.BaseExpandableListAdapter.unregisterDataSetObserver(BaseExpandableListAdapter.java:42)
      2 frames
    3. com.diegocarloslima.fgelv
      FloatingGroupExpandableListView.onDetachedFromWindow
      1. com.diegocarloslima.fgelv.lib.WrapperExpandableListAdapter.unregisterDataSetObserver(WrapperExpandableListAdapter.java:29)
      2. com.diegocarloslima.fgelv.lib.FloatingGroupExpandableListView.onDetachedFromWindow(FloatingGroupExpandableListView.java:195)
      2 frames
    4. Android Platform
      ActivityThread.main
      1. android.view.View.dispatchDetachedFromWindow(View.java:12620)
      2. android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2587)
      3. android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:2585)
      4. android.view.ViewGroup.removeViewInternal(ViewGroup.java:3845)
      5. android.view.ViewGroup.removeViewInternal(ViewGroup.java:3818)
      6. android.view.ViewGroup.removeView(ViewGroup.java:3750)
      7. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:983)
      8. android.app.FragmentManagerImpl.removeFragment(FragmentManager.java:1167)
      9. android.app.BackStackRecord.run(BackStackRecord.java:641)
      10. android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447)
      11. android.app.FragmentManagerImpl$1.run(FragmentManager.java:443)
      12. android.os.Handler.handleCallback(Handler.java:733)
      13. android.os.Handler.dispatchMessage(Handler.java:95)
      14. android.os.Looper.loop(Looper.java:136)
      15. android.app.ActivityThread.main(ActivityThread.java:5017)
      15 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
      2 frames
    7. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame