java.lang.NullPointerException: Attempt to invoke virtual method 'int android.widget.RadioGroup.getCheckedRadioButtonId()' on a null object reference

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 1

    Application initial Activity

    Stack Overflow | 9 months ago | Иван Коданев
    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.widget.RadioGroup.getCheckedRadioButtonId()' on a null object reference
  2. 0

    Start

    GitHub | 11 months ago | Nerdatron101
    java.lang.NullPointerException: Attempt to read from field 'android.app.Activity android.app.ActivityThread$ActivityClientRecord.activity' on a null object reference
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'int android.widget.RadioGroup.getCheckedRadioButtonId()' on a null object reference

      at ru.j_soft.contact.MainActivity.onSaveInstanceState()
    2. ru.j_soft.contact
      MainActivity.onSaveInstanceState
      1. ru.j_soft.contact.MainActivity.onSaveInstanceState(MainActivity.java:392)
      1 frame
    3. Android Platform
      ActivityThread.handleStopActivity
      1. android.app.Activity.performSaveInstanceState(Activity.java:1298)
      2. android.app.Instrumentation.callActivityOnSaveInstanceState(Instrumentation.java:1289)
      3. android.app.ActivityThread.callCallActivityOnSaveInstanceState(ActivityThread.java:4088)
      4. android.app.ActivityThread.performStopActivityInner(ActivityThread.java:3490)
      5. android.app.ActivityThread.handleStopActivity(ActivityThread.java:3550)
      5 frames