Last modified: 2014-10-30 19:39:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T74761, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72761 - NPE crash when creating NearbyResult
NPE crash when creating NearbyResult
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Android App (Other open bugs)
Stable
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-30 13:11 UTC by Alex Monk
Modified: 2014-10-30 19:39 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Alex Monk 2014-10-30 13:11:56 UTC
java.lang.NullPointerException
at org.wikipedia.concurrency.SaneAsyncTask.onCatch(SaneAsyncTask.java:73)
at org.wikipedia.nearby.NearbyFragment$6.onCatch(NearbyFragment.java:337)
...
java.lang.NullPointerException
at org.wikipedia.nearby.NearbyResult.<init>(NearbyResult.java:28)
at org.wikipedia.nearby.NearbyFetchTask.processResult(NearbyFetchTask.java:108)


https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=7918668
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=7918460
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=7918440
https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=7919759
Comment 1 Gerrit Notification Bot 2014-10-30 15:42:07 UTC
Change 170051 had a related patch set uploaded by Dbrant:
Fix possible crash when fetching Nearby results.

https://gerrit.wikimedia.org/r/170051
Comment 2 Gerrit Notification Bot 2014-10-30 16:02:26 UTC
Change 170051 merged by jenkins-bot:
Fix possible crash when fetching Nearby results.

https://gerrit.wikimedia.org/r/170051
Comment 3 Bernd Sitzmann 2014-10-30 19:39:16 UTC
FWIW, to repo with our old code, make it so that Nearby doesn't return any results.
You can do that in code by changing the radius. If you have access to the code that's probably the easiest way to repro. 
Alternatively, without changing code, use a fake location app and point it to somewhere where there shouldn't be a nearby page.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links