Crash in java.lang.IllegalArgumentException: The key must be an application-specific resource id. at android.view.View.setTag(View.java)

NEW
Unassigned

Status

()

Firefox for Android
General
--
critical
2 years ago
2 years ago

People

(Reporter: njn, Unassigned)

Tracking

({crash})

Firefox Tracking Flags

(Not tracked)

Details

(crash signature)

(Reporter)

Description

2 years ago
This bug was filed from the Socorro interface and is 
report bp-790b3c63-1503-469f-8679-e3bf12160507.
=============================================================

This crash appears to have started occurring in Nightly 20160408030212 and has happened 24 times.

Stack trace:

> java.lang.IllegalArgumentException: The key must be an application-specific resource id.
> 	at android.view.View.setTag(View.java:18634)
> 	at org.mozilla.gecko.widget.SwipeDismissListViewTouchListener$4.onAnimationEnd(SwipeDismissListViewTouchListener.java:337)
> 	at android.animation.ValueAnimator.endAnimation(ValueAnimator.java:1239)
> 	at android.animation.ValueAnimator$AnimationHandler.doAnimationFrame(ValueAnimator.java:766)
> 	at android.animation.ValueAnimator$AnimationHandler$1.run(ValueAnimator.java:801)
> 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
> 	at android.view.Choreographer.doCallbacks(Choreographer.java:670)
> 	at android.view.Choreographer.doFrame(Choreographer.java:603)
> 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
> 	at android.os.Handler.handleCallback(Handler.java:739)
> 	at android.os.Handler.dispatchMessage(Handler.java:95)
> 	at android.os.Looper.loop(Looper.java:224)
> 	at android.app.ActivityThread.main(ActivityThread.java:5526)
> 	at java.lang.reflect.Method.invoke(Native Method)
> 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
> 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

Might be related to bug 1258450, but that bug's patches did land on April 1, and no crashes appeared until April 8, so I'm not sure about that.
(Reporter)

Comment 1

2 years ago
nalexander, can you please take a look?
Flags: needinfo?(nalexander)
mcomella: so, apparently my memory or the documentation I read was incorrect: http://developer.android.com/reference/android/view/View.html#setTag(int,%20java.lang.Object) clearly says this needs to be a resource tag.  Could you roll back that part of Bug 1258450?  There should be no build issues.  Bummer, but we can solve this post-Gradle for GeckoView as a library.
Flags: needinfo?(nalexander) → needinfo?(michael.l.comella)
48: https://hg.mozilla.org/releases/mozilla-aurora/rev/63b7cc21ae7c

Thanks for investigating, Nick.
Flags: needinfo?(michael.l.comella)
You need to log in before you can comment on or make changes to this bug.