java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.FragmentTransaction android.app.FragmentManager.beginTransaction()' on a null object reference

Stack Overflow | Adnan Sheikh | 2 months ago
  1. 0

    App Stops when using countdown timer

    Stack Overflow | 2 months ago | Adnan Sheikh
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.FragmentTransaction android.app.FragmentManager.beginTransaction()' on a null object reference
  2. 0

    NullPointerException: Attempt to invoke virtual method 'android.app.FragmentTransaction android.app.FragmentManager.beginTransaction()'

    Stack Overflow | 7 months ago | android_su
    java.lang.RuntimeException: Error receiving broadcast Intent { act=xxxx flg=0x10 (has extras) } in xxxxxx
  3. 0

    DialogFragment.show() throws NullPointerException

    Stack Overflow | 2 years ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.FragmentTransaction android.app.FragmentManager.beginTransaction()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Trying to replace main_activity fragment with another fragment onbuttonclick

    Stack Overflow | 7 months ago | Alex oladele
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.FragmentTransaction android.app.FragmentManager.beginTransaction()' on a null object reference
  6. 0

    Android: Fragment manager becomes null

    Stack Overflow | 4 months ago | Nitish
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.app.FragmentTransaction android.app.FragmentManager.beginTransaction()' 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 'android.app.FragmentTransaction android.app.FragmentManager.beginTransaction()' on a null object reference

      at com.example.sheikhspc.testapp.Question1$1.onFinish()
    2. com.example.sheikhspc
      Question1$1.onFinish
      1. com.example.sheikhspc.testapp.Question1$1.onFinish(Question1.java:58)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.os.CountDownTimer$1.handleMessage(CountDownTimer.java:127)
      2. android.os.Handler.dispatchMessage(Handler.java:102)
      3. android.os.Looper.loop(Looper.java:135)
      4. android.app.ActivityThread.main(ActivityThread.java:5343)
      4 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames