Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Nikolay G., 1 year ago
Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.preference.PreferenceCategory.removePreference(android.preference.Preference)' on a null object reference
via JIRA by Nikolay G., 1 year ago
Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.preference.PreferenceCategory.removePreference(android.preference.Preference)' on a null object reference
via GitHub by Cr-cm
, 2 years ago
Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.preference.Preference.onPrepareForRemoval()' on a null object reference
via GitHub by ShevT
, 2 years ago
Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.preference.Preference.onPrepareForRemoval()' on a null object reference
via xda-developers.com by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.preference.Preference.onPrepareForRemoval()' on a null object reference
via cyanogenmod.org by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.preference.Preference.onPrepareForRemoval()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.preference.PreferenceCategory.removePreference(android.preference.Preference)' on a null object reference	at com.android.settings.WirelessSettings.onCreate(WirelessSettings.java:343)	at android.app.Fragment.performCreate(Fragment.java:2031)	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:863)	at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)	at android.app.BackStackRecord.run(BackStackRecord.java:834)	at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1452)	at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:483)	at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:998)	at com.android.settings.SettingsActivity.onCreate(SettingsActivity.java:601)	at android.app.Activity.performCreate(Activity.java:5990)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2311)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2420)	at android.app.ActivityThread.access$900(ActivityThread.java:154)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:135)	at android.app.ActivityThread.main(ActivityThread.java:5294)	at java.lang.reflect.Method.invoke(Native Method)	at java.lang.reflect.Method.invoke(Method.java:372)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)