Hi guys,
the huawei camera app always crashes after a few seconds by itself.
Im on 9.0.0.216.
Opern Camera is working as expected.
This is the logcat:
Code:
--------- beginning of crash
05-01 20:26:08.152 9775 9775 E AndroidRuntime: FATAL EXCEPTION: main
05-01 20:26:08.152 9775 9775 E AndroidRuntime: Process: com.huawei.camera, PID: 9775
05-01 20:26:08.152 9775 9775 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
05-01 20:26:08.152 9775 9775 E AndroidRuntime: at com.huawei.camera2.controller.AREngine.getModeIndex(AREngine.java:628)
05-01 20:26:08.152 9775 9775 E AndroidRuntime: at com.huawei.camera2.controller.AREngine.refreshMaterailData(AREngine.java:587)
05-01 20:26:08.152 9775 9775 E AndroidRuntime: at com.huawei.camera2.controller.AREngine.access$2200(AREngine.java:53)
05-01 20:26:08.152 9775 9775 E AndroidRuntime: at com.huawei.camera2.controller.AREngine$8.run(AREngine.java:532)
05-01 20:26:08.152 9775 9775 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:891)
05-01 20:26:08.152 9775 9775 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
05-01 20:26:08.152 9775 9775 E AndroidRuntime: at android.os.Looper.loop(Looper.java:207)
05-01 20:26:08.152 9775 9775 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7470)
05-01 20:26:08.152 9775 9775 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
05-01 20:26:08.152 9775 9775 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
05-01 20:26:08.152 9775 9775 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958)
05-01 20:26:08.156 1142 6099 W ActivityManager: finishTopCrashedActivityLocked Force finishing activity com.huawei.camera/com.huawei.camera
Does anyonw know how to fix that?
Thanks!
Related
Anyone can help me to fix this error?
AndroidRuntime: java.lang.NoClassDefFoundError: com.android.server.policy.PhoneWindowManager$3
10-02 06:53:00.569 1839 1839 E AndroidRuntime: at com.android.server.policy.PhoneWindowManager.<init>(PhoneWindowManager.java:864)
10-02 06:53:00.569 1839 1839 E AndroidRuntime: at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:1972)
10-02 06:53:00.569 1839 1839 E AndroidRuntime: at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:1878)
10-02 06:53:00.569 1839 1839 E AndroidRuntime: at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:387)
10-02 06:53:00.569 1839 1839 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:289)
10-02 06:53:00.569 1839 1839 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:176)
10-02 06:53:00.569 1839 1839 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-02 06:53:00.569 1839 1839 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-02 06:53:00.569 1839 1839 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-02 06:53:00.570 1839 1839 E
I have this issue:
01-09 11:58:07.691 22967 22967 E AndroidRuntime: java.util.concurrent.RejectedExecutionException: Task [email protected] rejected from [email protected][Running, pool size = 17, active threads = 17, queued tasks = 128, completed tasks = 52]
I'm on Nougat 7.1.1, the problem fix after reset and then after two days it's on again.
I'm searching on the internet and some one says is related to background data disabled for some apps, and other says due to AsyncTask queue pool is over 128, it reject every new task to execute.
The devices affected are Google Pixel 7.1.2 7.1.1 samsungs, motorolas and others devices and versions. Some known tracked issues can be found on post similar to this: https://productforums.google.com/fo...ZFBIyW2KE;context-place=forum/phone-by-google
Some one posted the bad code causing issue and the solution to fix it but on AOSP (If I can retrieve the link I will attach to this post for furter analysis)
Trying to speak with Sony support the only thing they can do, is to send the device for repair (thankyou )
So, I wish to know if there's a solution trough ADB or some wise app that can flush Pool queue and free it to permit execution of usage data, or something else
I'll post the entire log for further info
01-09 11:37:22.687 14737 14737 E AndroidRuntime: FATAL EXCEPTION: main
01-09 11:37:22.687 14737 14737 E AndroidRuntime: Process: com.android.settings,PID: 14737
01-09 11:37:22.687 14737 14737 E AndroidRuntime: java.util.concurrent.RejectedExecutionException: Task [email protected] rejected from [email protected][Running, pool size = 17, active threads = 17, queued tasks = 128, completed tasks = 74]
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2049)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:814)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1360)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.os.AsyncTask.executeOnExecutor(AsyncTask.java:623)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.settings.datausage.AppDataUsagePreference$UidDetailTask.bindView(AppDataUsagePreference.j
ava:93)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.settings.datausage.AppDataUsagePreference.<init>(AppDataUsagePreference.java:49)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.settings.datausage.DataUsageList.bindStats(DataUsageList.java:483)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.settings.datausage.DataUsageList$3.onLoadFinished(DataUsageList.java:656)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.settings.datausage.DataUsageList$3.onLoadFinished(DataUsageList.java:653)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:489)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:457)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.content.Loader.deliverResult(Loader.java:144)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:265)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:92)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.os.AsyncTask.finish(AsyncTask.java:667)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.os.AsyncTask.-wrap1(AsyncTask.java)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:684)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.os.Looper.loop(Looper.java:241)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6274)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
01-09 11:37:22.687 14737 14737 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
Background:
I created a script that pretty much factory resets the phone and starts deleting apps from system/app and system/priv-app.
My problem pretty much is that when I try to add those apps back
When I add them via another flashable zip and I reboot, the apps don't start up and start crashing upon trying to open them up
I extracted the whole folder located in system/priv-app from the system.img of a previous firmware version
When I extract the folder of my current firmware version, it works. Which makes me believe that these apps are firmware specific?
The only problem is that I am trying to share these zips with other people and since they have different firmware versions (usually due to some carriers taking longer to release firmware or stuff like that)
Problem:
Anyway, here's the deal (I will use Samsung's Gallery app as an example). I have this script to add the Samsung Gallery's app:
Code:
ui_print ("Let's begin, mounting /system...");
run_program("/sbin/busybox","mount", "/system");
ui_print ("Extracting necessary files...");
package_extract_dir("system", "/system");
ui_print ("Setting necessary permission...");
set_perm(0, 0, 0755, "/system/priv-app/SecGallery2015");
set_perm(0, 0, 0755, "/system/priv-app/SecGallery2015/oat");
set_perm(0, 0, 0755, "/system/priv-app/SecGallery2015/oat/arm");
set_perm(0, 0, 0644, "/system/priv-app/SecGallery2015/oat/arm/SecGallery2015.odex");
ui_print ("Done, unmounting /system...");
run_program("/sbin/busybox", "umount", "/system");
But it doesn't work. I see that the app is added in the app drawer, but opening it up crashes it and closes it.
Here is the section of the logcat that is showing me what's wrong, maybe it'll show more clearly what the problem is (I have NO idea how to read logcats or even debug them :crying: )
Code:
01-25 16:04:00.297 4321 4321 E AndroidRuntime: FATAL EXCEPTION: main
01-25 16:04:00.297 4321 4321 E AndroidRuntime: Process: com.sec.android.gallery3d, PID: 4321
01-25 16:04:00.297 4321 4321 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate application com.sec.android.gallery3d.app.GalleryAppImpl: java.lang.ClassNotFoundException: Didn't find class "com.sec.android.gallery3d.app.GalleryAppImpl" on path: DexPathList[[zip file "/system/framework/secvision.jar", zip file "/system/framework/allshare.jar", zip file "/system/framework/com.google.android.media.effects.jar", zip file "/system/framework/saiv.jar", zip file "/system/framework/secimaging.jar", zip file "/system/framework/twframework.jar", zip file "/system/framework/com.google.android.maps.jar", zip file "/system/framework/sechardware.jar", zip file "/system/priv-app/SecGallery2015/SecGallery2015.apk"],nativeLibraryDirectories=[/system/priv-app/SecGallery2015/lib/arm, /vendor/lib, /system/lib]]
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:680)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6469)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.ActivityThread.access$1800(ActivityThread.java:229)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1887)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7406)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.sec.android.gallery3d.app.GalleryAppImpl" on path: DexPathList[[zip file "/system/framework/secvision.jar", zip file "/system/framework/allshare.jar", zip file "/system/framework/com.google.android.media.effects.jar", zip file "/system/framework/saiv.jar", zip file "/system/framework/secimaging.jar", zip file "/system/framework/twframework.jar", zip file "/system/framework/com.google.android.maps.jar", zip file "/system/framework/sechardware.jar", zip file "/system/priv-app/SecGallery2015/SecGallery2015.apk"],nativeLibraryDirectories=[/system/priv-app/SecGallery2015/lib/arm, /vendor/lib, /system/lib]]
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.Instrumentation.newApplication(Instrumentation.java:1005)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:670)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: ... 9 more
01-25 16:04:00.297 4321 4321 E AndroidRuntime: Suppressed: java.io.IOException: No original dex files found for dex location (arm) /system/priv-app/SecGallery2015/SecGallery2015.apk ()
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexFile.openDexFileNative(Native Method)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexFile.openDexFile(DexFile.java:295)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexFile.<init>(DexFile.java:80)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexFile.<init>(DexFile.java:59)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexPathList.loadDexFile(DexPathList.java:279)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexPathList.makePathElements(DexPathList.java:248)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexPathList.<init>(DexPathList.java:120)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:86)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:47)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.LoadedApk.getClassLoader(LoadedApk.java:438)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:663)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: ... 9 more
01-25 16:04:00.297 4321 4321 E AndroidRuntime: Suppressed: java.lang.ClassNotFoundException: com.sec.android.gallery3d.app.GalleryAppImpl
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.Class.classForName(Native Method)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: ... 12 more
01-25 16:04:00.297 4321 4321 E AndroidRuntime: Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
01-25 16:04:00.297 823 2839 D InputDispatcher: Focused application set to: xxxx
01-25 16:04:00.297 823 2839 D ActivityTrigger: ActivityTrigger activityPauseTrigger
01-25 16:04:00.297 823 2839 W ActivityManager: Force finishing activity com.sec.android.gallery3d/.app.GalleryOpaqueActivity
Any help is appreciated
Does anybody know what is causing this problem?
It seems to happen when I open an email (I can open the app just fine, it just crashes when I try to open an actual email)
It's actually running stock with some things edited here and there on systemui and framework-res
I can't really read logcats
Thanks in advanced for reading!
Code:
03-02 16:31:32.943 14341 14341 E AndroidRuntime: FATAL EXCEPTION: main
03-02 16:31:32.943 14341 14341 E AndroidRuntime: Process: com.samsung.android.email.provider, PID: 14341
03-02 16:31:32.943 14341 14341 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.HoverPopupWindow.setHoverPopupListener(android.widget.HoverPopupWindow$HoverPopupListener)' on a null object reference
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.SenderLayout.setHoveringPopup4SummryTextView(SenderLayout.java:251)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.updateAddressHoverPopUp(MessageViewFragmentBase.java:12890)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.updateHeaderView(MessageViewFragmentBase.java:12875)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.reloadUiFromMessage(MessageViewFragmentBase.java:3755)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase$MessageContainerCallback.updateMessageHeader(MessageViewFragmentBase.java:17558)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.newlayout.MessageViewAdapter$MessageHeaderItem.createView(MessageViewAdapter.java:253)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.newlayout.MessageViewAdapter.getView(MessageViewAdapter.java:530)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.measureOverlayHeight(MessageViewFragmentBase.java:13351)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.measureOverlayHeight(MessageViewFragmentBase.java:13332)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.onRenderMessageHeader(MessageViewFragmentBase.java:2505)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewLoader$RenderMessageTask.onProgressUpdate(MessageViewLoader.java:2797)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewLoader$RenderMessageTask.onProgressUpdate(MessageViewLoader.java:2601)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.emailcommon.utility.EmailAsyncTask$InnerTask.onProgressUpdate(EmailAsyncTask.java:155)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:671)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7406)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Extra points:
Samsung calendar seems to be crashing too:
logcat:
Code:
03-02 16:39:07.371 14950 14950 E AndroidRuntime: FATAL EXCEPTION: main
03-02 16:39:07.371 14950 14950 E AndroidRuntime: Process: com.samsung.android.calendar, PID: 14950
03-02 16:39:07.371 14950 14950 E AndroidRuntime: java.lang.SecurityException: You either need MANAGE_USERS or CREATE_USERS permission to: query users
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1621)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1574)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.IPersonaManager$Stub$Proxy.getPersonas(IPersonaManager.java:2106)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.PersonaManager.getPersonas(PersonaManager.java:732)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.common.utils.r.a(KnoxUtils.java:78)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.common.utils.r.b(KnoxUtils.java:58)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.du.b(EventViewUtils.java:782)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.a.a(AccountCardView.java:227)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.a.a(AccountCardView.java:168)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.CardBoardView.b(CardBoardView.java:378)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.bv.a(CardDealer.java:885)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.bv.a(CardDealer.java:91)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.cf.a(CardDealer.java:1699)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.b.c.a.onQueryComplete(AutoCloseAsyncQueryHandler.java:41)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.content.AsyncQueryHandler.handleMessage(AsyncQueryHandler.java:344)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7406)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
.bump.
Check Webview
ShaDisNX255 said:
Does anybody know what is causing this problem?
It seems to happen when I open an email (I can open the app just fine, it just crashes when I try to open an actual email)
It's actually running stock with some things edited here and there on systemui and framework-res
I can't really read logcats
Thanks in advanced for reading!
Code:
03-02 16:31:32.943 14341 14341 E AndroidRuntime: FATAL EXCEPTION: main
03-02 16:31:32.943 14341 14341 E AndroidRuntime: Process: com.samsung.android.email.provider, PID: 14341
03-02 16:31:32.943 14341 14341 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.HoverPopupWindow.setHoverPopupListener(android.widget.HoverPopupWindow$HoverPopupListener)' on a null object reference
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.SenderLayout.setHoveringPopup4SummryTextView(SenderLayout.java:251)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.updateAddressHoverPopUp(MessageViewFragmentBase.java:12890)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.updateHeaderView(MessageViewFragmentBase.java:12875)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.reloadUiFromMessage(MessageViewFragmentBase.java:3755)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase$MessageContainerCallback.updateMessageHeader(MessageViewFragmentBase.java:17558)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.newlayout.MessageViewAdapter$MessageHeaderItem.createView(MessageViewAdapter.java:253)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.newlayout.MessageViewAdapter.getView(MessageViewAdapter.java:530)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.measureOverlayHeight(MessageViewFragmentBase.java:13351)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.measureOverlayHeight(MessageViewFragmentBase.java:13332)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewFragmentBase.onRenderMessageHeader(MessageViewFragmentBase.java:2505)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewLoader$RenderMessageTask.onProgressUpdate(MessageViewLoader.java:2797)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.email.ui.messageview.MessageViewLoader$RenderMessageTask.onProgressUpdate(MessageViewLoader.java:2601)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.samsung.android.emailcommon.utility.EmailAsyncTask$InnerTask.onProgressUpdate(EmailAsyncTask.java:155)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:671)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7406)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
03-02 16:31:32.943 14341 14341 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Extra points:
Samsung calendar seems to be crashing too:
logcat:
Code:
03-02 16:39:07.371 14950 14950 E AndroidRuntime: FATAL EXCEPTION: main
03-02 16:39:07.371 14950 14950 E AndroidRuntime: Process: com.samsung.android.calendar, PID: 14950
03-02 16:39:07.371 14950 14950 E AndroidRuntime: java.lang.SecurityException: You either need MANAGE_USERS or CREATE_USERS permission to: query users
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1621)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1574)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.IPersonaManager$Stub$Proxy.getPersonas(IPersonaManager.java:2106)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.PersonaManager.getPersonas(PersonaManager.java:732)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.common.utils.r.a(KnoxUtils.java:78)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.common.utils.r.b(KnoxUtils.java:58)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.du.b(EventViewUtils.java:782)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.a.a(AccountCardView.java:227)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.a.a(AccountCardView.java:168)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.CardBoardView.b(CardBoardView.java:378)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.bv.a(CardDealer.java:885)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.bv.a(CardDealer.java:91)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.event.cf.a(CardDealer.java:1699)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.calendar.b.c.a.onQueryComplete(AutoCloseAsyncQueryHandler.java:41)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.content.AsyncQueryHandler.handleMessage(AsyncQueryHandler.java:344)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7406)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
03-02 16:39:07.371 14950 14950 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Click to expand...
Click to collapse
Check the Android System Webview to make sure its current. This program affects email apps and browser apps as well. In some cases, you may have to uninstall updates to a previous version. I know this post is a bit late but maybe it can help others with email app crashes.
Hey all, my device is rooted, with Android 11 and XPrivacyLua installed. I have an app here that keeps crashing. I know it's related to XPrivacyLua restrictions, because if I allow it all the permissions then it runs fine. but with XPL enabled and blocking permissions, it crashes. Below is the output of adb logcat --buffer=crash when I try and open it. How can I tell what is specifically causing it? and is there a workaround so I can keep blocking it with XPL and get it to run somehow? Perhaps with a custom spoofing of values with XPL? Thanks
Code:
08-26 16:33:22.745 16472 16472 E AndroidRuntime: FATAL EXCEPTION: main
08-26 16:33:22.745 16472 16472 E AndroidRuntime: Process: com.nextdoor, PID: 16472
08-26 16:33:22.745 16472 16472 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at java.util.ArrayList.get(ArrayList.java:437)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at java.util.Collections.swap(Collections.java:544)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.appbadger.ShortcutBadger.validateInfoList(ShortcutBadger.kt:165)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.appbadger.ShortcutBadger.initBadger(ShortcutBadger.kt:116)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.appbadger.ShortcutBadger.applyCountOrThrow(ShortcutBadger.kt:75)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.appbadger.ShortcutBadger.applyCount(ShortcutBadger.kt:46)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.NotificationChannelManager.updateBadgeCount(NotificationChannelManager.kt:111)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.NotificationChannelManager.clearPrivateMessageNotificationsFromSystemTray(NotificationChannelManager.kt:84)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.pushNotification.NotificationChannelManager.clearPrivateMessageNotificationsFromSystemTray$default(NotificationChannelManager.kt:69)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.view.newsfeed.MessagesPresenter.setBadgeCount(ToolbarActionPresenter.kt:80)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.view.newsfeed.MessagesPresenter.populate(ToolbarActionPresenter.kt:68)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.activity.TopLevelActivityActionBarUtil.createMessagesPresenter(TopLevelActivityActionBarUtil.kt:204)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.activity.TopLevelActivityActionBarUtil.createPresenters(TopLevelActivityActionBarUtil.kt:74)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.newsfeed.fragments.MainFeedFragment.updateBadgeCount(MainFeedFragment.kt:370)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.newsfeed.fragments.MainFeedFragment.access$updateBadgeCount(MainFeedFragment.kt:150)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.newsfeed.fragments.MainFeedFragment$subscribeFeedRendered$1.invoke(MainFeedFragment.kt:362)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.newsfeed.fragments.MainFeedFragment$subscribeFeedRendered$1.invoke(MainFeedFragment.kt:358)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.newsfeed.viewmodels.FeedsViewModelV2$subscribeFeedRendered$2.invoke(FeedsViewModelV2.kt:542)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.nextdoor.newsfeed.viewmodels.FeedsViewModelV2$subscribeFeedRendered$2.invoke(FeedsViewModelV2.kt:540)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.BaseMvRxViewModel$selectSubscribe$1.invokeSuspend(BaseMvRxViewModel.kt:185)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.BaseMvRxViewModel$selectSubscribe$1.invoke(Unknown Source:8)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.BaseMvRxViewModel$selectSubscribe$1.invoke(Unknown Source:2)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.MavericksViewModelExtensionsKt$_internal1$2.invokeSuspend(MavericksViewModelExtensions.kt:27)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.MavericksViewModelExtensionsKt$_internal1$2.invoke(Unknown Source:8)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.MavericksViewModelExtensionsKt$_internal1$2.invoke(Unknown Source:4)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invokeSuspend(Merge.kt:214)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invoke(Unknown Source:13)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.FlowKt__MergeKt$mapLatest$1.invoke(Unknown Source:4)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invokeSuspend(Merge.kt:34)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invoke(Unknown Source:8)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1$2.invoke(Unknown Source:4)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.intrinsics.UndispatchedKt.startCoroutineUndispatched(Undispatched.kt:55)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.CoroutineStart.invoke(CoroutineStart.kt:112)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.AbstractCoroutine.start(AbstractCoroutine.kt:126)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch(Builders.common.kt:56)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.BuildersKt.launch(Unknown Source:1)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default(Builders.common.kt:47)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.BuildersKt.launch$default(Unknown Source:1)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.internal.ChannelFlowTransformLatest$flowCollect$3$1.emit(Merge.kt:33)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.DistinctFlowImpl$collect$2.emit(Distinct.kt:81)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.airbnb.mvrx.MavericksViewModelExtensionsKt$_internal1$$inlined$map$1$2.emit(Collect.kt:24)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.SharedFlowImpl.collect$suspendImpl(SharedFlow.kt:383)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.flow.SharedFlowImpl$collect$1.invokeSuspend(Unknown Source:12)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7664)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
08-26 16:33:22.745 16472 16472 E AndroidRuntime: Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException:[StandaloneCoroutine{Cancelling}@ed6f277, Dispatchers.Main.immediate]