[WIP]Porting to LGP500


Jul 8, 2011
1
0
11
#1
Hello!

I'm working on a miui port for LG Optimus One and i'm really making progress but i've encountered an error i can't seem to handle.


Code:
E/ActivityThread( 2524): Failed to find provider info for settings
E/AndroidRuntime( 2524): *** FATAL EXCEPTION IN SYSTEM PROCESS: ConnectivityThread
E/AndroidRuntime( 2524): java.lang.NullPointerException
E/AndroidRuntime( 2524): 	at android.provider.Settings$NameValueCache.getString(Settings.java:659)
E/AndroidRuntime( 2524): 	at android.provider.Settings$Secure.getString(Settings.java:2781)
E/AndroidRuntime( 2524): 	at com.android.server.ConnectivityService.<init>(ConnectivityService.java:265)
E/AndroidRuntime( 2524): 	at com.android.server.ConnectivityService.<init>(ConnectivityService.java:66)
E/AndroidRuntime( 2524): 	at com.android.server.ConnectivityService$ConnectivityThread.run(ConnectivityService.java:230)
E/AndroidRuntime( 2524): Error reporting crash
E/AndroidRuntime( 2524): java.lang.NullPointerException
E/AndroidRuntime( 2524): 	at android.os.DropBoxManager.isTagEnabled(DropBoxManager.java:288)
E/AndroidRuntime( 2524): 	at com.android.server.am.ActivityManagerService.addErrorToDropBox(ActivityManagerService.java:6995)
E/AndroidRuntime( 2524): 	at com.android.server.am.ActivityManagerService.handleApplicationCrash(ActivityManagerService.java:6711)
E/AndroidRuntime( 2524): 	at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 2524): 	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:854)
E/AndroidRuntime( 2524): 	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:851)
E/installd( 1468): eof
E/installd( 1468): failed to read size
I/SamplingProfilerIntegration( 2569): Profiler is disabled.
E/Zygote  ( 2569): Couldn't find preloaded-classes.
Can anyone help?

Thank you!
 

INCZ

Members
Jul 27, 2011
4
0
11
#5
E/ActivityThread( 2524): Failed to find provider info for settings
E/AndroidRuntime( 2524): *** FATAL EXCEPTION IN SYSTEM PROCESS: ConnectivityThread
E/AndroidRuntime( 2524): ja
E/AndroidRuntime( 2524): at android.provider.Settings$NameValueCache.getString(Settings.java:659)
E/AndroidRuntime( 2524): at android.provider.Settings$Secure.getString(Settings.java:2781)
E/AndroidRuntime( 2524): at com.android.server.ConnectivityService.<init>(ConnectivityService.java:265)
E/AndroidRuntime( 2524): at com.android.server.ConnectivityService.<init>(ConnectivityService.java:66)
E/AndroidRuntime( 2524): at com.android.server.ConnectivityService$ConnectivityThread.run(ConnectivityService.java:230)
E/AndroidRuntime( 2524): Error reporting crash
E/AndroidRuntime( 2524): java.lang.NullPointerException
E/AndroidRuntime( 2524): at android.os.DropBoxManager.isTagEnabled(DropBoxManager.java:288)
E/AndroidRuntime( 2524): at com.android.server.am.ActivityManagerService.addErrorToDropBox(ActivityManagerService.java:6995)


Sounds that something like settings for android cant find some string's inside jave [some error in lines 2524, you must know java scripts :p
 
Jan 24, 2011
4
0
11
#7
E/ActivityThread( 2524): Failed to find provider info for settings
E/AndroidRuntime( 2524): *** FATAL EXCEPTION IN SYSTEM PROCESS: ConnectivityThread
E/AndroidRuntime( 2524): ja
E/AndroidRuntime( 2524): at android.provider.Settings$NameValueCache.getString(Settings.java:659)
E/AndroidRuntime( 2524): at android.provider.Settings$Secure.getString(Settings.java:2781)
E/AndroidRuntime( 2524): at com.android.server.ConnectivityService.<init>(ConnectivityService.java:265)
E/AndroidRuntime( 2524): at com.android.server.ConnectivityService.<init>(ConnectivityService.java:66)
E/AndroidRuntime( 2524): at com.android.server.ConnectivityService$ConnectivityThread.run(ConnectivityService.java:230)
E/AndroidRuntime( 2524): Error reporting crash
E/AndroidRuntime( 2524): java.lang.NullPointerException
E/AndroidRuntime( 2524): at android.os.DropBoxManager.isTagEnabled(DropBoxManager.java:288)
E/AndroidRuntime( 2524): at com.android.server.am.ActivityManagerService.addErrorToDropBox(ActivityManagerService.java:6995)


Sounds that something like settings for android cant find some string's inside jave [some error in lines 2524, you must know java scripts :p
2524 is a port number ( use dalvik debug to trace if possible) you could try to replace AccountAndSyncSettings.apk or ApplicationsProvider.apk with a miui known working one?