Closed Bug 729530 Opened 12 years ago Closed 12 years ago

Sync setup fails if more than one version of Firefox is installed

Categories

(Firefox for Android Graveyard :: Android Sync, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla13

People

(Reporter: ioana.chiorean, Assigned: rnewman)

References

Details

Attachments

(1 file)

Build ID: Nightly 13.0a1 (2012-02-22)
OS: Android 4.0.2
Device: Samsung Galaxy Nexus

Steps:
1. install fennec nightly Nightly 13.0a1 (2012-02-22)
2. go to sync in apps and go to Pair a Device option on desktop
3. Enter on desktop the code from the device

Expected result:
- no errors and sync made ok

Actual result:
- Nightly force close
- error :
02-22 17:26:36.259: ERROR/AndroidRuntime(22024): FATAL EXCEPTION: Timer-1
02-22 17:26:36.259: ERROR/AndroidRuntime(22024): java.lang.SecurityException: caller uid 10107 is different than the authenticator's uid
02-22 17:26:36.259: ERROR/AndroidRuntime(22024):     at android.os.Parcel.readException(Parcel.java:1327)
02-22 17:26:36.259: ERROR/AndroidRuntime(22024):     at android.os.Parcel.readException(Parcel.java:1281)
02-22 17:26:36.259: ERROR/AndroidRuntime(22024):     at android.accounts.IAccountManager$Stub$Proxy.addAccount(IAccountManager.java:547)
02-22 17:26:36.259: ERROR/AndroidRuntime(22024):     at android.accounts.AccountManager.addAccountExplicitly(AccountManager.java:516)
02-22 17:26:36.259: ERROR/AndroidRuntime(22024):     at org.mozilla.gecko.sync.setup.activities.AccountActivity.createAccount(AccountActivity.java:248)
02-22 17:26:36.259: ERROR/AndroidRuntime(22024):     at org.mozilla.gecko.sync.setup.activities.SetupSyncActivity.onComplete(SetupSyncActivity.java:356)
02-22 17:26:36.259: ERROR/AndroidRuntime(22024):     at org.mozilla.gecko.sync.jpake.JPakeClient.complete(JPakeClient.java:667)
02-22 17:26:36.259: ERROR/AndroidRuntime(22024):     at org.mozilla.gecko.sync.jpake.JPakeClient.decryptData(JPakeClient.java:656)
02-22 17:26:36.259: ERROR/AndroidRuntime(22024):     at org.mozilla.gecko.sync.jpake.JPakeClient.onRequestSuccess(JPakeClient.java:852)
02-22 17:26:36.259: ERROR/AndroidRuntime(22024):     at org.mozilla.gecko.sync.jpake.JPakeClient$JPakeRequestResourceDelegate.handleHttpResponse(JPakeClient.java:972)
02-22 17:26:36.259: ERROR/AndroidRuntime(22024):     at org.mozilla.gecko.sync.net.BaseResource.execute(BaseResource.java:207)
02-22 17:26:36.259: ERROR/AndroidRuntime(22024):     at org.mozilla.gecko.sync.net.BaseResource.go(BaseResource.java:229)
02-22 17:26:36.259: ERROR/AndroidRuntime(22024):     at org.mozilla.gecko.sync.net.BaseResource.get(BaseResource.java:235)
02-22 17:26:36.259: ERROR/AndroidRuntime(22024):     at org.mozilla.gecko.sync.jpake.JPakeRequest.get(JPakeRequest.java:68)
02-22 17:26:36.259: ERROR/AndroidRuntime(22024):     at org.mozilla.gecko.sync.jpake.JPakeClient$GetStepTimerTask.run(JPakeClient.java:1151)
02-22 17:26:36.259: ERROR/AndroidRuntime(22024):     at java.util.Timer$TimerImpl.run(Timer.java:284)
02-22 17:26:36.275: WARN/ActivityManager(197):   Force finishing activity org.mozilla.fennec/org.mozilla.gecko.sync.setup.activities.SetupSyncActivity
Whiteboard: sync
Ioana: do you also have Aurora installed?
Yes, also Aurora.
But also on other phones that work was both Nightly and Aurora.
Setup tends not to work with more than one version of Firefox installed. Please reopen if you can reproduce with just Nightly.

Thanks!
Blocks: 710407
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Stealing this so I can check in a logging addition to address this problem.
Severity: critical → normal
Status: RESOLVED → REOPENED
Component: General → Android Sync
Product: Fennec Native → Mozilla Services
QA Contact: general → android-sync
Resolution: INVALID → ---
Summary: Android 4.0 ICS Sync Causes Force close → Sync setup fails if more than one version of Firefox is installed
Whiteboard: sync
Version: Trunk → unspecified
https://hg.mozilla.org/integration/mozilla-inbound/rev/3959f04a83de

For this bug I'm just logging a descriptive warning. I'll address this more thoroughly in Bug 710407 and its dependencies.
Assignee: nobody → rnewman
Status: REOPENED → ASSIGNED
https://hg.mozilla.org/mozilla-central/rev/3959f04a83de
Status: ASSIGNED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla13
Product: Mozilla Services → Android Background Services
Product: Android Background Services → Firefox for Android
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

Creator:
Created:
Updated:
Size: