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

RESOLVED FIXED

Status

Firefox OS
Gaia::System::Lockscreen
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: gkw, Assigned: arthurcc)

Tracking

unspecified
x86_64
Mac OS X

Firefox Tracking Flags

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

Details

Attachments

(2 attachments)

(Reporter)

Description

4 years ago
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
(Reporter)

Comment 1

4 years ago
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)
(Reporter)

Updated

4 years ago
status-b2g-v1.4: --- → affected
(Reporter)

Comment 2

4 years ago
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)
Created attachment 8373137 [details]
link to https://github.com/mozilla-b2g/gaia/pull/16111

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
Last Resolved: 4 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 → ---
Created attachment 8375300 [details]
Link to https://github.com/mozilla-b2g/gaia/pull/16193

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
Last Resolved: 4 years ago4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.