Closed Bug 797151 Opened 8 years ago Closed 8 years ago

java.lang.NoSuchMethodError: android.content.SharedPreferences$Editor.apply at org.mozilla.gecko.WebAppAllocator.releaseIndex(WebAppAllocator.java) on Froyo

Categories

(Firefox for Android :: General, defect)

16 Branch
ARM
Android
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Firefox 18
Tracking Status
firefox16 --- affected
firefox17 --- affected

People

(Reporter: scoobidiver, Assigned: wesj)

Details

(Keywords: crash, regression, Whiteboard: [native-crash])

Crash Data

Attachments

(1 file)

There's one crash in 18.0a1/20121002: bp-b77e6b77-127d-4f0c-b744-046192121002.

java.lang.NoSuchMethodError: android.content.SharedPreferences$Editor.apply
	at org.mozilla.gecko.WebAppAllocator.releaseIndex(WebAppAllocator.java:127)
	at org.mozilla.gecko.WebAppAllocator.releaseIndexForApp(WebAppAllocator.java:122)
	at org.mozilla.gecko.GeckoAppShell$6.run(GeckoAppShell.java:916)
	at android.os.Handler.handleCallback(Handler.java:587)
	at android.os.Handler.dispatchMessage(Handler.java:92)
	at android.os.Looper.loop(Looper.java:144)
	at org.mozilla.gecko.util.GeckoBackgroundThread.run(GeckoBackgroundThread.java:31)

More reports at:
https://crash-stats.mozilla.com/report/list?signature=java.lang.NoSuchMethodError%3A+android.content.SharedPreferences%24Editor.apply+at+org.mozilla.gecko.WebAppAllocator.releaseIndex%28WebAppAllocator.java%29
Attached patch PatchSplinter Review
Grr.Missed this my first time through. I did an MXR search on mobile/android and don't see any more calls to "apply()".
Attachment #667202 - Flags: review?(mark.finkle)
Attachment #667202 - Flags: review?(mark.finkle) → review+
Which bug is it a regression from?
Keywords: regression
Its always been in this code. Landed in bug 741626 I think.
Version: Trunk → Firefox 16
https://hg.mozilla.org/mozilla-central/rev/7c779b27a9ce
Assignee: nobody → wjohnston
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 18
The release notes of Firefox 17.0 Beta show an initial Web App support: http://www.mozilla.org/en-US/mobile/17.0beta/releasenotes/

Should it be uplifted to Beta?
You need to log in before you can comment on or make changes to this bug.