Closed Bug 1417941 Opened 2 years ago Closed Last year

Crash in java.lang.NullPointerException: at org.mozilla.gecko.home.CombinedHistoryPanel.setUpRecyclerView(


(Firefox for Android :: Activity Stream, defect, P5, critical)

Firefox 57



Tracking Status
fennec + ---
firefox57 --- affected


(Reporter: marcia, Unassigned, NeedInfo)


(Keywords: crash, Whiteboard: [MobileAS] )

Crash Data

This bug was filed from the Socorro interface and is
report bp-da7a4b17-9793-40b5-9a92-92fb60171116.

Seen while looking at 57 crash stats: This is a new crash only seen in 57 so far.

One comments says "Substratum Theme engine on causing this problem." 

Top 10 frames of crashing thread:

0 mozilla::jni::NativeStub<mozilla::java::GeckoAppShell::ReportJavaCrash_t, GeckoAppShellSupport, mozilla::jni::Args<const mozilla::jni::Ref<mozilla::jni::TypedObject<_jthrowable*>, _jthrowable*>&, const mozilla::jni::StringParam&> >::Wrap<GeckoAppShellSupport::ReportJavaCrash> widget/android/nsAppShell.cpp:277
1 base.odex base.odex@0x951d15 
2 dalvik-LinearAlloc_19844_19844 (deleted) dalvik-LinearAlloc_19844_19844 @0x4aaa 
3 dalvik-main space_743_743 (deleted) dalvik-main space_743_743 @0x6a3fe 
4 dalvik-main space_743_743 (deleted) dalvik-main space_743_743 @0x5111be 
5 dalvik-main space_743_743 (deleted) dalvik-main space_743_743 @0x52affe 
7 dalvik-main space_743_743 (deleted) dalvik-main space_743_743 @0x5111be 
8 dalvik-main space_743_743 (deleted) dalvik-main space_743_743 @0x52affe 
9 base.odex base.odex@0x643be2 

:jchen any ideas about this one? I have it in the General component right now.
Flags: needinfo?(nchen)
Nevin would you know?
Flags: needinfo?(nchen) → needinfo?(cnevinchen)
Component: General → Awesomescreen
Looking at the stack trace, it looks like the app crashes when launch.
After HomeConfigLoader is loaded, recyclerView[1] is about to set it's adapter but it's null. 

In theory onViewCreated is called after onCreateView so this won't happen. 
This file hasn't been change since Bug 1401336. So it needs more digging to see what's going on.

Hi Wesly
Please help prioritize


java.lang.NullPointerException: Attempt to invoke virtual method 'void$Adapter)' on a null object reference
	at org.mozilla.gecko.home.CombinedHistoryPanel.setUpRecyclerView(
	at org.mozilla.gecko.home.CombinedHistoryPanel.onViewCreated(
	at Source)
	at Source)
	at Source)
	at Source)
	at Source)
	at Source)
	at Source)
	at Source)
	at Source)
	at org.mozilla.gecko.home.HomePager.updateUiFromConfigState(
	at org.mozilla.gecko.home.HomePager.access$600(
	at org.mozilla.gecko.home.HomePager$ConfigLoaderCallbacks.onLoadFinished(
	at org.mozilla.gecko.home.HomePager$ConfigLoaderCallbacks.onLoadFinished(
	at$LoaderInfo.callOnLoadFinished(Unknown Source)
	at$LoaderInfo.onLoadComplete(Unknown Source)
	at Source)
	at org.mozilla.gecko.home.HomeConfigLoader.deliverResult(
	at org.mozilla.gecko.home.HomeConfigLoader.deliverResult(
	at Source)
	at$LoadTask.onPostExecute(Unknown Source)
	at Source)
	at$400(Unknown Source)
	at$InternalHandler.handleMessage(Unknown Source)
	at android.os.Handler.dispatchMessage(
	at android.os.Looper.loop(
	at java.lang.reflect.Method.invoke(Native Method)
tracking-fennec: --- → ?
Flags: needinfo?(cnevinchen) → needinfo?(wehuang)
Added [MobileAS] but I'm not sure if it's related. Also ni myself to look at this.
This only happens in 57 release ( the past 7 days). so strange
Flags: needinfo?(cnevinchen)
Whiteboard: [MobileAS]
Component: Awesomescreen → Activity Stream
Flags: needinfo?(cnevinchen)
Hi Joe, Wesly
Please help prioritize this.
Flags: needinfo?(jcheng)
tracking-fennec: ? → +
Priority: -- → P1
not seen in the top 50 crashers of 57.0.4, 58.0b14, and 59.0a1 today, lower priority I assume.
Flags: needinfo?(wehuang)
Flags: in-testsuite+
Flags: in-qa-testsuite+
Flags: a11y-review+
Please don't set random flags.
Flags: in-testsuite+
Flags: in-qa-testsuite+
Flags: a11y-review+
[triage] 5 crashes in 7 days - non-critical.
Priority: P1 → P3
Re-triaging per

Needinfo :susheel if you think this bug should be re-triaged.
Priority: P3 → P5
Closing because no crash reported since 12 weeks.
Closed: Last year
Resolution: --- → WONTFIX
Closing because no crash reported since 12 weeks.
You need to log in before you can comment on or make changes to this bug.