java.lang.IllegalStateException

Observer com.rd.PageIndicatorView$2@e36873a was not registered.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web39

  • via GitHub by himanshug92
    ,
  • via GitHub by nadavfima
    ,
  • via Stack Overflow by Marss
    ,
  • Stack trace

    • java.lang.IllegalStateException: Observer com.rd.PageIndicatorView$2@e36873a was not registered. at android.database.Observable.unregisterObserver(Observable.java:69) at android.support.v4.view.PagerAdapter.unregisterDataSetObserver(PagerAdapter.java:305) at com.rd.PageIndicatorView.unRegisterSetObserver(PageIndicatorView.java:1114) at com.rd.PageIndicatorView.onDetachedFromWindow(PageIndicatorView.java:117) at android.view.View.dispatchDetachedFromWindow(View.java:14561) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3063) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3063) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3063) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3063) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3063) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3063) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3063) at android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3063) at android.view.ViewGroup.removeViewInternal(ViewGroup.java:4603) at android.view.ViewGroup.removeViewInternal(ViewGroup.java:4576) at android.view.ViewGroup.removeView(ViewGroup.java:4507) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1209) at android.support.v4.app.FragmentManagerImpl.removeFragment(FragmentManager.java:1387) at android.support.v4.app.BackStackRecord.popFromBackStack(BackStackRecord.java:982) at android.support.v4.app.FragmentManagerImpl.popBackStackState(FragmentManager.java:1737) at android.support.v4.app.FragmentManagerImpl.popBackStackImmediate(FragmentManager.java:605) at android.support.v4.app.FragmentActivity.onBackPressed(FragmentActivity.java:179) at com.example.activity.MainActivity.onBackPressed(MainActivity.java:486) at com.example.activity.MainActivity$2.onClick(MainActivity.java:253) at android.view.View.performClick(View.java:5204) at android.view.View$PerformClick.run(View.java:21153) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    MacaponMacapon
    14 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,