java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference

Stack Overflow | LeNomade | 2 months ago
  1. 0

    Try to refresh my view from a Thread but it give me an error

    Stack Overflow | 2 months ago | LeNomade
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference
  2. 0

    Why am I getting this error when I run my app?

    Stack Overflow | 3 months ago | Julian
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.android.stimmenauswerter/com.example.android.stimmenauswerter.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference
  3. 0

    Calculator app crash when being run

    Stack Overflow | 7 months ago | Aulia Rifkyano
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.android.kalkulatron/com.example.android.kalkulatron.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting error when changing other activity's TextView

    Stack Overflow | 6 months ago | Adrià
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.android.mapamundi/com.example.android.mapamundi.PlayerNames}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' on a null object reference
  6. 0

    Created Android App but keeps getting stopped error

    Stack Overflow | 6 months ago | Tim Sharpe
    java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.mylondonnews.knowbrockvilleuser.mybrockvillenews/com.mylondonnews.knowbrockvilleuser.mybrockvillenews.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window$Callback android.view.Window.getCallback()' 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.view.Window$Callback android.view.Window.getCallback()' on a null object reference

      at android.support.v7.app.AppCompatDelegateImplBase.<init>()
    2. Android v7
      AppCompatActivity.findViewById
      1. android.support.v7.app.AppCompatDelegateImplBase.<init>(AppCompatDelegateImplBase.java:72)
      2. android.support.v7.app.AppCompatDelegateImplV7.<init>(AppCompatDelegateImplV7.java:146)
      3. android.support.v7.app.AppCompatDelegateImplV11.<init>(AppCompatDelegateImplV11.java:28)
      4. android.support.v7.app.AppCompatDelegateImplV14.<init>(AppCompatDelegateImplV14.java:41)
      5. android.support.v7.app.AppCompatDelegateImplV23.<init>(AppCompatDelegateImplV23.java:29)
      6. android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:191)
      7. android.support.v7.app.AppCompatDelegate.create(AppCompatDelegate.java:173)
      8. android.support.v7.app.AppCompatActivity.getDelegate(AppCompatActivity.java:511)
      9. android.support.v7.app.AppCompatActivity.findViewById(AppCompatActivity.java:183)
      9 frames
    3. com.dunomade.ecraseurdetaupe
      GenerateurPartie$1$1.run
      1. com.dunomade.ecraseurdetaupe.AireDeJeu.setPersonnage(AireDeJeu.java:136)
      2. com.dunomade.ecraseurdetaupe.PlacementPerso.aPlacer(PlacementPerso.java:175)
      3. com.dunomade.ecraseurdetaupe.GenerateurPartie$1$1.run(GenerateurPartie.java:56)
      3 frames
    4. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:815)
      2. android.os.Handler.dispatchMessage(Handler.java:104)
      3. android.os.Looper.loop(Looper.java:207)
      4. android.app.ActivityThread.main(ActivityThread.java:5728)
      4 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)
      2 frames