java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.support.v4.app.FragmentHostCallback.getContext()' on a null object reference at android.support.v4.app.FragmentState.instantiate(Fragment.java:100) at android.support.v4.app.FragmentManagerImpl.restoreAllState(FragmentManager.java:2047) at android.support.v4.app.Fragment.restoreChildFragmentState(Fragment.java:1278) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1053) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1268) at android.support.v4.app.FragmentManagerImpl.dispatchCreate(FragmentManager.java:2138) at android.support.v4.app.FragmentController.dispatchCreate(FragmentController.java:190) at android.support.v4.app.FragmentActivity.onCreate(FragmentActivity.java:349) at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:85) at com.helpshift.activities.MainActivity.onCreate(MainActivity.java:13) at com.helpshift.support.activities.ParentActivity.onCreate(ParentActivity.java:21) at android.app.Activity.performCreate(Activity.java:6876) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3207) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3350) at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:5387) at android.app.ActivityThread.access$1200(ActivityThread.java:222) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1801) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:158) at android.app.ActivityThread.main(ActivityThread.java:7229) at java.lang.reflect.Method.invoke(Method.java) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
No Bugmate found.