Closed Bug 1088419 Opened 10 years ago Closed 10 years ago

[JS Error] TypeError: r[(r.length - 1)] is undefined

Categories

(Marketplace Graveyard :: Consumer Pages, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED
2014-11-04

People

(Reporter: cvan, Assigned: mat)

References

()

Details

(Whiteboard: [repoman][qa-])

https://rpm.newrelic.com/accounts/315282/browser/2914756/js_errors#id=1063871339&tab-js_error_drilldown_tabs_1063871339=js_error_instances_1063871339

We started a trial of New Relic Browser™ logging today (Oct 23) at 17:03 PDT and by 17:12 PDT there were 9 reported errors already of this type and from three different user agents:

* Android (Firefox for Android)
* ZTE Open (Firefox OS)
* Alcatel One Touch (Firefox OS)

––

Message			r[(r.length - 1)] is undefined
Exception type		TypeError
Approximate time	Today, 17:11
URL			/
Browser			Android Android Browser 0
User agent		Mozilla/5.0 (Android; Mobile; rv:33.0) Gecko/33.0 Firefox/33.0

Stack trace

g@https://marketplace.cdn.mozilla.net/media/fireplace/js/include.js?b=1413932131090:7
w.debounce/</s@https://marketplace.cdn.mozilla.net/media/fireplace/js/include.js?b=1413932131090:12

––

Message			r[(r.length - 1)] is undefined
Exception type		TypeError
Approximate time	Today, 17:06
URL			/
Browser			Unknown Firefox 18.1
User agent		Mozilla/5.0 (Mobile; ZTEOPEN; rv:18.1) Gecko/18.1 Firefox/18.1

Stack trace

g@https://marketplace.cdn.mozilla.net/media/fireplace/js/include.js?b=1413932131090:7
w.debounce/</s@https://marketplace.cdn.mozilla.net/media/fireplace/js/include.js?b=1413932131090:12

––

Message			r[(r.length - 1)] is undefined
Exception type		TypeError
Approximate time	Today, 17:05
URL			/
Browser			Unknown Firefox 28.0
User agent		Mozilla/5.0 (Mobile; ALCATELOneTouch4019A; rv:28.0) Gecko/28.0 Firefox/28.0

Stack trace

g@https://marketplace.cdn.mozilla.net/media/fireplace/js/include.js?b=1413932131090:7
w.debounce/</s@https://marketplace.cdn.mozilla.net/media/fireplace/js/include.js?b=1413932131090:12

––
Priority: -- → P3
The Marketplace isn't loading at all for these users (stuck on splash screen). Isn't that of a higher priority than P3?
I agree with cvan, this one seem to happen fairly frequently, affects multiple browsers and probably completely breaks the Marketplace for them. Bumping to P2.
Priority: P3 → P2
Assignee: nobody → mpillard
Status: NEW → ASSIGNED
Whiteboard: [repoman]
Target Milestone: --- → 2014-11-04
Fixed in https://github.com/mozilla/fireplace/commit/a56e41ac5bcb967c3dd00f639e065772c9c90291

I'll mark as qa- as I couldn't get reliable STR - we'll have to verify that we are no longer getting this error in newrelic once the push is done.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [repoman] → [repoman][qa-]
This should get pushed out tomorrow ASAP.

According to New Relic[1], this JS error has been encountered 4,970+ times in production. Suffice to say, quite a few people are affected.

––
[1] https://rpm.newrelic.com/accounts/315282/browser/2914756/js_errors#id=1063871339&tab-js_error_drilldown_tabs_1063871339=js_error_instances_1063871339
You need to log in before you can comment on or make changes to this bug.