[Nexus 5 Original Android Development] plasticbiker:
com.android.phone crashing

On the latest version, com.android.phone crashes on an incoming call. (I was wondering why calls weren't coming through today). It's trying to downgrade the blacklist DB, which should be empty. I'm trying to figure out how to reset the DB.

Relevant Log...

02-01 17:37:35.756 4713 4713 D CallNotifier: RINGING... (new)

02-01 17:37:35.756 4713 4713 D CallNotifier: onNewRingingConnection(): state = RINGING, conn = { incoming: true state: INCOMING post dial state: NOT_STARTED }

02-01 17:37:35.756 4713 4713 V BlacklistProvider: Query uri=content://blacklist/bynumber/<***removed***>, match=2

02-01 17:37:35.766 4713 4713 D AndroidRuntime: Shutting down VM

02-01 17:37:35.766 4713 4713 W dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x4183fc80)

02-01 17:37:35.766 4713 4713 E AndroidRuntime: FATAL EXCEPTION: main

02-01 17:37:35.766 4713 4713 E AndroidRuntime: Process: com.android.phone, PID: 4713

02-01 17:37:35.766 4713 4713 E AndroidRuntime: android.database.sqlite.SQLiteException: Can't downgrade database from version 3 to 2

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at android.database.sqlite.SQLiteOpenHelper.onDowngrade(SQLiteOpenHelper.java:361)

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:255)

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:188)

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at com.android.providers.telephony.BlacklistProvider.query(BlacklistProvider.java:151)

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at android.content.ContentProvider.query(ContentProvider.java:857)

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at android.content.ContentProvider$Transport.query(ContentProvider.java:200)

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at android.content.ContentResolver.query(ContentResolver.java:461)

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at android.content.ContentResolver.query(ContentResolver.java:404)

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at com.android.internal.telephony.util.BlacklistUtils.isListed(BlacklistUtils.java:119)

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at com.android.phone.CallNotifier.onNewRingingConnection(CallNotifier.java:429)

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at com.android.phone.CallNotifier.handleMessage(CallNotifier.java:259)

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at com.android.phone.CallStateMonitor.handleMessage(CallStateMonitor.java:113)

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java:102)

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at android.os.Looper.loop(Looper.java:136)

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at android.app.ActivityThread.main(ActivityThread.java:5081)

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at java.lang.reflect.Method.invokeNative(Native Method)

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at java.lang.reflect.Method.invoke(Method.java:515)

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)

02-01 17:37:35.766 4713 4713 E AndroidRuntime:	at dalvik.system.NativeStart.main(Native Method)

---------- Post added at 06:49 PM ---------- Previous post was at 06:39 PM ----------

Clearing data on com.android.telephony took care of it.