昨日まで正常に機能していた位置情報ベースのアプリを持っていますが、携帯電話で実行すると、動作がおかしくなりました。
以下は、これまで見たことも聞いたこともないエラーを表示するログキャットです。
07-07 14:17:25.548: D/ActivityThread(24383): handleBindApplication:com.example.loc_update
07-07 14:17:25.553: D/ActivityThread(24383): setTargetHeapUtilization:0.75
07-07 14:17:25.553: D/ActivityThread(24383): setTargetHeapMinFree:524288
07-07 14:17:25.573: I/dalvikvm(24383): DexOpt: illegal method access (call Landroid/content/res/TypedArray;.<init> (Landroid/content/res/Resources;[I[II)V from Landroid/content/res/XResources$XTypedArray;)
07-07 14:17:25.573: I/dalvikvm(24383): Could not find method android.content.res.TypedArray.<init>, referenced from method android.content.res.XResources$XTypedArray.<init>
07-07 14:17:25.573: W/dalvikvm(24383): VFY: unable to resolve direct method 82: Landroid/content/res/TypedArray;.<init> (Landroid/content/res/Resources;[I[II)V
07-07 14:17:25.573: D/dalvikvm(24383): VFY: replacing opcode 0x70 at 0x0002
07-07 14:17:25.683: W/dalvikvm(24383): threadid=1: thread exiting with uncaught exception (group=0x4162bce0)
07-07 14:17:25.688: E/AndroidRuntime(24383): FATAL EXCEPTION: main
07-07 14:17:25.688: E/AndroidRuntime(24383): Process: com.example.loc_update, PID: 24383
07-07 14:17:25.688: E/AndroidRuntime(24383): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.loc_update/com.example.loc_update.MainActivity}: java.lang.NullPointerException
07-07 14:17:25.688: E/AndroidRuntime(24383): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2228)
07-07 14:17:25.688: E/AndroidRuntime(24383): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2277)
07-07 14:17:25.688: E/AndroidRuntime(24383): at android.app.ActivityThread.access$800(ActivityThread.java:144)
07-07 14:17:25.688: E/AndroidRuntime(24383): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1205)
07-07 14:17:25.688: E/AndroidRuntime(24383): at android.os.Handler.dispatchMessage(Handler.java:102)
07-07 14:17:25.688: E/AndroidRuntime(24383): at android.os.Looper.loop(Looper.java:136)
07-07 14:17:25.688: E/AndroidRuntime(24383): at android.app.ActivityThread.main(ActivityThread.java:5152)
07-07 14:17:25.688: E/AndroidRuntime(24383): at java.lang.reflect.Method.invokeNative(Native Method)
07-07 14:17:25.688: E/AndroidRuntime(24383): at java.lang.reflect.Method.invoke(Method.java:515)
07-07 14:17:25.688: E/AndroidRuntime(24383): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
07-07 14:17:25.688: E/AndroidRuntime(24383): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:611)
07-07 14:17:25.688: E/AndroidRuntime(24383): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
07-07 14:17:25.688: E/AndroidRuntime(24383): at dalvik.system.NativeStart.main(Native Method)
07-07 14:17:25.688: E/AndroidRuntime(24383): Caused by: java.lang.NullPointerException
07-07 14:17:25.688: E/AndroidRuntime(24383): at com.example.loc_update.MainActivity.onCreate(MainActivity.java:107)
07-07 14:17:25.688: E/AndroidRuntime(24383): at android.app.Activity.performCreate(Activity.java:6020)
07-07 14:17:25.688: E/AndroidRuntime(24383): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
07-07 14:17:25.688: E/AndroidRuntime(24383): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2182)
07-07 14:17:25.688: E/AndroidRuntime(24383): ... 12 more
注: 昨日、Android 4.4.4 カスタム ROM をインストールしました。この理由によるのでしょうか?