I am creating a simple application. while using my application, when i click home and go to another app and work for some time like 10 to 15 minutes.
When i get back to my app, its will show "unfortunately app stopped" message. And then app closes suddenly.
Exception Throws like this :
make sure class name exists, is public, and has an empty constructor that is public
at android.app.Fragment.instantiate(Fragment.java:601)
FragmentState.instantiate(Fragment.java:98)
FragmentManagerImpl.restoreAllState(FragmentManager.java:1759)
at ndroid.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2302)