Closed Bug 888201 Opened 7 years ago Closed 7 years ago

java.lang.NullPointerException: at org.mozilla.gecko.GeckoApp.collectAndReportLocInfo(GeckoApp.java)

Categories

(Firefox for Android :: General, defect, critical)

24 Branch
ARM
Android
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Firefox 25
Tracking Status
firefox24 --- fixed
firefox25 --- fixed

People

(Reporter: scoobidiver, Assigned: blassey)

References

Details

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

Crash Data

Attachments

(1 file)

It has been hit three times by a single user in 25.0a1/20130626. Here is a crash report: bp-dc834ab4-027a-4b45-b37d-a03cb2130628.
It's likely a regression from bug 866957.

java.lang.NullPointerException
	at org.mozilla.gecko.GeckoApp.collectAndReportLocInfo(GeckoApp.java:2427)
	at org.mozilla.gecko.GeckoApp.onLocationChanged(GeckoApp.java:2300)
	at org.mozilla.gecko.GeckoAppShell$3.run(GeckoAppShell.java:467)
	at android.os.Handler.handleCallback(Handler.java:615)
	at android.os.Handler.dispatchMessage(Handler.java:92)
	at android.os.Looper.loop(Looper.java:137)
	at android.app.ActivityThread.main(ActivityThread.java:4849)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:511)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
	at dalvik.system.NativeStart.main(Native Method)

More reports at:
https://crash-stats.mozilla.com/report/list?product=FennecAndroid&signature=java.lang.NullPointerException%3A+at+org.mozilla.gecko.GeckoApp.collectAndReportLocInfo%28GeckoApp.java%29
Attached patch patchSplinter Review
Assignee: nobody → blassey.bugs
Attachment #768954 - Flags: review?(bugmail.mozilla)
Comment on attachment 768954 [details] [diff] [review]
patch

Review of attachment 768954 [details] [diff] [review]:
-----------------------------------------------------------------

While mashing them together on a single line is pretty neat I'd prefer to do the right thing and stick in a newline and braces so other people don't copy this pattern to places it doesn't belong.
Attachment #768954 - Flags: review?(bugmail.mozilla) → review+
Comment on attachment 768954 [details] [diff] [review]
patch

pushed to inbound

trivial null check fix. Should uplift to aurora which is where this code appeared.
Attachment #768954 - Flags: approval-mozilla-aurora?
https://hg.mozilla.org/mozilla-central/rev/df05a19f8be3
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 25
Attachment #768954 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
You need to log in before you can comment on or make changes to this bug.