View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010518 | MMA | Synchronization | public | 2013-02-13 11:02 | 2013-03-19 01:26 |
Reporter | jiri | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | random |
Status | closed | Resolution | fixed | ||
Summary | 0010518: Handle MediaStore cursor errors | ||||
Description | It seems that MediaStore cursors simply stop working for not obvious reason sometimes. Per IM discussions, there's probably only one way to fix it and it's be catching IllegalStateException on various places where these cursors are used and failing gracefully in such a case. Per specific cases, we might try to repeat the failed action, or simply continue. | ||||
Tags | No tags attached. | ||||
Fixed in build | 107 | ||||
|
Another type of exception that probably should be handled: android.database.sqlite.SQLiteDatabaseCorruptException: database disk image is malformed at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:174) at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:136) at android.content.ContentProviderProxy.query(ContentProviderNative.java:358) at android.content.ContentResolver.query(ContentResolver.java:311) at com.ventismedia.android.mediamonkeybeta.db.dao.ms.AlbumMsDao.getAlbumArt(AlbumMsDao.java:35) at com.ventismedia.android.mediamonkeybeta.sync.ms.MediaSync.syncAlbumArtwork(MediaSync.java:161) at com.ventismedia.android.mediamonkeybeta.sync.ms.MediaSync.remoteOnly(MediaSync.java:287) at com.ventismedia.android.mediamonkeybeta.sync.ms.MediaSync.sync(MediaSync.java:124) at com.ventismedia.android.mediamonkeybeta.sync.ms.MediaStoreSyncService.doSync(MediaStoreSyncService.java:149) at com.ventismedia.android.mediamonkeybeta.sync.ms.MediaStoreSyncService$SyncThread.run(MediaStoreSyncService.java:121) |
|
Fixed in build 107 |
|
Verified 114 |