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

RESOLVED FIXED in 2014-11-04

Status

Marketplace
Consumer Pages
P2
normal
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: cvan, Assigned: mat)

Tracking

2014-11-04
Points:
---

Details

(Whiteboard: [repoman][qa-], URL)

(Reporter)

Description

3 years ago
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

––

Updated

3 years ago
Priority: -- → P3
(Reporter)

Comment 1

3 years ago
The Marketplace isn't loading at all for these users (stuck on splash screen). Isn't that of a higher priority than P3?
(Assignee)

Comment 2

3 years ago
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)

Updated

3 years ago
Assignee: nobody → mpillard
Status: NEW → ASSIGNED
Whiteboard: [repoman]
Target Milestone: --- → 2014-11-04
(Assignee)

Comment 3

3 years ago
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
Last Resolved: 3 years ago
Resolution: --- → FIXED
Whiteboard: [repoman] → [repoman][qa-]
(Reporter)

Comment 4

3 years ago
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.