java.lang.NullPointerException: Attempt to invoke virtual method 'int com.ichi2.ui.SeekBarPreference.getValue()' on a null object reference

GitHub | hssm | 2 months ago
  1. 0

    GitHub comment 4422#252122513

    GitHub | 2 months ago | hssm
    java.lang.NullPointerException: Attempt to invoke virtual method 'int com.ichi2.ui.SeekBarPreference.getValue()' on a null object reference
  2. 0

    GitHub comment 4200#207308322

    GitHub | 8 months ago | marcardar
    java.util.concurrent.ExecutionException: java.lang.NullPointerException: Attempt to invoke virtual method 'com.ichi2.libanki.Note com.ichi2.libanki.Card.note()' on a null object reference
  3. 0

    GitHub comment 4200#207308322

    GitHub | 8 months ago | marcardar
    java.lang.RuntimeException: An error occurred while executing doInBackground()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 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

    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 com.ichi2.ui.SeekBarPreference.getValue()' on a null object reference

      at com.ichi2.anki.Preferences.updatePreference()
    2. com.ichi2.anki
      Preferences$SettingsFragment.onSharedPreferenceChanged
      1. com.ichi2.anki.Preferences.updatePreference(Preferences.java:516)
      2. com.ichi2.anki.Preferences.access$300(Preferences.java:90)
      3. com.ichi2.anki.Preferences$SettingsFragment.onSharedPreferenceChanged(Preferences.java:812)
      3 frames
    3. Android Platform
      Preference.persistInt
      1. android.app.SharedPreferencesImpl$EditorImpl.notifyListeners(SharedPreferencesImpl.java:479)
      2. android.app.SharedPreferencesImpl$EditorImpl.apply(SharedPreferencesImpl.java:387)
      3. android.preference.Preference.tryCommit(Preference.java:1415)
      4. android.preference.Preference.persistInt(Preference.java:1545)
      4 frames
    4. com.ichi2.ui
      SeekBarPreference.setValue
      1. com.ichi2.ui.SeekBarPreference.setValue(SeekBarPreference.java:118)
      1 frame
    5. com.ichi2.anki
      Preferences$SettingsFragment.onCreate
      1. com.ichi2.anki.Preferences.initPreference(Preferences.java:428)
      2. com.ichi2.anki.Preferences.initAllPreferences(Preferences.java:387)
      3. com.ichi2.anki.Preferences.access$200(Preferences.java:90)
      4. com.ichi2.anki.Preferences$SettingsFragment.onCreate(Preferences.java:789)
      4 frames
    6. Android Platform
      ActivityThread.main
      1. android.app.Fragment.performCreate(Fragment.java:2335)
      2. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:949)
      3. android.app.BackStackRecord.setLastIn(BackStackRecord.java:857)
      4. android.app.BackStackRecord.calculateFragments(BackStackRecord.java:897)
      5. android.app.BackStackRecord.run(BackStackRecord.java:727)
      6. android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1578)
      7. android.app.FragmentManagerImpl$1.run(FragmentManager.java:483)
      8. android.os.Handler.handleCallback(Handler.java:751)
      9. android.os.Handler.dispatchMessage(Handler.java:95)
      10. android.os.Looper.loop(Looper.java:154)
      11. android.app.ActivityThread.main(ActivityThread.java:6077)
      11 frames
    7. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    8. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
      2 frames