Closed Bug 743330 Opened 13 years ago Closed 13 years ago

Profile migration may be migrating a favicon twice

Categories

(Firefox for Android Graveyard :: General, defect)

14 Branch
ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 717428

People

(Reporter: nhirata, Unassigned)

References

()

Details

Attachments

(2 files)

1. on an android device, install fennec xul 04/06/2012 2. sync with an account : 3. use adb install -r to install fennec nightly 04/06/2012 4. start adb logcat -v time 5. launch fennec 6. after migration is done, look at the log. Expected: no errors Actual : errors: 04-06 11:29:06.805 E/Database( 3595): Error updating guid=dLz7cLh1-Wnh favicon_url=chrome://branding/content/favicon32.png favicon=[B@48251988 url_key=about:home deleted=0 modified=1333736946807 using UPDATE images SET guid=?, favicon_url=?, favicon=?, url_key=?, deleted=?, modified=? WHERE url_key = ? 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): SQLite Exception during applyBatch: 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): android.database.sqlite.SQLiteConstraintException: error code 19: constraint failed 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at android.database.sqlite.SQLiteStatement.native_execute(Native Method) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at android.database.sqlite.SQLiteStatement.execute(SQLiteStatement.java:55) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at android.database.sqlite.SQLiteDatabase.updateWithOnConflict(SQLiteDatabase.java:1801) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at android.database.sqlite.SQLiteDatabase.update(SQLiteDatabase.java:1731) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at org.mozilla.fennec.db.BrowserProvider.updateImage(BrowserProvider.java:1867) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at org.mozilla.fennec.db.BrowserProvider.updateExistingImage(BrowserProvider.java:1841) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at org.mozilla.fennec.db.BrowserProvider.updateInTransaction(BrowserProvider.java:1400) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at org.mozilla.fennec.db.BrowserProvider.update(BrowserProvider.java:1327) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at android.content.ContentProviderOperation.apply(ContentProviderOperation.java:225) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at org.mozilla.fennec.db.BrowserProvider.applyBatch(BrowserProvider.java:1985) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at android.content.ContentProvider$Transport.applyBatch(ContentProvider.java:205) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at android.content.ContentProviderClient.applyBatch(ContentProviderClient.java:95) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at android.content.ContentResolver.applyBatch(ContentResolver.java:622) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at org.mozilla.gecko.ProfileMigrator$PlacesRunnable.flushBatchOperations(ProfileMigrator.java:826) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at org.mozilla.gecko.ProfileMigrator$PlacesRunnable.migrateBookmarks(ProfileMigrator.java:776) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at org.mozilla.gecko.ProfileMigrator$PlacesRunnable.migratePlaces(ProfileMigrator.java:863) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at org.mozilla.gecko.ProfileMigrator$PlacesRunnable.run(ProfileMigrator.java:913) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at org.mozilla.gecko.ProfileMigrator.launch(ProfileMigrator.java:206) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at org.mozilla.gecko.ProfileMigrator.launch(ProfileMigrator.java:202) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at org.mozilla.gecko.GeckoApp.checkMigrateProfile(GeckoApp.java:2281) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at org.mozilla.gecko.GeckoApp.access$500(GeckoApp.java:95) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at org.mozilla.gecko.GeckoApp$36.run(GeckoApp.java:1769) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at android.os.Handler.handleCallback(Handler.java:587) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at android.os.Handler.dispatchMessage(Handler.java:92) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at android.os.Looper.loop(Looper.java:123) 04-06 11:29:06.816 W/GeckoBrowserProvider( 3595): at org.mozilla.gecko.GeckoBackgroundThread.run(GeckoBackgroundThread.java:31) 04-06 11:29:07.402 I/ProfileMigrator( 3595): Error while applying database updates: 04-06 11:29:07.402 I/ProfileMigrator( 3595): android.content.OperationApplicationException 04-06 11:29:07.402 I/ProfileMigrator( 3595): at org.mozilla.fennec.db.BrowserProvider.applyBatch(BrowserProvider.java:2017) 04-06 11:29:07.402 I/ProfileMigrator( 3595): at android.content.ContentProvider$Transport.applyBatch(ContentProvider.java:205) 04-06 11:29:07.402 I/ProfileMigrator( 3595): at android.content.ContentProviderClient.applyBatch(ContentProviderClient.java:95) 04-06 11:29:07.402 I/ProfileMigrator( 3595): at android.content.ContentResolver.applyBatch(ContentResolver.java:622) 04-06 11:29:07.402 I/ProfileMigrator( 3595): at org.mozilla.gecko.ProfileMigrator$PlacesRunnable.flushBatchOperations(ProfileMigrator.java:826) 04-06 11:29:07.402 I/ProfileMigrator( 3595): at org.mozilla.gecko.ProfileMigrator$PlacesRunnable.migrateBookmarks(ProfileMigrator.java:776) 04-06 11:29:07.402 I/ProfileMigrator( 3595): at org.mozilla.gecko.ProfileMigrator$PlacesRunnable.migratePlaces(ProfileMigrator.java:863) 04-06 11:29:07.402 I/ProfileMigrator( 3595): at org.mozilla.gecko.ProfileMigrator$PlacesRunnable.run(ProfileMigrator.java:913) 04-06 11:29:07.402 I/ProfileMigrator( 3595): at org.mozilla.gecko.ProfileMigrator.launch(ProfileMigrator.java:206) 04-06 11:29:07.402 I/ProfileMigrator( 3595): at org.mozilla.gecko.ProfileMigrator.launch(ProfileMigrator.java:202) 04-06 11:29:07.402 I/ProfileMigrator( 3595): at org.mozilla.gecko.GeckoApp.checkMigrateProfile(GeckoApp.java:2281) 04-06 11:29:07.402 I/ProfileMigrator( 3595): at org.mozilla.gecko.GeckoApp.access$500(GeckoApp.java:95) 04-06 11:29:07.402 I/ProfileMigrator( 3595): at org.mozilla.gecko.GeckoApp$36.run(GeckoApp.java:1769) 04-06 11:29:07.402 I/ProfileMigrator( 3595): at android.os.Handler.handleCallback(Handler.java:587) 04-06 11:29:07.402 I/ProfileMigrator( 3595): at android.os.Handler.dispatchMessage(Handler.java:92) 04-06 11:29:07.402 I/ProfileMigrator( 3595): at android.os.Looper.loop(Looper.java:123) 04-06 11:29:07.402 I/ProfileMigrator( 3595): at org.mozilla.gecko.GeckoBackgroundThread.run(GeckoBackgroundThread.java:31) 04-06 11:29:07.418 D/ProfileMigrator( 3595): Added folder: 1004 See full logcat at : https://gist.github.com/2322313
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: