Closed
      
        Bug 1403754
      
      
        Opened 8 years ago
          Closed 6 years ago
      
        
    
  
Crash in java.lang.NullPointerException: Attempt to invoke virtual method ''android.view.View android.view.ViewStub.inflate()'' on a null object reference at org.mozilla.gecko.home.BrowserSearch.showSuggestionsOptIn(BrowserSearch.java)                     
    Categories
(Firefox for Android Graveyard :: Awesomescreen, defect, P3)
Tracking
(fennec+)
        RESOLVED
        WONTFIX
        
    
  
| Tracking | Status | |
|---|---|---|
| fennec | + | --- | 
People
(Reporter: mcomella, Unassigned)
Details
(Keywords: crash, Whiteboard: [FNC][SPT59.5][MVP])
Crash Data
Attachments
(1 obsolete file)
This bug was filed from the Socorro interface and is 
report bp-45ad923e-6589-40dc-a797-4b1bd0170927.
=============================================================
java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.ViewStub.inflate()' on a null object reference
	at org.mozilla.gecko.home.BrowserSearch.showSuggestionsOptIn(BrowserSearch.java:850)
	at org.mozilla.gecko.home.BrowserSearch.setSearchEngines(BrowserSearch.java:804)
	at org.mozilla.gecko.home.BrowserSearch.handleMessage(BrowserSearch.java:484)
	at org.mozilla.gecko.EventDispatcher$2.run(EventDispatcher.java:337)
#17 top crasher in 57 Beta: it's crashed 9 times since Beta has been released.
| Reporter | ||
| Comment 1•8 years ago
           | ||
fwiw, the Beta was just released so we may not be at the point where the number of crashes is statistically significant enough such that this really deserves to be the #17 top crasher.
| Comment 2•8 years ago
           | ||
NI Joe and Wesly to help prioritize this
tracking-fennec: ? → +
Flags: needinfo?(wehuang)
Flags: needinfo?(jcheng)
Priority: -- → P1
| Reporter | ||
| Comment 3•8 years ago
           | ||
fwiw, it's now the #47 top crasher.
|   | ||
| Comment 4•7 years ago
           | ||
#25 in 57.0.4 (count/install = 13/14, while 283/286 in 57.0.1) and still seen in 59.0a1 (#36 top crasher) today so worth checking, added to Sprint 59.5 planning.
Flags: needinfo?(wehuang)
|   | ||
| Updated•7 years ago
           | 
Whiteboard: [FNC][SPT59.5][MVP]
| Comment hidden (mozreview-request) | 
| Updated•7 years ago
           | 
        Attachment #8941754 -
        Attachment is obsolete: true
| Updated•7 years ago
           | 
Assignee: nobody → cnevinchen
| Comment hidden (mozreview-request) | 
| Updated•7 years ago
           | 
        Attachment #8941754 -
        Flags: review?(max)
| Comment hidden (mozreview-request) | 
| Comment 8•7 years ago
           | ||
Comment on attachment 8941754 [details]
Bug 1403754 - Skip browser search opt-in prompt if it's not ready.
Another reason could be calling findViewById for ViewStub may return null when the view is already inflated. There might be a timing that mSuggestionsOptInPrompt is null again( maybe [1] or [2])
I'll pause the investigation till I have time again. Anyone who have time please feel free to take it.
[1] https://searchfox.org/mozilla-central/source/mobile/android/base/java/org/mozilla/gecko/home/BrowserSearch.java#951
[2] https://searchfox.org/mozilla-central/source/mobile/android/base/java/org/mozilla/gecko/home/BrowserSearch.java#324
        Attachment #8941754 -
        Attachment is obsolete: true
        Attachment #8941754 -
        Flags: review?(max)
| Comment hidden (typo) | 
| Reporter | ||
| Comment 10•7 years ago
           | ||
[triage] #31 top FF58 release crasher: 30 crashes in 7 days. Seems non-critical.
Assignee: cnevinchen → nobody
Flags: needinfo?(jcheng)
Priority: P1 → --
| Reporter | ||
| Updated•7 years ago
           | 
Priority: -- → P3
| Comment 11•6 years ago
           | ||
Closing because no crashes reported for 12 weeks.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
| Updated•4 years ago
           | 
Product: Firefox for Android → Firefox for Android Graveyard
          You need to log in
          before you can comment on or make changes to this bug.
        
Description
•