10-19 20:15:28.570: E/AndroidRuntime(612): java.lang.IllegalStateException: Fragment SuperAwesomeCardFragment{430a5280} is not currently in the FragmentManager
10-19 20:15:28.570: E/AndroidRuntime(612): at android.support.v4.app.FragmentManagerImpl.putFragment(FragmentManager.java:516)
10-19 20:15:28.570: E/AndroidRuntime(612): at android.support.v4.app.FragmentStatePagerAdapter.saveState(FragmentStatePagerAdapter.java:185)
10-19 20:15:28.570: E/AndroidRuntime(612): at android.support.v4.view.ViewPager.onSaveInstanceState(ViewPager.java:1072)
10-19 20:15:28.570: E/AndroidRuntime(612): at android.view.View.dispatchSaveInstanceState(View.java:10010)
10-19 20:15:28.570: E/AndroidRuntime(612): at android.view.ViewGroup.dispatchSaveInstanceState(ViewGroup.java:2304)
10-19 20:15:28.570: E/AndroidRuntime(612): at android.view.ViewGroup.dispatchSaveInstanceState(ViewGroup.java:2310)
10-19 20:15:28.570: E/AndroidRuntime(612): at android.view.ViewGroup.dispatchSaveInstanceState(ViewGroup.java:2310)
10-19 20:15:28.570: E/AndroidRuntime(612): at android.view.ViewGroup.dispatchSaveInstanceState(ViewGroup.java:2310)
10-19 20:15:28.570: E/AndroidRuntime(612): at android.view.ViewGroup.dispatchSaveInstanceState(ViewGroup.java:2310)
10-19 20:15:28.570: E/AndroidRuntime(612): at android.view.ViewGroup.dispatchSaveInstanceState(ViewGroup.java:2310)
10-19 20:15:28.570: E/AndroidRuntime(612): at android.view.ViewGroup.dispatchSaveInstanceStat
I am getting this error. and then I am using tab activity whenever I change from frament or viewpager activity to move other activity to show this error from logcat. How to avoid this error ? Thanks in advance.