Logcat Error - Android Q&A, Help & Troubleshooting

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

Related

Front facing camera doesn't work; startPreview failed

I use CM10.2, but this bug existed also on CM10.1, I don't know if this is a hard- or software problem.
When I try to use the front facing camera (in various apps, doesn't matter if it's just Camera or Instagram), the application crashes. Here's the log. The most interesting part (I think) is:
Code:
08-28 16:38:17.407 16834 17189 E AndroidRuntime: FATAL EXCEPTION: Camera Handler Thread
08-28 16:38:17.407 16834 17189 E AndroidRuntime: java.lang.RuntimeException: startPreview failed
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at android.hardware.Camera.startPreview(Native Method)
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at com.android.camera.CameraManager$CameraHandler.handleMessage(CameraManager.java:181)
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at android.os.Looper.loop(Looper.java:137)
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:61)
Bump.
r7s said:
I use CM10.2, but this bug existed also on CM10.1, I don't know if this is a hard- or software problem.
When I try to use the front facing camera (in various apps, doesn't matter if it's just Camera or Instagram), the application crashes. Here's the log. The most interesting part (I think) is:
Code:
08-28 16:38:17.407 16834 17189 E AndroidRuntime: FATAL EXCEPTION: Camera Handler Thread
08-28 16:38:17.407 16834 17189 E AndroidRuntime: java.lang.RuntimeException: startPreview failed
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at android.hardware.Camera.startPreview(Native Method)
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at com.android.camera.CameraManager$CameraHandler.handleMessage(CameraManager.java:181)
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at android.os.Looper.loop(Looper.java:137)
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:61)
Click to expand...
Click to collapse
It definitely a Software problem as CM 10.1 & CM 10.2 are in Nightly state. Problem has been reported in known issues section in CM 10.2 thread here at XDA. It says "Front-facing Camera buggy".
Problem has been reported in known issues section in CM 10.2 thread here at XDA. It says "Front-facing Camera buggy".
Click to expand...
Click to collapse
Thanks, didn't know about it. The thing I've been experiencing this problem under 10.1, too, but I haven't seen anybody complaining about it in the 10.1 thread.
I just flashed another ROM (Chameleon 3.0.3) and I still have the same problem. I think it might be a hardware issue.
Bumpity bump.
Have you tried flashing full stock ROM? Non point in concluding it's a hardware fault unless you've eliminated the software side of things. So far you haven't.
Sent from a galaxy far, far away

[APP] [ROOT] [7.1+] Oneplus 3/3t Control Center || All ROMs [07 MARCH]

Hey guys
This app is a result of me getting tired of some roms providing some features and some not.
So I created the PocketMode app in almost 6 hrs and it was my first android app.
This is the second iteration of the app and is completely revamped and greatly improved(I mean a lot....lot).
FEATURES:
1) Disables all enabled gestures and the fingerprint sensor while in pocket.
2) Full control of your phone's pocketmode service.
3) You won't see the fingerprint sensor getting unresponsive sometimes. Greatly improved the pocketmode part of the app.
4) You can toggle all the available gestures
5) Swap Home and Back Buttons
6) A little bit of theming
7) Starts automatically at boot, so you don't need to do anything except grant superuser rights.
8) HBM and sRGB modes included.
9) It works. 'nuf said !!
INSTRUCTIONS:
1) Download the apk from the second post.
2) Install like normal app.
3) open it for first time and grant root access.
4) Then enjoy the great UI
NOTE:
1) It performs perfectly fine in presence of other conflicting apps, like the cyanogenmod/LOS shipped pocketmode app. But I would suggest if you find the performance better of this one, then either uninstall the other app or freeze it because of redundancies in the system.
2) Although I've tested this rigorously, still bugs may be found and you may report them here.
HUGE SHOUTOUT OUT TO YETI-DESIGNS for the 2 amazing icons on this app. @Yeti12​
Original thread :: https://forum.xda-developers.com/oneplus-3/themes/app-pocketmode-roms-compatible-t3546798
Downloads, Sreenshots and Changelog
DOWNLOAD FROM HERE​
Changelog:
V1.0.0 :: 08-02-2017
LOOK FOR YOURSELVES.
V1.2.0 :: 06-03-2017
1) Added option to disable the "Double Tap power button to launch camera" while in pocket.(if your ROM supports it)
2) SUPORT for OxygenOS is added although the features are very limited as OOS handles everything quite well already.
3) Added Sweep2Wake toggles.
4) Added option to restore settings on boot on each page.
5) Various cosmetic changes.
6) Added 2 new icons. All thanks to @Yeti12 (look in the screenshots)
7) Squashed many bugs here and there
8) Many performance updates.
V1.2.1 :: 07-03-2017
1) Fixed force closing on OpenBeta 7.1.1​
NOTE :: Uninstall the previous app(if you have it) before installing this.
That's awesome. Instead of mindlessly complaining you actually went out your way to do something about it.
Downloading now. Will give you feedback.
Can not install. Parsing error.
Schrotty35 said:
Can not install. Parsing error.
Click to expand...
Click to collapse
On what rom are you installing? It clearly states 7.1.1 ONLY.
rituj26 said:
On what rom are you installing? It clearly states 7.1.1 ONLY.
Click to expand...
Click to collapse
Latest oos 4.0.2.
Parse error
Have install on 7.1.1 but whene i start get error and fc.
Schrotty35 said:
Have install on 7.1.1 but whene i start get error and fc.
Click to expand...
Click to collapse
Pls provide a logcat and in earlier post you said parse error. What exactly is the problem. Report rom and kernel too.
rituj26 said:
Pls provide a logcat and in earlier post you said parse error. What exactly is the problem. Report rom and kernel too.
Click to expand...
Click to collapse
I use lineage-14.1-20170202-UNOFFICIAL-oneplus3 and whene i start the app i get only a fc.
Pls post a logcat then
Okay guys
People facing the random FCs is due to the new gestures commit. I'll have to take a look at it. And will release soon. But I need to prepare for my exams too, so it might take some time.
rituj26 said:
Okay guys
People facing the random FCs is due to the new gestures commit. I'll have to take a look at it. And will release soon. But I need to prepare for my exams too, so it might take some time.
Click to expand...
Click to collapse
Older roms still work though
App crashes on official lineage os for OP3T at first start
Code:
02-07 22:39:50.044 11074 11074 D AndroidRuntime: Shutting down VM
02-07 22:39:50.045 11074 11074 E AndroidRuntime: FATAL EXCEPTION: main
02-07 22:39:50.045 11074 11074 E AndroidRuntime: Process: com.rituj.pocketmode, PID: 11074
02-07 22:39:50.045 11074 11074 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.rituj.pocketmode/com.rituj.pocketmode.MainActivity}: java.lang.NumberFormatException: For input string: ""
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.app.ActivityThread.-wrap12(ActivityThread.java)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6126)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: Caused by: java.lang.NumberFormatException: For input string: ""
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at java.lang.Integer.parseInt(Integer.java:533)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at java.lang.Integer.parseInt(Integer.java:556)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at com.rituj.pocketmode.MainActivity.isEnabled(MainActivity.java:191)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at com.rituj.pocketmode.MainActivity.onCreate(MainActivity.java:80)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6679)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2618)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: ... 9 more
02-07 22:39:50.046 3486 4550 W ActivityManager: Force finishing activity com.rituj.pocketmode/.MainActivity
dago said:
App crashes on official lineage os for OP3T at first start
Code:
02-07 22:39:50.044 11074 11074 D AndroidRuntime: Shutting down VM
02-07 22:39:50.045 11074 11074 E AndroidRuntime: FATAL EXCEPTION: main
02-07 22:39:50.045 11074 11074 E AndroidRuntime: Process: com.rituj.pocketmode, PID: 11074
02-07 22:39:50.045 11074 11074 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.rituj.pocketmode/com.rituj.pocketmode.MainActivity}: java.lang.NumberFormatException: For input string: ""
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.app.ActivityThread.-wrap12(ActivityThread.java)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6126)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: Caused by: java.lang.NumberFormatException: For input string: ""
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at java.lang.Integer.parseInt(Integer.java:533)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at java.lang.Integer.parseInt(Integer.java:556)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at com.rituj.pocketmode.MainActivity.isEnabled(MainActivity.java:191)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at com.rituj.pocketmode.MainActivity.onCreate(MainActivity.java:80)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6679)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2618)
02-07 22:39:50.045 11074 11074 E AndroidRuntime: ... 9 more
02-07 22:39:50.046 3486 4550 W ActivityManager: Force finishing activity com.rituj.pocketmode/.MainActivity
Click to expand...
Click to collapse
OP UPDATED!!!
Fixed FC bug and a lot lot more.
Still parsing error on stock OOS 4.0.2.
Sent from my ONEPLUS A3003 using Tapatalk
Kickoff said:
Still parsing error on stock OOS 4.0.2.
Click to expand...
Click to collapse
It's for 7.1.1 only
Working fine on latest official LOS
Hi,
Thanks for the app :good:
Do you thinnk you can add a setting to set the capacitive buttons light timeout? It would be great!
Since you add the option to swap back and recent buttons maybe this is something possible?
Thanks in advance
well I wish this would also work for 7.0 roms on
Oos any luck that it will work in near future ?

com.lge.clock crashing "unfortunately clock has stopped"

I have an Lg G5 (H850), unrooted and fully up to date.
A few months ago I began to have trouble with the Clock app. It crashes several times during use.
I've been able to deduce that this problem occurs when Android Wear is installed, and it makes no difference if my Lg G Watch R is connected to my phone or not.
Another event that seems to trigger Clock crashing is when my phone toggles between service and WiFi, but I cannot be sure if that's the cause.
Here are the failed solutions I've tried:
- Install previous version of Android Wear dating back to before the issue started
- Cleared Data/Cache from Clock app
- Tried to disable Clock, but button is grayed out
- Installed Google Clock. Made no difference
- Disconnected watch, but problem persists
- Reset the watch to manufacturer's
I should add (although I am not sure it's a bug) that every time I clear data/cash from Clock, a new alarm appears set (though tuned off) at 7:00 am January 1st. I've never set this alarm, and whether I leave it there, delete it or switch it on and off (so it changes to current date) doesn't make a difference.
I am including a copy of LogCat that shows the crash. Unfortunately I do not know what to do with the information it provides.
Thanks for any help anyone can provide.
--------- beginning of crash
07-31 10:26:09.541 10690 10690 E AndroidRuntime: FATAL EXCEPTION: main
07-31 10:26:09.541 10690 10690 E AndroidRuntime: Process: com.lge.clock, PID: 10690
07-31 10:26:09.541 10690 10690 E AndroidRuntime: java.lang.IllegalArgumentException: Receiver not registered: [email protected]
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:1047)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1332)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:608)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.common.api.c.gM(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.common.api.c.gJ(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.common.api.c.d(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.common.api.c$2.onConnected(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.internal.jm.f(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.internal.jm.dU(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.internal.jl$h.b(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.internal.jl$h.g(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.internal.jl$b.hy(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.google.android.gms.internal.jl$a.handleMessage(Unknown Source)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6247)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872)
07-31 10:26:09.541 10690 10690 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
Unexpected solution
After months of fiddling with this problem, I accidentally came across information that lead me to solve another problem and through it; fixing this issue I described.
Kinda silly to answer my own post, but it might help people out there.
While live monitoring Logcat, I decided to toggle WiFi on and off to see what the phone did. My Lg G5 has always been pretty slow to connect.
I noticed that, upon turning WiFi on, my phone went through the whole list of "saved" networks before even attempting to connect to the available ones.
I had a LOAD of saved networks. Most of them from countries I visited.
I cleaned up the list, removing most networks I had saved et voila! Not only did my phone started connecting to WiFi instantly, but my clock app stopped crashing.
I hope this helps someone out there.

Installing an app via TWRP (updater-script) unsuccessful, HELP!

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

[Q] Samsung E-mail crashing (w logcat)

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.

Categories

Resources