java.lang.NullPointerException @ ZipFile.getInputStream(ZipFile.java:256)

RESOLVED FIXED

Status

()

Firefox for Android
General
P3
critical
RESOLVED FIXED
6 years ago
5 years ago

People

(Reporter: aaronmt, Assigned: blassey)

Tracking

({crash})

unspecified
ARM
Android
crash
Points:
---

Firefox Tracking Flags

(firefox11 fixed, fennec11+)

Details

(Whiteboard: [native-crash])

Attachments

(1 attachment)

(Reporter)

Description

6 years ago
I/GeckoAddons(  800): java.lang.NullPointerException
I/GeckoAddons(  800): 	at java.util.zip.ZipFile.getInputStream(ZipFile.java:256)
I/GeckoAddons(  800): 	at org.mozilla.gecko.AboutHomeContent.getRecommendedAddonsStream(AboutHomeContent.java:177)
I/GeckoAddons(  800): 	at org.mozilla.gecko.AboutHomeContent$4.run(AboutHomeContent.java:185)
I/GeckoAddons(  800): 	at android.os.Handler.handleCallback(Handler.java:587)
I/GeckoAddons(  800): 	at android.os.Handler.dispatchMessage(Handler.java:92)
I/GeckoAddons(  800): 	at android.os.Looper.loop(Looper.java:130)
I/GeckoAddons(  800): 	at org.mozilla.gecko.GeckoAppShell$LooperThread.run(GeckoAppShell.java:153)

On launch crash with:

20111206040208
http://hg.mozilla.org/projects/birch/rev/a7fb88bd5148
(Assignee)

Updated

6 years ago
Assignee: nobody → blassey.bugs
Priority: -- → P3
(In reply to Aaron Train [:aaronmt] from comment #0)
> I/GeckoAddons(  800): java.lang.NullPointerException
> I/GeckoAddons(  800): 	at
> java.util.zip.ZipFile.getInputStream(ZipFile.java:256)
> I/GeckoAddons(  800): 	at
> org.mozilla.gecko.AboutHomeContent.
> getRecommendedAddonsStream(AboutHomeContent.java:177)
> I/GeckoAddons(  800): 	at
> org.mozilla.gecko.AboutHomeContent$4.run(AboutHomeContent.java:185)
> I/GeckoAddons(  800): 	at android.os.Handler.handleCallback(Handler.java:587)
> I/GeckoAddons(  800): 	at android.os.Handler.dispatchMessage(Handler.java:92)
> I/GeckoAddons(  800): 	at android.os.Looper.loop(Looper.java:130)
> I/GeckoAddons(  800): 	at
> org.mozilla.gecko.GeckoAppShell$LooperThread.run(GeckoAppShell.java:153)
> 
> On launch crash with:
> 
> 20111206040208
> http://hg.mozilla.org/projects/birch/rev/a7fb88bd5148

how is this a crash? It is inside a blanket try-catch. If you are actually crashing, this is not the reason, so please attach a bigger log.
(Reporter)

Comment 2

6 years ago
I don't see this anymore.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WORKSFORME
Created attachment 581429 [details] [diff] [review]
patch

even though this is not a crash, I do not like throwing unnecessarily, so here are some null checks
Attachment #581429 - Flags: review?(mark.finkle)
Attachment #581429 - Flags: review?(mark.finkle) → review+
pushed https://hg.mozilla.org/mozilla-central/rev/1f03a95b661a
Resolution: WORKSFORME → FIXED
(Assignee)

Updated

5 years ago
tracking-fennec: --- → 11+
(Assignee)

Updated

5 years ago
status-firefox11: --- → fixed
You need to log in before you can comment on or make changes to this bug.