java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.testing.test/com.example.testing.test.MainActivity}: java.lang.NullPointerException

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 Stack Overflow by Mr.moayed
, 1 year ago
Unable to start activity ComponentInfo{com.example.testing.test/com.example.testing.test.MainActivity}: java.lang.NullPointerException
via Stack Overflow by Mina Dahesh
, 7 months ago
Unable to start activity ComponentInfo{...LogActivity}: java.lang.NullPointerException
via unity3d.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{*.*.*/com.unity3d.player.UnityPlayerNativeActivity}: java.lang.NullPointerException
via Stack Overflow by Rabia Mehmood
, 2 years ago
Unable to start activity ComponentInfo{com.example.app/com.example.app.Home1}: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.app/com.example.app.CameraList}: java.lang.NullPointerException
via Stack Overflow by Didzseeker
, 9 months ago
Unable to start activity ComponentInfo{com.android.settings/com.android.settings.MiniromTebEktipiti}: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.Settings}: java.lang.NullPointerException
via GitHub by syedalinaqi
, 7 months ago
Unable to start activity ComponentInfo{com.ITAN.cinematheque/com.ITAN.cinematheque.activities.MainActivity}: java.lang.NullPointerException
java.lang.NullPointerException:
at com.example.testing.test.MainActivityFragment.JsonAppShowData(MainActivityFragment.java:92)
at com.example.testing.test.MainActivityFragment.onActivityCreated(MainActivityFragment.java:58)
at android.support.v4.app.Fragment.performActivityCreated(Fragment.java:2089)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1133)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1290)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1272)
at android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:2149)
at android.support.v4.app.FragmentController.dispatchActivityCreated(FragmentController.java:201)
at android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:178)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1188)
at android.app.Activity.performStart(Activity.java:5382)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.