java.lang.RuntimeException

Unable to start activity ComponentInfo{scarycat.promotertools/scarycat.promotertools.Artists}: java.lang.NullPointerException

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web39032

  • Unable to start activity ComponentInfo{scarycat.promotertools/scarycat.promotertools.Artists}: java.lang.NullPointerException
  • Unable to start activity ComponentInfo{Activity}: java.lang.NullPointerException
  • Unable to start activity ComponentInfo{Activity}: java.lang.NullPointerException
  • Stack trace

    • java.lang.RuntimeException: Unable to start activity ComponentInfo{scarycat.promotertools/scarycat.promotertools.Artists}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2237) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2286) at android.app.ActivityThread.access$800(ActivityThread.java:144) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1246) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:212) at android.app.ActivityThread.main(ActivityThread.java:5137) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:902) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:718) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.NullPointerException at android.content.ContextWrapper.getResources(ContextWrapper.java:89) at android.view.ContextThemeWrapper.getResources(ContextThemeWrapper.java:78) at android.support.v7.app.AppCompatActivity.getResources(AppCompatActivity.java:542) at android.view.View.<init>(View.java:3569) at android.view.ViewGroup.<init>(ViewGroup.java:459) at android.widget.LinearLayout.<init>(LinearLayout.java:168) at android.widget.TableRow.<init>(TableRow.java:61) at scarycat.promotertools.Artists.PopulateArtist(Artists.java:112) at scarycat.promotertools.DatabaseController.getArtists(DatabaseController.java:53) at scarycat.promotertools.Artists.onCreate(Artists.java:55) at android.app.Activity.performCreate(Activity.java:5231) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2201)

    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

    5 times, 6 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    2 times, 1 year ago
    4 more bugmates