Closed Bug 1189236 Opened 9 years ago Closed 8 years ago

crash in java.lang.NullPointerException: Attempt to invoke virtual method ''boolean java.lang.String.equals(java.lang.Object)'' on a null object reference at org.mozilla.gecko.webapp.WebappImpl.onTabChanged(WebappImpl.java)

Categories

(Firefox for Android Graveyard :: Web Apps (PWAs), defect)

Unspecified
Android
defect
Not set
critical

Tracking

(firefox42 affected)

RESOLVED WONTFIX
Tracking Status
firefox42 --- affected

People

(Reporter: martijn.martijn, Unassigned)

Details

(Keywords: crash)

Crash Data

I created this loop client apk, using the mozilla-apk-cli (I did do something like in bug 989041, comment 10 but then for the loop-client), it's here:
http://people.mozilla.org/~mwargers/apks/loop-client.apk

I installed that and opened it, using a Nightly Fennec build.
Then I noticed there was a notification called "Firefox Hello-debugging activated" or something, I tapped on that notification.
Then, I got this crash report:

This bug was filed from the Socorro interface and is 
report bp-ed2c773f-fef2-4fe0-9869-1bfb92150730.
=============================================================
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
	at org.mozilla.gecko.webapp.WebappImpl.onTabChanged(WebappImpl.java:302)
	at org.mozilla.gecko.Tabs$5.run(Tabs.java:667)
	at android.os.Handler.handleCallback(Handler.java:739)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:135)
	at android.app.ActivityThread.main(ActivityThread.java:5254)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:372)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)

Myk, is this a valid bug report? Is this a bug in Fennec or in the mozilla-apk-cli?
Flags: needinfo?(myk)
(In reply to Martijn Wargers [:mwargers] (QA) from comment #0)
> Myk, is this a valid bug report? Is this a bug in Fennec or in the
> mozilla-apk-cli?

Yes, it's a valid bug report, since your app shouldn't be able to crash Fennec.  I think it's a bug in Fennec itself (more specifically: a bug in its webapp feature) rather than a bug in mozilla-apk-cli.
Flags: needinfo?(myk)
Component: General → Web Apps
Crash Signature: [@ java.lang.NullPointerException: Attempt to invoke virtual method ''boolean java.lang.String.equals(java.lang.Object)'' on a null object reference at org.mozilla.gecko.webapp.WebappImpl.onTabChanged(WebappImpl.java)] → [@ java.lang.NullPointerException: Attempt to invoke virtual method ''boolean java.lang.String.equals(java.lang.Object)'' on a null object reference at org.mozilla.gecko.webapp.WebappImpl.onTabChanged(WebappImpl.java)] [@ java.lang.NullPointerException: …
Per bug 1235869, we're going to disable the Android web runtime, so we won't fix this bug in it.

(This is part of a bulk resolution of bugs in the Firefox for Android::Web Apps component, from which I attempted to exclude bugs that are not specific to the runtime, but it's possible that I included one accidentally.  If so, I'm sorry, and please reopen the bug!)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.