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

  1. 1

    Application initial Activity

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

    I want to get text from radio button and store it in sqlite database but I am getting an error

    Stack Overflow | 2 months ago | veer
    java.lang.NullPointerException: Attempt to invoke virtual method 'int android.widget.RadioGroup.getCheckedRadioButtonId()' on a null object reference
  3. 0

    Acil yardım | Geleceği Yazanlar

    com.tr | 1 year ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.uygulama/com.uygulama.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setPadding(int, int, int, int)' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NullPointerException - Drawable.setBounds - probably due to fragment transitions

    Stack Overflow | 1 year ago | prom85
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.setBounds(int, int, int, int)' on a null object reference
  6. 0

    [ALPHA] [UNOFFICIAL] Xposed for Android 5.1 - v65 / 20150629 - Page 225 - XDA Forums

    xda-developers.com | 1 year ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.setBounds(int, int, int, int)' on a null object reference

    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