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
Related
Hi,
I'm modifying phone.apk on android 1.6 for research activities.
First I added following lines to call_card.xml and everything worked fine
<ImageView
android:src="@drawable/unknowncaller"
android:layout_width="320sp"
android:layout_height="320sp"
></ImageView>
Then I modified the ImageView and added an id:
<ImageView
android:id="@+id/callscreen_test_test"
android:src="@drawable/unknowncaller"
android:layout_width="320sp"
android:layout_height="320sp"
></ImageView>
Since then I get the following exception:
E/AndroidRuntime( 961): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 961): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.phone/com.android.phone.InCallScreen}: java.lang.ClassCastException: android.widget.EditText
E/AndroidRuntime( 961): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2401)
E/AndroidRuntime( 961): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2417)
E/AndroidRuntime( 961): at android.app.ActivityThread.access $2100(ActivityThread.java:116)
E/AndroidRuntime( 961): at android.app.ActivityThread $H.handleMessage(ActivityThread.java:1794)
E/AndroidRuntime( 961): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 961): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 961): at android.app.ActivityThread.main(ActivityThread.java:4203)
E/AndroidRuntime( 961): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 961): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 961): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 961): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
E/AndroidRuntime( 961): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 961): Caused by: java.lang.ClassCastException: android.widget.EditText
E/AndroidRuntime( 961): at com.android.phone.InCallScreen.onCreate(InCallScreen.java:462)
E/AndroidRuntime( 961): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: 1123)
E/AndroidRuntime( 961): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2364)
E/AndroidRuntime( 961): ... 11 more
I don't think that's a bug in the syntax (or I'm blind?), I think that's a bug in compiling and some R.id.* were not updated or so... I compile phone.apk with "mmm packages/apps/Phone".
Please help me.
Thanks
No idea?
Does anyone knows an opensource implementation from an modified phone.apk where I can have a look at?
Thanks
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.
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?
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?
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?