Closed
Bug 1498849
Opened 6 years ago
Closed 6 years ago
Crash in java.lang.NoSuchMethodError: at org.mozilla.geckoview.SessionAccessibility$NodeProvider.populateNodeFromBundle(SessionAccessibility.java)
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox62 | --- | unaffected |
firefox63 | --- | unaffected |
firefox64 | --- | fixed |
People
(Reporter: calixte, Assigned: eeejay)
References
(Blocks 1 open bug)
Details
(Keywords: crash, regression)
Crash Data
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
This bug was filed from the Socorro interface and is
report bp-91c2a3ee-d68b-4082-b797-b1d650181013.
=============================================================
Java stack trace:
java.lang.NoSuchMethodError
at org.mozilla.geckoview.SessionAccessibility$NodeProvider.populateNodeFromBundle(SessionAccessibility.java:341)
at org.mozilla.geckoview.SessionAccessibility$NodeProvider.createAccessibilityNodeInfo(SessionAccessibility.java:67)
at android.view.AccessibilityInteractionController$AccessibilityNodePrefetcher.prefetchDescendantsOfVirtualNode(AccessibilityInteractionController.java:917)
at android.view.AccessibilityInteractionController$AccessibilityNodePrefetcher.prefetchDescendantsOfVirtualNode(AccessibilityInteractionController.java:927)
at android.view.AccessibilityInteractionController$AccessibilityNodePrefetcher.prefetchDescendantsOfVirtualNode(AccessibilityInteractionController.java:927)
at android.view.AccessibilityInteractionController$AccessibilityNodePrefetcher.prefetchDescendantsOfRealNode(AccessibilityInteractionController.java:838)
at android.view.AccessibilityInteractionController$AccessibilityNodePrefetcher.prefetchAccessibilityNodeInfos(AccessibilityInteractionController.java:720)
at android.view.AccessibilityInteractionController.findAccessibilityNodeInfoByAccessibilityIdUiThread(AccessibilityInteractionController.java:147)
at android.view.AccessibilityInteractionController.access$300(AccessibilityInteractionController.java:49)
at android.view.AccessibilityInteractionController$PrivateHandler.handleMessage(AccessibilityInteractionController.java:971)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5292)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:825)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:641)
at dalvik.system.NativeStart.main(Native Method)
There are 3 crashes (from 1 installation) in nightly 64 with buildid 20181013100100. In analyzing the backtrace, the regression may have been introduced by patch [1] to fix bug 1479037.
[1] https://hg.mozilla.org/mozilla-central/rev?node=97b5d09ed65a
Flags: needinfo?(eitan)
Assignee | ||
Comment 1•6 years ago
|
||
This looks like the crash is happening on AccessibilityNodeInfo.setInputType not being found. Which is weird, because it was introduced in API 19, and all of these crashes seem to be on that version (but not higher).
I'm also confused because that method call was already introduced in bug 1330257, and there is a similar >=19 sdk check there as well.
Maybe jchen has a better idea, but my gut reaction is to bump the SDK requirement to >=20, based on the fact that all the crashes seem to happen on 19.
Flags: needinfo?(eitan) → needinfo?(nchen)
Comment 2•6 years ago
|
||
So the exception is about the 4-parameter variant of CollectionInfo.obtain [1], which was introduced in API 21 [2].
[1] https://searchfox.org/mozilla-central/rev/c9272ef398954288525e37196eada1e5a93d93bf/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/SessionAccessibility.java#341-345
[2] https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.CollectionInfo.html#obtain(int,%20int,%20boolean,%20int)
Flags: needinfo?(nchen)
Assignee | ||
Comment 3•6 years ago
|
||
Ah, thanks. I was looking at the file from the revision above, threw me off.
Assignee | ||
Comment 4•6 years ago
|
||
One method signature was introduced in API 19, and another, with
selectionMode was introduced in 21.
Pushed by eisaacson@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8eaeb557ba9f
Check for SDK compatibility on CollectionInfo.obtain(). r=jchen
Comment 6•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Updated•6 years ago
|
Assignee: nobody → eitan
Updated•6 years ago
|
Flags: qe-verify-
You need to log in
before you can comment on or make changes to this bug.
Description
•