Closed
Bug 769671
Opened 13 years ago
Closed 13 years ago
java.lang.NoSuchMethodError: java.io.IOException.<init> at org.mozilla.gecko.sync.net.BaseResource.execute(BaseResource.java) on Froyo
Categories
(Firefox for Android Graveyard :: Android Sync, defect)
Tracking
(firefox15 wontfix, firefox16 fixed)
RESOLVED
FIXED
mozilla17
People
(Reporter: scoobidiver, Assigned: nalexander)
References
()
Details
(Keywords: crash, Whiteboard: [native-crash][sync])
Crash Data
Attachments
(1 file)
1.29 KB,
patch
|
rnewman
:
review+
lsblakk
:
approval-mozilla-aurora+
lsblakk
:
approval-mozilla-beta-
|
Details | Diff | Splinter Review |
It's #58 top crasher in 14.0.
There are 2 crashes in 14.0b8 and 59 crashes in 14.0, including bp-0e80380d-a9d5-4054-8888-625b02120629.
java.lang.NoSuchMethodError: java.io.IOException.<init>
at org.mozilla.gecko.sync.net.BaseResource.execute(BaseResource.java:264)
at org.mozilla.gecko.sync.net.BaseResource.retryRequest(BaseResource.java:275)
at org.mozilla.gecko.sync.net.BaseResource.execute(BaseResource.java:258)
at org.mozilla.gecko.sync.net.BaseResource.go(BaseResource.java:299)
at org.mozilla.gecko.sync.net.BaseResource.post(BaseResource.java:319)
at org.mozilla.gecko.sync.net.SyncStorageRequest.post(SyncStorageRequest.java:170)
at org.mozilla.gecko.sync.repositories.Server11RepositorySession$RecordUploadRunnable.run(Server11RepositorySession.java:607)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
at java.lang.Thread.run(Thread.java:1096)
More reports at:
https://crash-stats.mozilla.com/report/list?signature=java.lang.NoSuchMethodError%3A+java.io.IOException.%3Cinit%3E+at+org.mozilla.gecko.sync.net.BaseResource.execute%28BaseResource.java%29
![]() |
Reporter | |
Updated•13 years ago
|
Whiteboard: [native-crash] → [native-crash][sync]
Updated•13 years ago
|
Component: General → Android Sync
Product: Firefox for Android → Mozilla Services
Version: Firefox 14 → unspecified
Assignee | ||
Comment 2•13 years ago
|
||
Ah, Android. That constructor wasn't added until API level 9, per http://stackoverflow.com/a/8546380 and http://developer.android.com/intl/zh-CN/reference/java/io/IOException.html#IOException%28java.lang.Throwable%29
Let us try to work around it.
Assignee | ||
Comment 3•13 years ago
|
||
(In reply to Nick Alexander :nalexander from comment #2)
> Ah, Android. That constructor wasn't added until API level 9, ...
Further: a fly-by of reports suggest all devices were running 2.2/Froyo/API level 8.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → nalexander
Comment 4•13 years ago
|
||
(In reply to Nick Alexander :nalexander from comment #3)
> (In reply to Nick Alexander :nalexander from comment #2)
> > Ah, Android. That constructor wasn't added until API level 9, ...
>
> Further: a fly-by of reports suggest all devices were running 2.2/Froyo/API
> level 8.
I for one was certainly running 2.2
![]() |
Reporter | |
Updated•13 years ago
|
Summary: java.lang.NoSuchMethodError: java.io.IOException.<init> at org.mozilla.gecko.sync.net.BaseResource.execute(BaseResource.java) → java.lang.NoSuchMethodError: java.io.IOException.<init> at org.mozilla.gecko.sync.net.BaseResource.execute(BaseResource.java) on Froyo
Assignee | ||
Comment 5•13 years ago
|
||
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla17
Assignee | ||
Comment 6•13 years ago
|
||
[Approval Request Comment]
Bug caused by (feature/regressing bug #): 769671.
User impact if declined: continued crashes with signature of this bug.
Testing completed (on m-c, etc.): compiles on m-i; very difficult to test.
Risk to taking this patch (and alternatives if risky): none. Crash is caused by Java initializer not being present in Android API level < 9; this trivial patch just avoids using that particular initializer. If this patch is wrong, we'll just see similar crash reports on the same code path (possibly for more API versions).
String or UUID changes made by this patch: none.
Attachment #654248 -
Flags: approval-mozilla-beta?
Attachment #654248 -
Flags: approval-mozilla-aurora?
Updated•13 years ago
|
Attachment #654248 -
Flags: review+
![]() |
||
Comment 7•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 8•13 years ago
|
||
Comment on attachment 654248 [details] [diff] [review]
Patch against m-i
Too late in the 15 cycle to take for beta, but uplift to Aurora in the next couple of days before that becomes Beta 16.
Attachment #654248 -
Flags: approval-mozilla-beta?
Attachment #654248 -
Flags: approval-mozilla-beta-
Attachment #654248 -
Flags: approval-mozilla-aurora?
Attachment #654248 -
Flags: approval-mozilla-aurora+
Assignee | ||
Comment 9•13 years ago
|
||
Updated•13 years ago
|
status-firefox15:
--- → wontfix
status-firefox16:
--- → fixed
Updated•13 years ago
|
Product: Mozilla Services → Android Background Services
Updated•8 years ago
|
Product: Android Background Services → Firefox for Android
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•