the-blue-alliance/the-blue-alliance-android — pull request #76 by KineticLiminality (2014-05-24 01:51:09+00:00)
Title: fix_event_years Bug Fixes

Fixes
--------------
- Added JsonNull checks to fix a crash when loading events with teams that have no team name and location.
- Added placeholder "Team XXX" in 'Teams' tab in an event with teams without a name, similar to what was done in the giant team list.
(was thinking about a placeholder location, not sure what to put though)
- Added extra NPE check and JsonNull check to fix a possible crash that happened when spamming things / stress testing.
- Added size check when retrieving OPRs to fix a bug where some events were displaying a blank "Top OPRs:," since they had an OPR key but with nothing in it. This also resulted in some events having stats, but not displaying Top OPRs.

Known Problems
------------------
- Array OOB Exception when trying to view match results in years that had two alliances, obviously since there wasn't a third team at the time.

Pastie: http://pastie.org/private/kulexlaje3efwtnif3j7a