Android java.lang.NullPointerException:尝试调用虚拟方法'android.content.res.Configuration

有时在启动应用程序之前会出现此异常。问题是不稳定。在10次发射中,此异常将出现5次。有人可以通过此日志识别问题吗?

java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Configuration android.content.res.Resources.getConfiguration()' on a null object reference
 at android.app.ActivityThread.updateLocaleListFromAppContext(ActivityThread.java:6166)
 at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6413)
 at android.app.ActivityThread.access$1400(ActivityThread.java:220)
 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1883)
 at android.os.Handler.dispatchMessage(Handler.java:107)
 at android.os.Looper.loop(Looper.java:224)
 at android.app.ActivityThread.main(ActivityThread.java:7520)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
评论