java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

    • java.lang.RuntimeException: Unable to instantiate application com.xxxx.android.base.XXXBaseApplication: com.tencent.tinker.loader.TinkerRuntimeException: Tinker Exception:onBaseContextAttached method not found at android.app.LoadedApk.makeApplication(LoadedApk.java:580) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4699) at android.app.ActivityThread.access$1600(ActivityThread.java:153) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5438) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629) Caused by: com.tencent.tinker.loader.TinkerRuntimeException: Tinker Exception:onBaseContextAttached method not found at com.tencent.tinker.loader.app.TinkerApplication.onBaseContextAttached(TinkerApplication.java:140) at com.tencent.tinker.loader.app.TinkerApplication.attachBaseContext(TinkerApplication.java:154) at android.app.Application.attach(Application.java:191) at android.app.Instrumentation.newApplication(Instrumentation.java:998) at android.app.Instrumentation.newApplication(Instrumentation.java:982) at android.app.LoadedApk.makeApplication(LoadedApk.java:575) ... 9 more Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at com.tencent.tinker.loader.app.TinkerApplication.onBaseContextAttached(TinkerApplication.java:138) ... 14 more Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.os.Looper android.content.Context.getMainLooper()' on a null object reference at com.umeng.message.PushAgent.<init>(PushAgent.java:78) at com.umeng.message.PushAgent.getInstance(PushAgent.java:89) at com.xxxx.android.base.XXXBaseApplicationLike.initUM(XXXBaseApplicationLike.java:181) at com.xxxx.android.base.XXXBaseApplicationLike.init(XXXBaseApplicationLike.java:144) at com.xxxx.android.base.XXXBaseApplicationLike.onBaseContextAttached(XXXBaseApplicationLike.java:134) ... 16 more
    No Bugmate found.