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)

Unspecified
Android
defect
Not set
critical

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)

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)
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)
Ah, thanks. I was looking at the file from the revision above, threw me off.
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
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Assignee: nobody → eitan
Flags: qe-verify-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: