java.lang.RuntimeException: Unable to start activity ComponentInfo{bara.xyz/bara.xyz.MainActivity}: java.lang.NullPointerException

Stack Overflow | 1234 | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    NPE-andrioid quiz app

    Stack Overflow | 5 months ago | 1234
    java.lang.RuntimeException: Unable to start activity ComponentInfo{bara.xyz/bara.xyz.MainActivity}: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at bara.xyz.MainActivity.setQuestionView()
    2. bara.xyz
      MainActivity.onCreate
      1. bara.xyz.MainActivity.setQuestionView(MainActivity.java:70)
      2. bara.xyz.MainActivity.onCreate(MainActivity.java:36)
      2 frames
    3. Android Platform
      ActivityThread.performLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:5188)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2082)
      3 frames