Closed Bug 748402 Opened 10 years ago Closed 9 months ago

"Error reading pref" in profile migration without Sync account present

Categories

(Firefox for Android Graveyard :: General, defect)

14 Branch
ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: nhirata, Unassigned)

Details

Attachments

(1 file)

Attached file logcat
1. delete all versions of fennec off the android device
2. adb shell and verify that there are no existing profiles on the SDcard nor internal memory
3. install rnewman build from http://people.mozilla.com/~rnewman/fennec.apk
4. launch rnewman fennec without setting up sync

Expected: no errors
Actual: 
04-24 09:24:46.306: E/GeckoConsole(5264): Error reading pref [services.sync.account]: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://browser/content/browser.js :: getPreferences :: line 768"  data: no]
04-24 09:24:46.306: E/GeckoConsole(5264): Error reading pref [services.sync.client.name]: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://browser/content/browser.js :: getPreferences :: line 768"  data: no]
04-24 09:24:46.306: E/GeckoConsole(5264): Error reading pref [services.sync.client.GUID]: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://browser/content/browser.js :: getPreferences :: line 768"  data: no]
04-24 09:24:46.316: E/GeckoConsole(5264): Error reading pref [services.sync.serverURL]: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://browser/content/browser.js :: getPreferences :: line 768"  data: no]
04-24 09:24:46.316: E/GeckoConsole(5264): Error reading pref [services.sync.clusterURL]: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://browser/content/browser.js :: getPreferences :: line 768"  data: no]

Note:
rnewman build on LG Revolution (Android OS 2.2)
None of my changes in that build touch Fennec, so this should apply to inbound, too.
Summary: Unexpected errors when running fennec_rnewman for the first time without setting up Sync and without a previous version installed → "Error reading pref" in profile migration without Sync account present
Reminder to self to try on current nightly
This still occurs. Low priority because I think it's harmless. The Gecko/JS side of handling Preference requests should be more robust about not existing preferences.
Still occurs on the nightly.  Thanks GCP.  Not going to nom due to comment 3.

05-07 16:06:05.014: E/GeckoConsole(7226): Error reading pref [services.sync.account]: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://browser/content/browser.js :: getPreferences :: line 775"  data: no]
05-07 16:06:05.014: E/GeckoConsole(7226): Error reading pref [services.sync.client.name]: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://browser/content/browser.js :: getPreferences :: line 775"  data: no]
05-07 16:06:05.014: E/GeckoConsole(7226): Error reading pref [services.sync.client.GUID]: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://browser/content/browser.js :: getPreferences :: line 775"  data: no]
05-07 16:06:05.014: E/GeckoConsole(7226): Error reading pref [services.sync.serverURL]: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://browser/content/browser.js :: getPreferences :: line 775"  data: no]
05-07 16:06:05.014: E/GeckoConsole(7226): Error reading pref [services.sync.clusterURL]: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://browser/content/browser.js :: getPreferences :: line 775"  data: no]
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.