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
Related
Too new to post in the dev forums, but i wanted to post my experience with the Webtop Mod (http://forum.xda-developers.com/showthread.php?t=980193) specifically using the 4.5.91 files downloaded from (http://forum.xda-developers.com/showpost.php?p=15881436&postcount=834) in case any others are having this issue, and maybe to get some feedback from the mod devs, as I'd like to use this mod on my phone.
I noticed after replacing the stock APKs i started getting FC's when making and receiving phone calls, after pulling a logcat log from my phone, it seems the modded PortalApp.apk is at fault (log snippet below) i reverted to the stock PortalApp.apk and phone calls started working again.
Code:
09-07 18:42:15.665 1672 3590 I ActivityManager: Starting: Intent { act=android.intent.action.CALL dat=tel:xxx-xxx-xxxx flg=0x10000000 cmp=com.android.phone/.InCallScreen (has extras) } from pid 8281
09-07 18:42:16.615 3086 3086 D StatusBarService: enter playAnimationStatusBar, enable = false
09-07 18:42:16.635 1672 3007 D InputManager: phone state:2
09-07 18:42:16.995 8281 8281 E AndroidRuntime: FATAL EXCEPTION: main
09-07 18:42:16.995 8281 8281 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate receiver com.android.portal.IntentProxyReceiverForCallState: java.lang.ClassNotFoundException: com.android.portal.IntentProxyReceiverForCallState in loader dalvik.system.PathClassLoader[/system/framework/com.motorola.android.iextdispservice.jar:/system/framework/com.motorola.android.imirrorservice.jar:/system/app/PortalApp.apk]
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at android.app.ActivityThread.handleReceiver(ActivityThread.java:1826)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at android.app.ActivityThread.access$2400(ActivityThread.java:124)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1018)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at android.os.Looper.loop(Looper.java:130)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:3806)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:507)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at dalvik.system.NativeStart.main(Native Method)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: com.android.portal.IntentProxyReceiverForCallState in loader dalvik.system.PathClassLoader[/system/framework/com.motorola.android.iextdispservice.jar:/system/framework/com.motorola.android.imirrorservice.jar:/system/app/PortalApp.apk]
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: at android.app.ActivityThread.handleReceiver(ActivityThread.java:1817)
09-07 18:42:16.995 8281 8281 E AndroidRuntime: ... 10 more
09-07 18:42:17.015 1672 3590 W ActivityManager: Process com.android.phone has crashed too many times: killing!
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
Today, completely out of the blue, Whatsapp has started crashing, the log says:
09-15 07:17:09.827 7242 7392 E AndroidRuntime: java.lang.IllegalArgumentException: Jid [email protected] is not fully qualified; should end with @s.whatsapp.net
09-15 07:17:09.827 7242 7392 E AndroidRuntime: at com.whatsapp.a.c.a(SignalProtocolStore.java:88)
09-15 07:17:09.827 7242 7392 E AndroidRuntime: at com.whatsapp.jobqueue.job.SendE2EMessageJob.<init>(SendE2EMessageJob.java:171)
09-15 07:17:09.827 7242 7392 E AndroidRuntime: at com.whatsapp.messaging.v.run(SendMessageRunnable.java:91)
09-15 07:17:09.827 7242 7392 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
09-15 07:17:09.827 7242 7392 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:6
07)
09-15 07:17:09.827 7242 7392 E AndroidRuntime: at com.whatsapp.a.c.b(SignalProtocolStore.java:76)
09-15 07:17:09.827 7242 7392 E AndroidRuntime: at com.whatsapp.a.e.run(Unknown Source)
09-15 07:17:09.827 7242 7392 E AndroidRuntime: at java.lang.Thread.run(Thread.java:762)
Can anyone give me a hint what might be wrong here? Obviously "s.whatsapp.ne" is missing a letter, but why?
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.
I had reset my watch about 5 times or so, maybe less, but I am facing two issues.
Quick reply for Discord messages gives me this error
"Can't finish action. Reconnect to your phone."
But other actions work besides the other one I will mention now
In any text input field with a Mic icon for voice typing, tapping on the icon either shows the screen where it will tell you to speak and back out or just go back to the three options which are Mic, Emoji or Keyboard
Below is the logcat from my watch for the error which took me a bit to find.
Code:
04-13 20:08:58.864 1987 2108 E AndroidRuntime: FATAL EXCEPTION: EventBus0
04-13 20:08:58.864 1987 2108 E AndroidRuntime: Process: com.google.android.googlequicksearchbox:search, PID: 1987
04-13 20:08:58.864 1987 2108 E AndroidRuntime: java.lang.RuntimeException: Unchecked exception happened while running task: q[ServiceTransaction[SessionController#handleGenericClientEvent]]
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.ca.run(SourceFile:2)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.ak.a(SourceFile:1)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.aj.run(Unknown Source)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.f.run(Unknown Source)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:272)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at java.lang.Thread.run(Thread.java:761)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.h.run(SourceFile:4)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: Caused by: java.lang.RuntimeException: Query received by transcription is not committed!
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.a.g.g(SourceFile:2)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.staticplugins.ad.a.a.p.a(SourceFile:50)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.search.core.service.b.d(SourceFile:15)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.search.core.service.q.a(SourceFile:5)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.search.core.service.ax.run(SourceFile:2)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.libraries.gsa.h.a.b.run(Unknown Source)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.logger.f.a.a.a.a(SourceFile:30)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.logger.f.a.a.c.run(Unknown Source)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.bz.a(SourceFile)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: at com.google.android.apps.gsa.shared.util.c.a.ca.run(SourceFile:1)
04-13 20:08:58.864 1987 2108 E AndroidRuntime: ... 10 more