Com.android.phone crashing at boot - Android Q&A, Help & Troubleshooting

Just built AOKP from source for the oneplus one and the process com.android.phone starts crashing when boot. Here you are the logcat error. What does it mean? Thanks in advance
E/AndroidRuntime( 6737): Process: com.android.phone, PID: 6737
E/AndroidRuntime( 6737): java.lang.NullPointerException
E/AndroidRuntime( 6737): at com.android.internal.telephony.gsm.GSMPhone.getRingingCall(GSMPhone.java:513)
E/AndroidRuntime( 6737): at com.android.internal.telephony.gsm.GSMPhone.getRingingCall(GSMPhone.java:89)
E/AndroidRuntime( 6737): at com.android.internal.telephony.CallManager.registerPhone(CallManager.java:310)
E/AndroidRuntime( 6737): at com.android.internal.telephony.PhoneProxy.deleteAndCreatePhone(PhoneProxy.java:272)
E/AndroidRuntime( 6737): at com.android.internal.telephony.PhoneProxy.phoneObjectUpdater(PhoneProxy.java:212)
E/AndroidRuntime( 6737): at com.android.internal.telephony.PhoneProxy.handleMessage(PhoneProxy.java:121)
E/AndroidRuntime( 6737): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 6737): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 6737): at android.app.ActivityThread.main(ActivityThread.java:5158)
E/AndroidRuntime( 6737): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 6737): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 6737): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 6737): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime( 6737): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 1058): Process com.android.phone has crashed too many times: killing!

Anyone van help the guy out?

Related

[Q] How do I get the output from an error

Hello all,
I'm trying to debug a crash I have when after I have ported a rom, here's the output:
Code:
E/AndroidRuntime( 1327): FATAL EXCEPTION: main
E/AndroidRuntime( 1327): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: java.lang.NullPointerException
E/AndroidRuntime( 1327): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2386)
E/AndroidRuntime( 1327): at android.app.ActivityThread.access$1600(ActivityThread.java:132)
E/AndroidRuntime( 1327): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1211)
E/AndroidRuntime( 1327): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1327): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1327): at android.app.ActivityThread.main(ActivityThread.java:4575)
E/AndroidRuntime( 1327): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1327): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1327): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
E/AndroidRuntime( 1327): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
E/AndroidRuntime( 1327): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1327): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 1327): at android.app.ProfileManager.getNotificationGroupForPackage(ProfileManager.java:223)
E/AndroidRuntime( 1327): at android.app.ProfileManager.getActiveProfileGroup(ProfileManager.java:242)
E/AndroidRuntime( 1327): at android.media.AudioManager.shouldVibrate(AudioManager.java:784)
E/AndroidRuntime( 1327): at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.updateVolume(PhoneStatusBarPolicy.java:254)
E/AndroidRuntime( 1327): at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.<init>(PhoneStatusBarPolicy.java:195)
E/AndroidRuntime( 1327): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:311)
E/AndroidRuntime( 1327): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:97)
E/AndroidRuntime( 1327): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2376)
E/AndroidRuntime( 1327): ... 10 more
Is there anyway to get
Code:
[b]E/AndroidRuntime( 1327): ... 10 more[/b]
to actually show the other 10 lines so I can do a complete trace?
Thank you for any help you can offer,
Pax
paxChristos said:
Hello all,
I'm trying to debug a crash I have when after I have ported a rom, here's the output:
Code:
E/AndroidRuntime( 1327): FATAL EXCEPTION: main
E/AndroidRuntime( 1327): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: java.lang.NullPointerException
E/AndroidRuntime( 1327): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2386)
E/AndroidRuntime( 1327): at android.app.ActivityThread.access$1600(ActivityThread.java:132)
E/AndroidRuntime( 1327): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1211)
E/AndroidRuntime( 1327): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1327): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1327): at android.app.ActivityThread.main(ActivityThread.java:4575)
E/AndroidRuntime( 1327): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1327): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1327): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
E/AndroidRuntime( 1327): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
E/AndroidRuntime( 1327): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1327): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 1327): at android.app.ProfileManager.getNotificationGroupForPackage(ProfileManager.java:223)
E/AndroidRuntime( 1327): at android.app.ProfileManager.getActiveProfileGroup(ProfileManager.java:242)
E/AndroidRuntime( 1327): at android.media.AudioManager.shouldVibrate(AudioManager.java:784)
E/AndroidRuntime( 1327): at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.updateVolume(PhoneStatusBarPolicy.java:254)
E/AndroidRuntime( 1327): at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.<init>(PhoneStatusBarPolicy.java:195)
E/AndroidRuntime( 1327): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:311)
E/AndroidRuntime( 1327): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:97)
E/AndroidRuntime( 1327): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2376)
E/AndroidRuntime( 1327): ... 10 more
Is there anyway to get
Code:
[b]E/AndroidRuntime( 1327): ... 10 more[/b]
to actually show the other 10 lines so I can do a complete trace?
Thank you for any help you can offer,
Pax
Click to expand...
Click to collapse
This might not help you with the query you asked, but you should be able to debug your crash in the immediate line after E/AndroidRuntime( 1327): Caused by: java.lang.NullPointerException. Looks like there is a NullPointerException in line 223 of ProfileManager.java in the method android.app.ProfileManager.getNotificationGroupForPackage.
Hope that helps.
superatmos said:
This might not help you with the query you asked, but you should be able to debug your crash in the immediate line after E/AndroidRuntime( 1327): Caused by: java.lang.NullPointerException. Looks like there is a NullPointerException in line 223 of ProfileManager.java in the method android.app.ProfileManager.getNotificationGroupForPackage.
Hope that helps.
Click to expand...
Click to collapse
Thanks, I'm trying to fix that by throwing an
Code:
if (object != null)[code] around party of that method.
Sent from my R800x using Tapatalk 2

Need some help

Hello,
Im working on porting an Evo 4g rom to the Thunderbolt. Problems im running into deal with 4g and WiMax differences in the rom. I dont know what to change or where to look as Im new to this. The phone works making and reciving calls. Im just stuck on data.
I do have a log cat with:
E/AndroidRuntime( 1715): FATAL EXCEPTION: main
E/AndroidRuntime( 1715): java.lang.NoClassDefFoundError: com.android.internal.telephony.cat.CatService
E/AndroidRuntime( 1715): at com.android.stk.StkAppService.onStart(StkAppService.java:180)
E/AndroidRuntime( 1715): at android.app.Service.onStartCommand(Service.java:428)
E/AndroidRuntime( 1715): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2160)
E/AndroidRuntime( 1715): at android.app.ActivityThread.access$2800(ActivityThread.java:123)
E/AndroidRuntime( 1715): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1002)
E/AndroidRuntime( 1715): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1715): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 1715): at android.app.ActivityThread.main(ActivityThread.java:3835)
E/AndroidRuntime( 1715): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1715): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 1715): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime( 1715): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime( 1715): at dalvik.system.NativeStart.main(Native Method)
I know i have some apk editing to do for the menu stuff but im focusing on just getting the data to work.
Thanks for pointing me in the direction I need to go.

[Q] Changing Settings to Holo.Light causing fc?

So, I am trying to theme my OmniRom Settings.apk in Holo Light style, using styles.xml.
All works perfectly, exept for one thing:
When tapping "Quick Launch Shortcuts", I get a force close.
Got a log here:
Code:
D/SubSettings( 2133): Launching fragment org.omnirom.omnigears.interfacesettings.NavRing
D/AndroidRuntime( 2133): Shutting down VM
W/dalvikvm( 2133): threadid=1: thread exiting with uncaught exception (group=0x4178fba8)
E/AndroidRuntime( 2133): FATAL EXCEPTION: main
E/AndroidRuntime( 2133): Process: com.android.settings, PID: 2133
E/AndroidRuntime( 2133): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: android.view.InflateException: Binary XML file line #7: Error inflating class com.android.internal.widget.multiwaveview.GlowPadView
E/AndroidRuntime( 2133): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184)
E/AndroidRuntime( 2133): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
E/AndroidRuntime( 2133): at android.app.ActivityThread.access$800(ActivityThread.java:135)
E/AndroidRuntime( 2133): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
E/AndroidRuntime( 2133): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 2133): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 2133): at android.app.ActivityThread.main(ActivityThread.java:5001)
E/AndroidRuntime( 2133): at java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 2133): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 2133): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
E/AndroidRuntime( 2133): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
E/AndroidRuntime( 2133): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2133): Caused by: android.view.InflateException: Binary XML file line #7: Error inflating class com.android.internal.widget.multiwaveview.GlowPadView
E/AndroidRuntime( 2133): at android.view.LayoutInflater.createView(LayoutInflater.java:620)
E/AndroidRuntime( 2133): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
E/AndroidRuntime( 2133): at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
E/AndroidRuntime( 2133): at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
E/AndroidRuntime( 2133): at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
E/AndroidRuntime( 2133): at org.omnirom.omnigears.interfacesettings.NavRing.onCreateView(NavRing.java:108)
E/AndroidRuntime( 2133): at android.app.Fragment.performCreateView(Fragment.java:1700)
E/AndroidRuntime( 2133): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:890)
E/AndroidRuntime( 2133): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
E/AndroidRuntime( 2133): at android.app.BackStackRecord.run(BackStackRecord.java:684)
E/AndroidRuntime( 2133): at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447)
E/AndroidRuntime( 2133): at android.app.Activity.performStart(Activity.java:5240)
E/AndroidRuntime( 2133): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2157)
E/AndroidRuntime( 2133): ... 11 more
E/AndroidRuntime( 2133): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 2133): at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 2133): at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
E/AndroidRuntime( 2133): at android.view.LayoutInflater.createView(LayoutInflater.java:594)
E/AndroidRuntime( 2133): ... 23 more
E/AndroidRuntime( 2133): Caused by: java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x10
E/AndroidRuntime( 2133): at android.content.res.TypedArray.getDimension(TypedArray.java:399)
E/AndroidRuntime( 2133): at com.android.internal.widget.multiwaveview.GlowPadView.<init>(GlowPadView.java:242)
E/AndroidRuntime( 2133): ... 26 more
W/ActivityManager( 799): Force finishing activity com.android.settings/.SubSettings
W/ActivityManager( 799): Force finishing activity com.android.settings/.SubSettings
The issue only appears with light themed settings, so it must be caused by one of my changes in styles.xml.
Any help would be greatly appreciated.
Thanks in advance.
Solved by copying the related xmls from unmodified apk over to modified one.

Crash when trying to select Tiles[LOG]

Hi, I installed my rom, and it crashes like this:
E/AndroidRuntime( 2414): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.drawable.Drawable.setColorFilter(int, android.graphics.PorterDuff$Mode)' on a null object reference
E/AndroidRuntime( 2414): at com.android.settings.cyanogenmod.qs.QSTiles.buildQSTile(QSTiles.java:226)
E/AndroidRuntime( 2414): at com.android.settings.cyanogenmod.qs.QSTiles.onActivityCreated(QSTiles.java:76)
E/AndroidRuntime( 2414): at android.app.Fragment.performActivityCreated(Fragment.java:2061)
E/AndroidRuntime( 2414): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:912)
E/AndroidRuntime( 2414): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)
E/AndroidRuntime( 2414): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1049)
E/AndroidRuntime( 2414): at android.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:1869)
E/AndroidRuntime( 2414): at android.app.Activity.performCreateCommon(Activity.java:6856)
E/AndroidRuntime( 2414): at android.app.Activity.performCreate(Activity.java:6863)
E/AndroidRuntime( 2414): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
E/AndroidRuntime( 2414): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2306)
E/AndroidRuntime( 2414): ... 10 more
Just crash when I trying to get in. I tried to google it, but only same log in pastebin, I can't fine any solutions or something lie that. Any ideas?

Rooted Saturn (HDX 8.9 2014) on Fire OS 4.5.2 + com.google.android.gms not working

Hi,
I managed to root the Saturn (2014 HDX) on 4.5.2 using KingRoot 4.0+. I adb-pushed the latest ARM-4.4 GApps downloaded from OpenGapps: Apps went into /system/priv-app and the libs into /system/lib.
After having cleared the dalvik-cache, when I reboot in to the device, gms continually crashes with:
HTML:
I/ActivityManager( 1014): Start proc com.google.android.gms for service com.google.android.gms/.icing.service.IndexService: pid=7125 uid=32004 gids={72004, 3003, 1007, 1028, 1015, 3002, 3001, 3007, 2001, 3006, 9001}
E/AndroidRuntime( 7125): FATAL EXCEPTION: main
E/AndroidRuntime( 7125): Process: com.google.android.gms, PID: 7125
E/AndroidRuntime( 7125): java.lang.RuntimeException: Unable to instantiate application com.google.android.gms.common.app.GmsApplication: java.lang.NullPointerException
E/AndroidRuntime( 7125): at android.app.LoadedApk.makeApplication(LoadedApk.java:551)
E/AndroidRuntime( 7125): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4558)
E/AndroidRuntime( 7125): at android.app.ActivityThread.access$1500(ActivityThread.java:145)
E/AndroidRuntime( 7125): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1276)
E/AndroidRuntime( 7125): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 7125): at android.os.Looper.loop(Looper.java:145)
E/AndroidRuntime( 7125): at android.app.ActivityThread.main(ActivityThread.java:5266)
E/AndroidRuntime( 7125): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 7125): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 7125): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:826)
E/AndroidRuntime( 7125): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:642)
E/AndroidRuntime( 7125): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 7125): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 7125): at android.content.ContextWrapper.getSystemService(ContextWrapper.java:575)
E/AndroidRuntime( 7125): at android.content.ContextWrapper.setProfileManager(ContextWrapper.java:88)
E/AndroidRuntime( 7125): at android.content.ContextWrapper.<init>(ContextWrapper.java:63)
E/AndroidRuntime( 7125): at com.google.android.gms.common.app.BaseApplicationContext.<init>(SourceFile:37)
E/AndroidRuntime( 7125): at com.google.android.gms.common.app.BaseApplicationContext.<init>(SourceFile:33)
E/AndroidRuntime( 7125): at com.google.android.gms.common.app.c.<init>(SourceFile:45)
E/AndroidRuntime( 7125): at com.google.android.gms.common.app.GmsApplication.<init>(SourceFile:73)
E/AndroidRuntime( 7125): at java.lang.Class.newInstanceImpl(Native Method)
E/AndroidRuntime( 7125): at java.lang.Class.newInstance(Class.java:1208)
E/AndroidRuntime( 7125): at android.app.Instrumentation.newApplication(Instrumentation.java:990)
E/AndroidRuntime( 7125): at android.app.Instrumentation.newApplication(Instrumentation.java:975)
E/AndroidRuntime( 7125): at android.app.LoadedApk.makeApplication(LoadedApk.java:525)
E/AndroidRuntime( 7125): ... 11 more
I/ActivityManager( 1014): handleApplicationCrash
I/AndroidRuntime( 7125): To Report FATAL to activityManagerService
Any pointers? GApps seem to work good with Apollo running 4.5.2 even without root... What am I missing?

Categories

Resources