java.lang.RuntimeException: Unable to instantiate application com.google.android.gms.common.app.GmsApplication: java.lang.NullPointerException

github.com | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Add hook for setProfileManager by djeebus · Pull Request #1 · Cpasjuste/HDXPosed · GitHub

    github.com | 8 months ago
    java.lang.RuntimeException: Unable to instantiate application com.google.android.gms.common.app.GmsApplication: java.lang.NullPointerException
  2. 0

    Rooted Saturn (HDX 8.9 2014) on Fire OS 4.5.… | Amazon Kindle Fire HDX 7" & 8.9"

    xda-developers.com | 8 months ago
    java.lang.RuntimeException: Unable to instantiate application com.google.android.gms.common.app.GmsApplication: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at android.content.ContextWrapper.getSystemService()
    2. Android Platform
      ContextWrapper.<init>
      1. android.content.ContextWrapper.getSystemService(ContextWrapper.java:522)
      2. android.content.ContextWrapper.setProfileManager(ContextWrapper.java:88)
      3. android.content.ContextWrapper.<init>(ContextWrapper.java:63)
      3 frames
    3. com.google.android
      GmsApplication.<init>
      1. com.google.android.gms.common.app.BaseApplicationContext.<init>(SourceFile:38)
      2. com.google.android.gms.common.app.BaseApplicationContext.<init>(SourceFile:34)
      3. com.google.android.gms.common.app.a.<init>(SourceFile:28)
      4. com.google.android.gms.common.app.GmsApplication.<init>(SourceFile:57)
      4 frames
    4. Java RT
      Class.newInstance
      1. java.lang.Class.newInstanceImpl(Native Method)
      2. java.lang.Class.newInstance(Class.java:1319)
      2 frames
    5. Android Platform
      ActivityThread.handleBindApplication
      1. android.app.Instrumentation.newApplication(Instrumentation.java:983)
      2. android.app.Instrumentation.newApplication(Instrumentation.java:968)
      3. android.app.LoadedApk.makeApplication(LoadedApk.java:509)
      4. android.app.ActivityThread.handleBindApplication(ActivityThread.java:4509)
      4 frames
    6. XposedBridge
      XposedBridge.handleHookedMethod
      1. de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
      2. de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
      2 frames
    7. Android Platform
      ActivityThread.main
      1. android.app.ActivityThread.handleBindApplication(Native Method)
      2. android.app.ActivityThread.access$1300(ActivityThread.java:149)
      3. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
      4. android.os.Handler.dispatchMessage(Handler.java:99)
      5. android.os.Looper.loop(Looper.java:151)
      6. android.app.ActivityThread.main(ActivityThread.java:5185)
      6 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    9. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
      2 frames
    10. XposedBridge
      XposedBridge.main
      1. de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
      1 frame
    11. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame