Closed Bug 958736 Opened 11 years ago Closed 11 years ago

JavaScript error: app://system.gaiamobile.org/js/lockscreen.js, line 206: this._lockscreenConnInfoManager is null

Categories

(Firefox OS Graveyard :: Gaia::System::Lockscreen, defect)

x86_64
macOS
defect
Not set
normal

Tracking

(b2g-v1.3 affected, b2g-v1.4 affected)

RESOLVED FIXED
Tracking Status
b2g-v1.3 --- affected
b2g-v1.4 --- affected

People

(Reporter: gkw, Assigned: arthurcc)

References

Details

Attachments

(2 files)

Download: http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/2014-01-10-00-40-09-mozilla-aurora/b2g-28.0a2.multi.mac64.dmg Extract it and run using: B2G.app/Contents/MacOS/b2g-bin -profile B2G.app/Contents/MacOS/gaia/profile/ Click Next all the way till Done until the FTU experience is over, then Skip the tutorial. === You will hit: JavaScript error: app://system.gaiamobile.org/js/lockscreen.js, line 206: this._lockscreenConnInfoManager is null This was also hit here: https://tbpl.mozilla.org/php/getParsedLog.php?id=32530548&tree=B2g-Inbound&full=1
This affects B2G Desktop 1.3 mozilla-aurora and 1.4 mozilla-central (master). Tested with: http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/2014/01/2014-01-10-04-02-06-mozilla-central/b2g-29.0a1.multi.mac64.dmg (One can see this on startup)
This still happens with http://ftp.mozilla.org/pub/mozilla.org/b2g/nightly/2014/02/2014-02-06-04-02-03-mozilla-central/b2g-30.0a1.multi.mac64.dmg It will be nice to have this fixed in B2G Desktop (this is one of the few errors remaining). Alive, what is needed to move this forward?
Flags: needinfo?(alive)
Arthur mind take a look?
Flags: needinfo?(alive) → needinfo?(arthur.chen)
Assignee: nobody → arthur.chen
Flags: needinfo?(arthur.chen)
We only create a LockScreenConnInfoManager instance when mozMobileConnections is available. Removing the reference to the instance of LockScreenConnInfoManager by moving the localization logic to itself. Alive, could you help review it? Thanks!
Attachment #8373137 - Flags: review?(alive)
Attachment #8373137 - Flags: review?(alive) → review+
Thanks! master: 31ece334c849d332e1c6053b22789bb9bd7b6a2f
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
This broke Marionette-webapi on TBPL. Reverted. Master: 92d8a3f2de9f0b6310ddb478bcc58015c3c1057a https://tbpl.mozilla.org/php/getParsedLog.php?id=34473035&tree=B2g-Inbound
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Alive, mind take a look at it again? The last missed to bind a function I marked in github.
Attachment #8375300 - Flags: review?(alive)
Comment on attachment 8375300 [details] Link to https://github.com/mozilla-b2g/gaia/pull/16193 Why does unit test not catch that?
Attachment #8375300 - Flags: review?(alive) → review+
It was not covered by the unit tests. Not sure how it got executed. I've already added a test for it.
master: 8ac5dc6b76709e742cb923c58d1f4b415b3e08fb
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: