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
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.
(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.
5 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
Created attachment 654248 [details] [diff] [review] Patch against m-i [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.
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.