java.lang.NullPointerException: Attempt to read from field 'int gun0912.tedbottompicker.c$a.n' on a null object reference


Solutions on the web1

Solution icon of github
via GitHub by GuillemRoca
, 4 months ago
Attempt to read from field 'int gun0912.tedbottompicker.c$a.n' on a null object reference

Stack trace

java.lang.NullPointerException: Attempt to read from field 'int gun0912.tedbottompicker.c$a.n' on a null object reference
	at gun0912.tedbottompicker.TedBottomPicker.show(Unknown Source)
	at android.support.v4.app.DialogFragment.getDialog(Unknown Source)
	at android.support.v4.app.FragmentManagerImpl.modifiesAlpha(Unknown Source)
	at android.support.v4.app.FragmentManagerImpl.getBackStackEntryCount(Unknown Source)
	at android.support.v4.app.FragmentManagerImpl.modifiesAlpha(Unknown Source)
	at android.support.v4.app.FragmentManagerImpl.findFragmentUnder(Unknown Source)
	at android.support.v4.app.FragmentController.dispatchActivityCreated(Unknown Source)
	at android.support.v4.app.FragmentActivity.onStart(Unknown Source)
	at android.support.v7.app.AppCompatActivity.onStart(Unknown Source)
	at com.Activity.onStart(Unknown Source)
	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1238)
	at android.app.Activity.performStart(Activity.java:6302)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
	at android.app.ActivityThread.access$900(ActivityThread.java:150)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:148)
	at android.app.ActivityThread.main(ActivityThread.java:5417)
	at java.lang.reflect.Method.invoke(Method.java)
	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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.