B2G RIL on Otoro: TypeError: networkTuple is null

RESOLVED FIXED in mozilla16

Status

()

Core
DOM: Device Interfaces
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: philikon, Assigned: marshall_law)

Tracking

Other Branch
mozilla16
ARM
Gonk (Firefox OS)
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

Seeing this in the logcat a couple of times:

  I/Gecko   (  115): RIL Worker: Error processing operator tuple: TypeError: networkTuple is null

Operator name and network status seem to be reported correctly; at least eventually. But it seems there's still some state confusion in there somewhere.
(Assignee)

Updated

5 years ago
Assignee: nobody → marshall
(Assignee)

Comment 1

5 years ago
Created attachment 634970 [details] [diff] [review]
networkTuple error fix - v1

The REQUEST_OPERATOR handler no longer tries to parse the network tuple when the returned operator data is NULL (i.e. not currently registered with any operator)

Also moved code into a new _processOperator function for consistency / separation.
Attachment #634970 - Flags: review?(philipp)
Comment on attachment 634970 [details] [diff] [review]
networkTuple error fix - v1

Nice! r=me

I haz a sad because not testable with emulator rite nao. :'(
Attachment #634970 - Flags: review?(philipp) → review+
(Reporter)

Updated

5 years ago
Keywords: checkin-needed
(Assignee)

Comment 3

5 years ago
(In reply to Philipp von Weitershausen [:philikon] from comment #2)
> 
> I haz a sad because not testable with emulator rite nao. :'(

Yeah.. unfortunately the emulator's network selection doesn't seem to ever change an operator from being "available", even if it is the current selection (or if there is no selection at all). This could probably be fixed, but it would take a fair amount of code.

IMO, it might make more sense to start trying to figure out how to use mock-ril..
https://hg.mozilla.org/integration/mozilla-inbound/rev/f86277e8b787
Keywords: checkin-needed
Target Milestone: --- → mozilla16
(In reply to Marshall Culpepper [:marshall_law] from comment #3)
> IMO, it might make more sense to start trying to figure out how to use
> mock-ril..

+1

It's in JS, too!

Comment 6

5 years ago
https://hg.mozilla.org/mozilla-central/rev/f86277e8b787
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.