I am trying to port some apps to my phone
the apps are from Jelly Bean and my phone is ICS
I have a Xperia Arc S and i am trying to port from Xperia i1
i am wondering if somebody can help me out as to what i should do with the native errors i get
This is just one of them :
Code:
E/AndroidRuntime( 2017): java.lang.VerifyError: com/android/calendar/alerts/AlertReceiver
E/AndroidRuntime( 2017): at java.lang.Class.newInstanceImpl(Native Method)
E/AndroidRuntime( 2017): at java.lang.Class.newInstance(Class.java:1319)
E/AndroidRuntime( 2017): at android.app.ActivityThread.handleReceiver(ActivityThread.java:2106)
E/AndroidRuntime( 2017): at android.app.ActivityThread.access$1500(ActivityThread.java:127)
E/AndroidRuntime( 2017): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1208)
E/AndroidRuntime( 2017): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2017): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2017): at android.app.ActivityThread.main(ActivityThread.java:4441)
E/AndroidRuntime( 2017): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2017): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2017): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime( 2017): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/AndroidRuntime( 2017): at dalvik.system.NativeStart.main(Native Method)
Or can somebody tell me how to port applications using Framework.jar and Services.jar
Any kind of help will be appreciated , please help , i know its hard , but i want to learn
Thanks
Please can some dev help me i really need to know
Sahaab said:
Please can some dev help me i really need to know
Click to expand...
Click to collapse
Well I am not a developer but I guess the problem is that you are trying to port different api level app into another different api level android os
..
majdinj said:
Well I am not a developer but I guess the problem is that you are trying to port different api level app into another different api level android os
..
Click to expand...
Click to collapse
Yep, thats wht im trying to do
Sent from my LT18i
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 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
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.
Hey Guys, I was porting MIUI 2.11.30 rom of ARC S to Live With Walkman with the help of SANDY7 tutorial
After doing all the thing, I was getting bootloop
Here is logcat, I know that there is some problem with HDMI display, I know our wt19i does not contain hdmi display, it is mdpi but I don't know what to change...
Need Help!!
This is full Logcat (http://pastebin.com/Ss3tX1w0)
And here is the error which is causing bootloop
Code:
W/dalvikvm( 345): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/sonyericsson/hdmi/controlservice/HDMIDisplay;
W/dalvikvm( 345): Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Lcom/sonyericsson/hdmi/controlservice/HDMIControlService;
W/dalvikvm( 345): Class init failed in newInstance call (Lcom/sonyericsson/hdmi/controlservice/HDMIControlService;)
W/dalvikvm( 345): threadid=12: thread exiting with uncaught exception (group=0x2b542210)
I/Email ( 1342): Onetime initialization: 1
I/Email ( 1342): Onetime initialization: 2
E/AndroidRuntime( 345): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
E/AndroidRuntime( 345): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 345): at java.lang.Class.newInstanceImpl(Native Method)
E/AndroidRuntime( 345): at java.lang.Class.newInstance(Class.java:1319)
E/AndroidRuntime( 345): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2254)
E/AndroidRuntime( 345): at android.app.ActivityThread.access$1600(ActivityThread.java:127)
E/AndroidRuntime( 345): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1212)
E/AndroidRuntime( 345): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 345): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 345): at com.android.server.ServerThread.run(SystemServer.java:748)
E/AndroidRuntime( 345): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime( 345): at com.sonyericsson.hdmi.controlservice.HDMIControlService.<clinit>(HDMIControlService.java:87)
E/AndroidRuntime( 345): ... 8 more
E/AndroidRuntime( 345): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load hdmidisplay: findLibrary returned null
E/AndroidRuntime( 345): at java.lang.Runtime.loadLibrary(Runtime.java:365)
E/AndroidRuntime( 345): at java.lang.System.loadLibrary(System.java:535)
E/AndroidRuntime( 345): at com.sonyericsson.hdmi.controlservice.HDMIDisplay.<clinit>(HDMIDisplay.java:56)
E/AndroidRuntime( 345): ... 9 more
I/ActivityManager( 345): Start proc com.sonyericsson.credentialmanagerservice for broadcast com.sonyericsson.credentialmanagerservice/.CredentialManagerBootCompleteReceiver: pid=1476 uid=1000 gids={1015, 3002, 3001, 3003, 3006, 3007, 1007}
I/Process ( 345): Sending signal. PID: 345 SIG: 9
I/Zygote ( 161): Exit zygote because system server (345) has terminated
I am new to ROM porting, so please be soft on me :laugh:
deamonoid said:
Hey Guys, I was porting MIUI 2.11.30 rom of ARC S to Live With Walkman with the help of SANDY7 tutorial
After doing all the thing, I was getting bootloop
Here is logcat, I know that there is some problem with HDMI display, I know our wt19i does not contain hdmi display, it is mdpi but I don't know what to change...
Need Help!!
This is full Logcat (http://pastebin.com/Ss3tX1w0)
And here is the error which is causing bootloop
Code:
W/dalvikvm( 345): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/sonyericsson/hdmi/controlservice/HDMIDisplay;
W/dalvikvm( 345): Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Lcom/sonyericsson/hdmi/controlservice/HDMIControlService;
W/dalvikvm( 345): Class init failed in newInstance call (Lcom/sonyericsson/hdmi/controlservice/HDMIControlService;)
W/dalvikvm( 345): threadid=12: thread exiting with uncaught exception (group=0x2b542210)
I/Email ( 1342): Onetime initialization: 1
I/Email ( 1342): Onetime initialization: 2
E/AndroidRuntime( 345): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
E/AndroidRuntime( 345): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 345): at java.lang.Class.newInstanceImpl(Native Method)
E/AndroidRuntime( 345): at java.lang.Class.newInstance(Class.java:1319)
E/AndroidRuntime( 345): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2254)
E/AndroidRuntime( 345): at android.app.ActivityThread.access$1600(ActivityThread.java:127)
E/AndroidRuntime( 345): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1212)
E/AndroidRuntime( 345): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 345): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 345): at com.android.server.ServerThread.run(SystemServer.java:748)
E/AndroidRuntime( 345): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime( 345): at com.sonyericsson.hdmi.controlservice.HDMIControlService.<clinit>(HDMIControlService.java:87)
E/AndroidRuntime( 345): ... 8 more
E/AndroidRuntime( 345): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load hdmidisplay: findLibrary returned null
E/AndroidRuntime( 345): at java.lang.Runtime.loadLibrary(Runtime.java:365)
E/AndroidRuntime( 345): at java.lang.System.loadLibrary(System.java:535)
E/AndroidRuntime( 345): at com.sonyericsson.hdmi.controlservice.HDMIDisplay.<clinit>(HDMIDisplay.java:56)
E/AndroidRuntime( 345): ... 9 more
I/ActivityManager( 345): Start proc com.sonyericsson.credentialmanagerservice for broadcast com.sonyericsson.credentialmanagerservice/.CredentialManagerBootCompleteReceiver: pid=1476 uid=1000 gids={1015, 3002, 3001, 3003, 3006, 3007, 1007}
I/Process ( 345): Sending signal. PID: 345 SIG: 9
I/Zygote ( 161): Exit zygote because system server (345) has terminated
I am new to ROM porting, so please be soft on me :laugh:
Click to expand...
Click to collapse
delete the HDMI apk from system/app
sandy7 said:
delete the HDMI apk from system/app
Click to expand...
Click to collapse
Thanks Man, you always ROCKKSS!!!
Now Miui is successfully booting, but there is MIUIhome FC and it is not even loading, no way to make launcher work, I will try to find out the problem.
Anyway Thanks man!!
Miuihome is source bug in latest version...
Sent from my SK17i using XDA Premium HD app
sandy7 said:
Miuihome is source bug in latest version...
Sent from my SK17i using XDA Premium HD app
Click to expand...
Click to collapse
ok... It means I have to use old MIUIHome.apk.
Thanks man!!
Old may also problem....I some how solved it..
Sent from my SK17i using XDA Premium HD app
I have read in different threads that the new miuihome is hooked to shelld, so if this daemon not running, miuihome cant' obtain those services.
and there is fix in one of the thread but this fix should be done in kernel
This is the link (http://forum.xda-developers.com/showpost.php?p=34287168&postcount=1962)
I don't know much but just trying to help from my side
sandy7 said:
Old may also problem....I some how solved it..
Click to expand...
Click to collapse
So can I use your MIUIHome.apk, if it works....
This is ROM is for my personal use only.
deamonoid said:
I have read in different threads that the new miuihome is hooked to shelld, so if this daemon not running, miuihome cant' obtain those services.
and there is fix in one of the thread but this fix should be done in kernel
This is the link (http://forum.xda-developers.com/showpost.php?p=34287168&postcount=1962)
I don't know much but just trying to help from my side
So can I use your MIUIHome.apk, if it works....
This is ROM is for my personal use only.
Click to expand...
Click to collapse
Yes just replace those 4 files in the /system and use the kernel from my thread...I have modified the kernel to start the demon at booting...
EDIT:
i mean replace these files
/system/xbin/shelld
/system/lib/libshell.so
/system/lib/libshell_jni.so
/system/lib/libshellservice.so
and use the kernel from my miui thread
Sent from my SK17i using XDA Premium HD app
sandy7 said:
Yes just replace those 4 files in the /system and use the kernel from my thread...I have modified the kernel to start the demon at booting...
EDIT:
i mean replace these files
/system/xbin/shelld
/system/lib/libshell.so
/system/lib/libshell_jni.so
/system/lib/libshellservice.so
and use the kernel from my miui thread
Sent from my SK17i using XDA Premium HD app
Click to expand...
Click to collapse
IT WORKED!!!
THANKS MAN!!
This is my first ROM and without you, it would not be possible!! :victory:
u are welcome
If you click dialer you get error message that unfortunately contacts has stopped.
I have tried wipe cache, wipe dalvik fix permissions. This is on a fresh installed of cm10.1 2m from stock rooted ICS build. I did import my contacts from my back up pro. Only thing left I can think of thanks in advance for any help.
CM question answers discussion thread on the forum .
jje
Wipe contacts and dialler data
slap20 said:
Wipe contacts and dialler data
Click to expand...
Click to collapse
I had seen thar suggested. How do I wipe indivual data caches? Or do you mean deleting all contacta indivdual?
Settings/apps/all......find the apks, tap on them, hit wipe data
Thank you so much! That fixed it. So glad I didn't have to reflash
slaphead20 said:
Settings/apps/all......find the apks, tap on them, hit wipe data
Click to expand...
Click to collapse
Hi guys,
I'm sorry but I still have this problem. I wiped data from everything that may be related (contacts, dialer, google contacts, dialer/contacts storage) but still no joy.
I flashed the phone with CM 10.1 M3 a few days ago but frankly I don't remember I've ever seen the stock dialer open.
Logcat says:
W/dalvikvm( 8958): threadid=1: thread exiting with uncaught exception (group=0x40b54930)
E/AndroidRuntime( 8958): FATAL EXCEPTION: main
E/AndroidRuntime( 8958): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.contacts/com.android.contacts.activities.DialtactsActivity}: java.lang.NullPointerException
E/AndroidRuntime( 8958): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2307)
E/AndroidRuntime( 8958): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2357)
E/AndroidRuntime( 8958): at android.app.ActivityThread.access$600(ActivityThread.java:153)
E/AndroidRuntime( 8958): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247)
E/AndroidRuntime( 8958): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 8958): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 8958): at android.app.ActivityThread.main(ActivityThread.java:5226)
E/AndroidRuntime( 8958): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 8958): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 8958): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 8958): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime( 8958): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 8958): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 8958): at com.android.contacts.activities.DialtactsActivity.setupDialer(DialtactsActivity.java:747)
E/AndroidRuntime( 8958): at com.android.contacts.activities.DialtactsActivity.onCreate(DialtactsActivity.java:530)
E/AndroidRuntime( 8958): at android.app.Activity.performCreate(Activity.java:5104)
E/AndroidRuntime( 8958): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
E/AndroidRuntime( 8958): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2261)
E/AndroidRuntime( 8958): ... 11 more
Any ideas or should I buy an iPhone?
Aviopene said:
Hi guys,
I'm sorry but I still have this problem. I wiped data from everything that may be related (contacts, dialer, google contacts, dialer/contacts storage) but still no joy.
I flashed the phone with CM 10.1 M3 a few days ago but frankly I don't remember I've ever seen the stock dialer open.
Logcat says:
W/dalvikvm( 8958): threadid=1: thread exiting with uncaught exception (group=0x40b54930)
E/AndroidRuntime( 8958): FATAL EXCEPTION: main
E/AndroidRuntime( 8958): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.contacts/com.android.contacts.activities.DialtactsActivity}: java.lang.NullPointerException
E/AndroidRuntime( 8958): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2307)
E/AndroidRuntime( 8958): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2357)
E/AndroidRuntime( 8958): at android.app.ActivityThread.access$600(ActivityThread.java:153)
E/AndroidRuntime( 8958): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247)
E/AndroidRuntime( 8958): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 8958): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 8958): at android.app.ActivityThread.main(ActivityThread.java:5226)
E/AndroidRuntime( 8958): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 8958): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 8958): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 8958): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime( 8958): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 8958): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 8958): at com.android.contacts.activities.DialtactsActivity.setupDialer(DialtactsActivity.java:747)
E/AndroidRuntime( 8958): at com.android.contacts.activities.DialtactsActivity.onCreate(DialtactsActivity.java:530)
E/AndroidRuntime( 8958): at android.app.Activity.performCreate(Activity.java:5104)
E/AndroidRuntime( 8958): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
E/AndroidRuntime( 8958): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2261)
E/AndroidRuntime( 8958): ... 11 more
Any ideas or should I buy an iPhone?
Click to expand...
Click to collapse
Found the cause of the problem. It was the theme's fault! I was (stupidly, I admit it) using an old CM7 theme (goo.gl -slash- 5wyP4) that was also working on CM9 but not in CM10.1. Apparently the stack trace was saying that the dialer activity failed to draw the interface.
Cheers
Avio