Comments (5)
Regarding events showing up in the wrong places, I'm going to call CNR - what did you have to do to get them to appear?
from the-blue-alliance-android.
Mainly spam the hell out of the week tabs while the year's events are still loading.
Here's a video of the 2007 glitch. https://www.youtube.com/watch?v=LzpoqDYlvh0
And another NPE that resulted. (Pastie: http://pastie.org/private/s98bkcuvdfvtd9roezvpq)
http://www.youtube.com/watch?v=2pu7p2rPqSY
EDIT: I've gotten Monkey to reproduce it, surprisingly lol. Then again, I'm not sure if a human could do 2000 random events this fast. https://www.youtube.com/watch?v=q98l1ZTTto
from the-blue-alliance-android.
I can fix the NPEs. I have no idea what to do about events appearing in the wrong place. It seems like calls are conflicting with each other and returning the next caller's data. But I think everything should be synchronized....
EDIT: That last NPE was also something already checked (it was moving too fast, so the activity must have gone out of scope between here and its null check). I don't think there's much more we can do on that front.
from the-blue-alliance-android.
The NPE may have something to do with the event coordinate locations being blank. I found a much simpler way to reproduce the crash that doesn't involve spamming random events. All of the 2011 events, except for the championship and offseason, don't have locations mapped to them, so they're more likely to get to the bugged line than the other years.
Process: Load up a non-championship/non-offseason event, but exit out before it finishes loading. NPE.
https://www.youtube.com/watch?v=62taqviv6eI
https://www.youtube.com/watch?v=uaMDu3ij5iM
EDIT: I think just simply adding a null check to activity.findViewById(R.id.event_location_container)
in if(event.getLocation().isEmpty())
is probably the best way to go on that. NPE doesn't seem to appear after that.
from the-blue-alliance-android.
Alright, cool. Let's just make sure this gets thrown into the next bugfix PR.
from the-blue-alliance-android.
Related Issues (20)
- Notifications don't handle playoff tiebreaker criteria properly
- Allow forced downloading of cached data.
- Update Icon to match new Play Store Requirements HOT 2
- 2020 events shown as offseasons incorrectly. HOT 3
- App switches to dark theme after opening settings
- Week 1 events tab displays as "Preseason Events"
- Event codes with numbers have numbers stripped from notification titles HOT 3
- Performance improvement suggestion
- Unable to download data HOT 5
- Android app icon guidelines have changed HOT 1
- If a match is delayed, the match time isn't updated HOT 1
- CCWM calculations are flawed
- Stuck on welcome screen (BETA) HOT 5
- Setup not persisting HOT 2
- Errors on Notifications on Android S+
- Team@Event Clicks Are Wonky
- Notifications Have Empty Icons on Some Devices HOT 2
- Button to cache available team avatars
- No offseason Events HOT 1
- 16 x "Team 971 CC Q44 Results" notifications, 14 x "[Team 971] CC Q11 Results", ... 108 total HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from the-blue-alliance-android.