Closed
Bug 1261981
Opened 8 years ago
Closed 5 years ago
[infer] Errors in LocalBrowserDB
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
INACTIVE
People
(Reporter: mcomella, Assigned: maurya1985, Mentored)
References
Details
(Whiteboard: [lang=java][good next bug])
/var/lib/jenkins/workspace/fennec-infer/mobile/android/base/java/org/mozilla/gecko/db/LocalBrowserDB.java:618: error: NULL_DEREFERENCE object cursor last assigned on line 615 could be null and is dereferenced at line 618 /var/lib/jenkins/workspace/fennec-infer/mobile/android/base/java/org/mozilla/gecko/db/LocalBrowserDB.java:1697: error: NULL_DEREFERENCE object topSitesCursor last assigned on line 1683 could be null and is dereferenced at line 1697
Comment 1•8 years ago
|
||
I've got a patch ready for this. Who should I assign the review to in the commit message? Should it be r?rcomella or r?sebastian ?
Flags: needinfo?(michael.l.comella)
Reporter | ||
Comment 2•7 years ago
|
||
Please r?sebastian – I'm no longer working on Fennec.
Flags: needinfo?(michael.l.comella) → needinfo?(swaroop.rao)
Updated•7 years ago
|
Flags: needinfo?(swaroop.rao)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → maurya1985
Assignee | ||
Updated•7 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•7 years ago
|
||
Hi Michael, How is infer run on the project? infer run -- ./gradlew build ---> Throws an error about mach. The below options don't work either. infer run -- ./mach build infer run -- gradle build
Flags: needinfo?(michael.l.comella)
Reporter | ||
Comment 4•7 years ago
|
||
(In reply to Maurya Talisetti from comment #3) > How is infer run on the project? I actually never got it to run locally – Sylvestre ran it in various forms of CI. In the infer meta bug 1175203 comment 0, I found [1], which looks like the current place we're running it (click the bugs.txt artifact). I updated the docs at [2] accordingly. fwiw, I used to use a tool [3] to filter the infer results only to things we cared about but I'm not sure if it's necessary anymore. [1]: http://relman-ci.mozilla.org/job/fennec-infer/ [2]: https://wiki.mozilla.org/Mobile/Fennec/Android/Testing/Not_yet_in_common_use#Facebook_Infer [3]: https://github.com/mcomella/infer-filter
Flags: needinfo?(michael.l.comella)
Comment 5•5 years ago
|
||
We run it now at review phase.
No action for a while, closing.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → INACTIVE
Updated•3 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
•