E/AndroidRuntime( 6138): FATAL EXCEPTION: main
E/AndroidRuntime( 6138): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sonyericsson.notes/com.sonyericsson.notes.NoteEditorActivity}: android.database.sqlite.SQLiteException: no such column: notes: , while compiling: SELECT doodle_path FROM notes WHERE (_id = notes AND deleted= '0')
E/AndroidRuntime( 6138): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1967)
E/AndroidRuntime( 6138): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1992)
E/AndroidRuntime( 6138): at android.app.ActivityThread.access$600(ActivityThread.java:127)
E/AndroidRuntime( 6138): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158)
E/AndroidRuntime( 6138): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 6138): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 6138): at android.app.ActivityThread.main(ActivityThread.java:4448)
E/AndroidRuntime( 6138): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 6138): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 6138): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:823)
E/AndroidRuntime( 6138): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:590)
E/AndroidRuntime( 6138): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 6138): Caused by: android.database.sqlite.SQLiteException: no such column: notes: , while compiling: SELECT doodle_path FROM notes WHERE (_id = notes AND deleted= '0')
E/AndroidRuntime( 6138): at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
E/AndroidRuntime( 6138): at android.database.sqlite.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:68)
E/AndroidRuntime( 6138): at android.database.sqlite.SQLiteProgram.compileSql(SQLiteProgram.java:143)
E/AndroidRuntime( 6138): at android.database.sqlite.SQLiteProgram.compileAndbindAllArgs(SQLiteProgram.java:361)
E/AndroidRuntime( 6138): at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:127)
E/AndroidRuntime( 6138): at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:94)
E/AndroidRuntime( 6138): at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:53)
E/AndroidRuntime( 6138): at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:47)
E/AndroidRuntime( 6138): at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1570)
E/AndroidRuntime( 6138): at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:354)
E/AndroidRuntime( 6138): at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:291)
E/AndroidRuntime( 6138): at com.sonyericsson.notes.NoteProvider.query(NoteProvider.java:160)
E/AndroidRuntime( 6138): at android.content.ContentProvider$Transport.query(ContentProvider.java:178)
E/AndroidRuntime( 6138): at android.content.ContentResolver.query(ContentResolver.java:311)
E/AndroidRuntime( 6138): at com.sonyericsson.notes.NoteEditorActivity.onCreate(NoteEditorActivity.java:366)
E/AndroidRuntime( 6138): at android.app.Activity.performCreate(Activity.java:4465)
E/AndroidRuntime( 6138): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
E/AndroidRuntime( 6138): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1931)
E/AndroidRuntime( 6138): ... 11 more
What's thw problem? It's from the logcat
Andrewasth said:
E/AndroidRuntime( 6138): FATAL EXCEPTION: main
E/AndroidRuntime( 6138): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sonyericsson.notes/com.sonyericsson.notes.NoteEditorActivity}: android.database.sqlite.SQLiteException: no such column: notes: , while compiling: SELECT doodle_path FROM notes WHERE (_id = notes AND deleted= '0')
What's thw problem? It's from the logcat
Click to expand...
Click to collapse
It seems that SQL database used by com.sonyericsson.notes application is corrupted. There is no "notes" column in the "notes" table.
knutson said:
It seems that SQL database used by com.sonyericsson.notes application is corrupted. There is no "notes" column in the "notes" table.
Click to expand...
Click to collapse
Yeah! Thank you! Figured it out
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
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.
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?