Closed Bug 776142 Opened 11 years ago Closed 11 years ago

NullPointerException from missing registerGeckoEventListener method in tests

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 17

People

(Reporter: kats, Unassigned)

References

Details

(Keywords: intermittent-failure)

See https://tbpl.mozilla.org/php/getParsedLog.php?id=13720352&full=1&branch=mozilla-inbound

The top of the stack has:

java.lang.NoSuchMethodException
	at java.lang.Class.getDeclaredMethods(Native Method)
	at java.lang.ClassCache.getDeclaredPublicMethods(ClassCache.java:166)
	at java.lang.ClassCache.getDeclaredMethods(ClassCache.java:179)
	at java.lang.ClassCache.findAllMethods(ClassCache.java:249)
	at java.lang.ClassCache.getFullListOfMethods(ClassCache.java:223)
	at java.lang.ClassCache.getAllPublicMethods(ClassCache.java:204)
	at java.lang.Class.getMethod(Class.java:984)
	at org.mozilla.fennec.FennecNativeDriver.<init>(FennecNativeDriver.java:97)

and line 97 of FennecNativeDriver is this:

mRegisterGEL = mGas.getMethod("registerGeckoEventListener", parameters);

For some reason the method isn't being found even though it exists.
This turned a whole bunch of (talos) jobs on a recent push red... as well as robocop units orange.

We either need to backout its cause asap or fix it, imo.
tracking-fennec: --- → ?
(Note that I'm starring most of the talos red with a;r instead of this bug)
Could this be rlalted to Bug 765766?
(In reply to Bill Gianopoulos [:WG9s] from comment #13)
> Could this be rlalted to Bug 765766?
                ^^^^^^^
                related
Hasn't this been fixed by the new patch on bug 687267?
Well it was fixed by the backout cset in comment 15, and the new patch on bug 687267 didn't reintroduce it.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 17
Why does this affect 16 and 15? The patch that introduced it was never uplifted, AFAIK.
(In reply to Kartikaya Gupta (:kats) from comment #19)
> Why does this affect 16 and 15? The patch that introduced it was never
> uplifted, AFAIK.
I though it was introduced by bug 687267.
It was introduced by cset 8571114112b2, which was backed out before being uplifted. bug 687267 was fixed with a different patch that didn't have this problem.

Also I checked the tbpl pages for aurora and beta, and the robocop tests are passing fine, so this bug definitely doesn't affect those branches.
tracking-fennec: ? → ---
Whiteboard: [orange]
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.