java.lang.RuntimeException: Unable to start activity ComponentInfo{applications.codegeek.com.goonline/applications.codegeek.com.goonline.HistoryActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String)' on a null object reference

Stack Overflow | S Kharbanda | 6 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

    Get text entered in EditText and show it in different Activity

    Stack Overflow | 6 months ago | S Kharbanda
    java.lang.RuntimeException: Unable to start activity ComponentInfo{applications.codegeek.com.goonline/applications.codegeek.com.goonline.HistoryActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String)' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String)' on a null object reference

      at applications.codegeek.com.goonline.HistoryActivity.onCreate()
    2. applications.codegeek.com
      HistoryActivity.onCreate
      1. applications.codegeek.com.goonline.HistoryActivity.onCreate(HistoryActivity.java:34)
      1 frame
    3. Android Platform
      ActivityThread.performLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:5990)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2311)
      3 frames