Closed Bug 778081 Opened 12 years ago Closed 12 years ago

java.lang.NullPointerException: at org.mozilla.gecko.sync.CommandProcessor$Command.getArgsList(CommandProcessor.java)

Categories

(Firefox for Android Graveyard :: Android Sync, defect, P2)

ARM
Android
defect

Tracking

(firefox16 fixed)

RESOLVED FIXED
mozilla17
Tracking Status
firefox16 --- fixed

People

(Reporter: scoobidiver, Assigned: nalexander)

Details

(Keywords: crash, Whiteboard: [native-crash][sync])

Crash Data

Attachments

(1 file)

There's one crash in 16.0a2/20120726: bp-66a39aa8-1e80-42e1-bfb7-9af262120726.

java.lang.NullPointerException
	at org.mozilla.gecko.sync.CommandProcessor$Command.getArgsList(CommandProcessor.java:72)
	at org.mozilla.gecko.sync.CommandProcessor.sendCommand(CommandProcessor.java:191)
	at org.mozilla.gecko.sync.CommandProcessor.sendURIToClientForDisplay(CommandProcessor.java:163)
	at org.mozilla.gecko.sync.setup.activities.SendTabActivity$3.run(SendTabActivity.java:137)

More reports at:
https://crash-stats.mozilla.com/report/list?signature=java.lang.NullPointerException%3A+at+org.mozilla.gecko.sync.CommandProcessor%24Command.getArgsList%28CommandProcessor.java%29
and now two crashes in 17.0a1/20120726.
It might be a regression from bug 774233.
Component: General → Android Sync
Keywords: regression
Product: Firefox for Android → Mozilla Services
Version: Firefox 16 → unspecified
Looks like this can only happen when getJSONArrayFromCursor returns null. The other call sites don't result in a null `args` array inside `Command`.

No chance of this being a regression from that bug. It's just dependent on input data.
Group: mozilla-corporation-confidential
Keywords: regression
Priority: -- → P2
Group: mozilla-corporation-confidential
https://hg.mozilla.org/integration/mozilla-inbound/rev/6b7ed8e5d616
Assignee: nobody → nalexander
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla17
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
  Since original landing of command send code.
 
User impact if declined: 
  Low rate of crashes.

Testing completed (on m-c, etc.): 
  Landed on m-i now; not really QA-able, but we'll see if anything bad happens.

Risk to taking this patch (and alternatives if risky): 
  Minimal.

String or UUID changes made by this patch: 
  I stripped out the string change made in the m-i landing, so this is code only.
Attachment #647278 - Flags: review+
Attachment #647278 - Flags: approval-mozilla-aurora?
https://hg.mozilla.org/mozilla-central/rev/6b7ed8e5d616
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment on attachment 647278 [details] [diff] [review]
Proposed patch for Aurora. v1

No strings, no problems. Approving.
Attachment #647278 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Product: Mozilla Services → Android Background Services
Product: Android Background Services → Firefox for Android
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: