Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Help needed: Settings crashing with logcat information

OP mj56gt

22nd August 2014, 07:53 PM   |  #1  
OP Senior Member
Thanks Meter: 3
 
220 posts
Join Date:Joined: Feb 2011
My Nexus 4 is rooted with stock ROM (version 4.4.4) and TWRP. Whenever I select an app under Settings/Apps, it crashes with the following error message:

Quote:

Unfortunately, Settings has stopped.

One thing that might be related to the crashes is the following. I've replaced the original wallpaper with a different picture. Recently I tried to dig out the original wallpaper. So I went to /system/priv-app/Launcher2.apk, and launched Launcher2.apk. That didn't bring up the original wallpaper, but it may have caused the current crashing.

I also pulled out the following logcat that seems to be related to the crash. Can someone kindly help me diagnose what's causing the crash? And how to fix this?

Quote:

08-22 13:12:43.583 11120 11120 W ResourceType: getEntry failing because entryIndex 129 is beyond type entryCount 4
08-22 13:12:43.673 11120 11120 D AndroidRuntime: Shutting down VM
08-22 13:12:43.683 11120 11120 E AndroidRuntime: FATAL EXCEPTION: main
08-22 13:12:43.683 11120 11120 E AndroidRuntime: Process: com.android.settings, PID: 11120
08-22 13:12:43.683 11120 11120 E AndroidRuntime: java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: target == null
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(A ctivityThread.java:2774)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at android.app.ActivityThread.handleResumeActivity(Ac tivityThread.java:2803)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(Ac tivityThread.java:2238)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at android.app.ActivityThread.access$800(ActivityThre ad.java:135)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(Activit yThread.java:1196)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:10 2)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at android.os.Looper.loop(Looper.java:136)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.jav a:5001)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:785)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:601)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: Caused by: java.lang.NullPointerException: target == null
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at java.text.RuleBasedCollator.compare(RuleBasedColla tor.java:391)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at java.text.Collator.compare(Collator.java:194)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at android.widget.AppSecurityPermissions$PermissionGr oupInfoComparator.compare(AppSecurityPermissions.j ava:592)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at android.widget.AppSecurityPermissions$PermissionGr oupInfoComparator.compare(AppSecurityPermissions.j ava:581)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at java.util.TimSort.binarySort(TimSort.java:261)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at java.util.TimSort.sort(TimSort.java:186)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at java.util.TimSort.sort(TimSort.java:169)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at java.util.Arrays.sort(Arrays.java:2023)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at java.util.Collections.sort(Collections.java:1883)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at android.widget.AppSecurityPermissions.setPermissio ns(AppSecurityPermissions.java:657)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at android.widget.AppSecurityPermissions.<init>(AppSe curityPermissions.java:279)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at com.android.settings.applications.InstalledAppDeta ils.refreshUi(InstalledAppDetails.java:778)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at com.android.settings.applications.InstalledAppDeta ils.onResume(InstalledAppDetails.java:584)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at android.app.Fragment.performResume(Fragment.java:1 743)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(Fragme ntManager.java:924)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(Fragme ntManager.java:1062)
8-22 13:12:43.683 11120 11120 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(Fragme ntManager.java:1044)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at android.app.FragmentManagerImpl.dispatchResume(Fra gmentManager.java:1863)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at android.app.Activity.performResume(Activity.java:5 320)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(A ctivityThread.java:2764)
08-22 13:12:43.683 11120 11120 E AndroidRuntime: ... 10 more
08-22 13:12:43.683 596 1648 W ActivityManager: Force finishing activity com.android.settings/.SubSettings
08-22 13:12:43.683 596 1648 W ActivityManager: Force finishing activity com.android.settings/.SubSettings
08-22 13:12:44.174 596 617 W ActivityManager: Activity pause timeout for ActivityRecord{65cde598 u0 com.android.settings/.SubSettings t2 f}
08-22 13:12:45.375 11120 11120 I Process : Sending signal. PID: 11120 SIG: 9
08-22 13:12:45.395 596 840 I ActivityManager: Process com.android.settings (pid 11120) has died.
08-22 13:12:45.395 596 2335 I WindowState: WIN DEATH: Window{65a32ac0 u0 com.android.settings/com.android.settings.Settings}
08-22 13:12:45.395 596 653 I WindowState: WIN DEATH: Window{64e577b0 u0 com.android.settings/com.android.settings.SubSettings}
08-22 13:12:45.415 174 174 W art : Could not get current activity
08-22 13:12:45.425 596 840 I ActivityManager: Start proc com.android.settings for activity com.android.settings/.Settings: pid=13387 uid=1000 gids={41000, 1028, 1015, 3002, 3001, 3003}
08-22 13:12:45.475 13387 13387 W art : Failed to find ELF magic in /system/priv-app/Settings.odex: dey

In addition, there are some other warnings and errors as shown below, which I don't understand either. Recently I do have problems about location and time for a few Apps. For example, the clock on the Notification Bar keeps drifting off, and a few apps could not find the current location.

Quote:

08-22 13:12:02.010 184 196 E ANDR-PERF-LOCK: Failed to reset optimization for resource: 4 level: 0
...
08-22 13:12:02.140 2530 2530 W System.err: java.lang.IllegalArgumentException: provider doesn't exist: network
08-22 13:12:02.140 2530 2530 W System.err: at android.os.Parcel.readException(Parcel.java:1469)
08-22 13:12:02.140 2530 2530 W System.err: at android.os.Parcel.readException(Parcel.java:1419)
08-22 13:12:02.140 2530 2530 W System.err: at android.location.ILocationManager$Stub$Proxy.reque stLocationUpdates(ILocationManager.java:540)
08-22 13:12:02.140 2530 2530 W System.err: at android.location.LocationManager.requestLocationUp dates(LocationManager.java:860)
08-22 13:12:02.140 2530 2530 W System.err: at android.location.LocationManager.requestLocationUp dates(LocationManager.java:454)
08-22 13:12:02.140 2530 2530 W System.err: at com.droid27.b.a.a(Unknown Source)
08-22 13:12:02.140 2530 2530 W System.err: at com.droid27.transparentclockweather.location.q.b(U nknown Source)
08-22 13:12:02.140 2530 2530 W System.err: at com.droid27.transparentclockweather.ClockService.a (Unknown Source)
08-22 13:12:02.140 2530 2530 W System.err: at com.droid27.transparentclockweather.h.onReceive(Un known Source)
08-22 13:12:02.140 2530 2530 W System.err: at android.app.LoadedApk$ReceiverDispatcher$Args.run( LoadedApk.java:759)
08-22 13:12:02.140 2530 2530 W System.err: at android.os.Handler.handleCallback(Handler.java:733 )
08-22 13:12:02.140 2530 2530 W System.err: at android.os.Handler.dispatchMessage(Handler.java:95 )
08-22 13:12:02.140 2530 2530 W System.err: at android.os.Looper.loop(Looper.java:136)
08-22 13:12:02.140 2530 2530 W System.err: at android.app.ActivityThread.main(ActivityThread.jav a:5001)
08-22 13:12:02.140 2530 2530 W System.err: at java.lang.reflect.Method.invoke(Native Method)
08-22 13:12:02.140 2530 2530 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:785)
08-22 13:12:02.140 2530 2530 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:601)
08-22 13:12:02.150 11260 11260 W ContextImpl: Implicit intents with startService are not safe: Intent { act=com.google.android.music.NETWORK_MONITOR_SERVI CE } android.content.ContextWrapper.bindService:517 com.google.android.music.utils.SafeServiceConnecti on$ServiceConnectionImp.bindService:98 com.google.android.music.utils.SafeServiceConnecti on.bindService:259
08-22 13:12:02.150 11260 11260 W ContextImpl: Implicit intents with startService are not safe: Intent { act=com.google.android.music.NETWORK_MONITOR_SERVI CE } android.content.ContextWrapper.bindService:517 com.google.android.music.utils.SafeServiceConnecti on$ServiceConnectionImp.bindService:98 com.google.android.music.utils.SafeServiceConnecti on.bindService:259

08-22 13:12:02.260 243 13222 E mm-camera: sensor_load_chromatix: libchromatix_imx119_preview.so: 30
08-22 13:12:02.270 243 13222 W linker : libmmcamera_faceproc.so has text relocations. This is wasting memory and is a security risk. Please fix.
08-22 13:12:02.280 2924 2924 D k : *************repeatAlarmStartOnlyExpired*****
08-22 13:12:02.280 243 13222 E mm-camera: vfe_ops_init: E
08-22 13:12:02.280 243 13222 E mm-camera: vfe_legacy_stats_buffer_init: AEC_STATS_BUFNUM
08-22 13:12:02.280 243 13222 E mm-camera: vfe_legacy_stats_buffer_init: AEC_STATS_BUFNUM
08-22 13:12:02.290 243 13222 E mm-camera: mctl_init_stats_proc_info: snap_max_line_cnt =25776
08-22 13:12:02.300 176 704 W linker : libmorpho_noise_reduction.so has text relocations. This is wasting memory and is a security risk. Please fix.
08-22 13:12:02.370 176 704 E QCameraHWI: android::status_t android::QCameraHardwareInterface::setPreviewWindo w(preview_stream_ops_t*): mPreviewWindow = 0x0xb87db0f8, mStreamDisplay = 0x0xb87d2e70
08-22 13:12:02.370 176 704 D QCameraHWI: android::status_t android::QCameraHardwareInterface::startPreview(): start preview now
08-22 13:12:02.370 176 704 I QCameraHWI: android::status_t android::QCameraHardwareInterface::startPreview2() :Setting ZSL mode
08-22 13:12:02.370 243 13222 E mm-camera: config_proc_CAMERA_SET_INFORM_STARTPREVIEW
08-22 13:12:02.370 243 13222 E mm-camera: config_update_stream_info Storing stream parameters for video inst 1 as : width = 640, height 480, format = 1 inst_handle = 810081 cid = 0
08-22 13:12:02.380 243 13222 E mm-camera: config_update_stream_info Storing stream parameters for video inst 3 as : width = 640, height 480, format = 1 inst_handle = 830083 cid = 0
08-22 13:12:02.380 243 13222 E mm-camera: config_update_stream_info Storing stream parameters for video inst 4 as : width = 512, height 384, format = 1 inst_handle = 840084 cid = 0
08-22 13:12:02.390 243 13222 E mm-camera: config_decide_vfe_outputs: Ports Used 3, Op mode 1
08-22 13:12:02.390 243 13222 E mm-camera: config_decide_vfe_outputs Current mode 0 Full size streaming : Disabled
08-22 13:12:02.390 243 13222 E mm-camera: config_decide_vfe_outputs: Primary: 640x480, extra_pad: 0x0, Fmt: 1, Type: 1, Path: 1
08-22 13:12:02.390 243 13222 E mm-camera: config_decide_vfe_outputs: Secondary: 640x480, extra_pad: 0x0, Fmt: 1, Type: 3, Path: 4
08-22 13:12:02.390 243 13222 E mm-camera: config_update_inst_handles Updated the inst handles as 810081, 830083, 0, 0
08-22 13:12:02.440 596 614 E qcom_sensors_hal: hal_process_report_ind: Bad item quality: 11
08-22 13:12:02.510 243 13222 E mm-camera: sensor_load_chromatix: libchromatix_imx119_preview.so: 30
08-22 13:12:02.510 243 13222 E mm-camera: camif_client_set_params: camif has associated with obj mask 0x1
08-22 13:12:02.510 243 13222 E mm-camera: config_v2_CAMERA_START_common CAMIF_PARAMS_ADD_OBJ_ID failed -1
08-22 13:12:02.510 243 13222 E mm-camera: vfe_operation_config: format 3
08-22 13:12:02.510 243 13222 E mm-camera: vfe_operation_config:vfe_op_mode=5
08-22 13:12:02.510 243 13222 E mm-camera: Invalid ASD Set Params Type
08-22 13:12:02.510 243 13222 E mm-camera: vfe_set_bestshot: Bestshot mode not changed
08-22 13:12:02.560 176 13224 E mm-libcamera2: PROFILE HAL: First preview frame received: 1408727522.572874726
08-22 13:12:02.560 176 13224 E QCameraHWI_Preview: processPreviewFrameWithDisplay: buffer to be enqueued is not locked
08-22 13:12:02.630 176 13224 E QCameraHWI_Preview: processPreviewFrameWithDisplay: buffer to be enqueued is not locked
08-22 13:12:02.630 176 13226 E mm-libcamera2: mm_camera_zsl_frame_cmp_and_enq: stream type = 3 and fd = 74, frame 0x3 is dirty and queue back kernel

08-22 13:12:48.979 13387 13387 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1551 android.content.ContextWrapper.bindService:517 com.android.settings.applications.ManageApplicatio ns.onCreate:863 android.app.Fragment.performCreate:1678 android.app.FragmentManagerImpl.moveToState:859
08-22 13:12:49.470 13387 13431 W ResourceType: Failure getting entry for 0x7f050000 (t=4 e=0) in package 0 (error -75)
08-22 13:12:49.490 13387 13431 W PackageManager: Failure retrieving text 0x7f050000 in package com.android.keyguard
08-22 13:12:49.490 13387 13431 W PackageManager: android.content.res.Resources$NotFoundException: String resource ID #0x7f050000
08-22 13:12:49.490 13387 13431 W PackageManager: at android.content.res.Resources.getText(Resources.ja va:244)
08-22 13:12:49.490 13387 13431 W PackageManager: at android.app.ApplicationPackageManager.getText(Appl icationPackageManager.java:994)
08-22 13:12:49.490 13387 13431 W PackageManager: at android.content.pm.PackageItemInfo.loadLabel(Packa geItemInfo.java:115)
08-22 13:12:49.490 13387 13431 W PackageManager: at com.android.settings.applications.ApplicationsStat e$AppEntry.ensureLabel(ApplicationsState.java:134)
08-22 13:12:49.490 13387 13431 W PackageManager: at com.android.settings.applications.ApplicationsStat e$AppEntry.<init>(ApplicationsState.java:124)
08-22 13:12:49.490 13387 13431 W PackageManager: at com.android.settings.applications.ApplicationsStat e.getEntryLocked(ApplicationsState.java:832)
08-22 13:12:49.490 13387 13431 W PackageManager: at com.android.settings.applications.ApplicationsStat e$BackgroundHandler.handleMessage(ApplicationsStat e.java:971)
08-22 13:12:49.490 13387 13431 W PackageManager: at android.os.Handler.dispatchMessage(Handler.java:10 2)
08-22 13:12:49.490 13387 13431 W PackageManager: at android.os.Looper.loop(Looper.java:136)
08-22 13:12:49.490 13387 13431 W PackageManager: at android.os.HandlerThread.run(HandlerThread.java:61 )

Last edited by mj56gt; 22nd August 2014 at 10:25 PM.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes