remulasce / metroapp

Realtime arrival notification utility for LA Metro
2 stars 0 forks source link

Random "metro app has stopped working" #189

Closed remulasce closed 9 years ago

remulasce commented 9 years ago

Don't know the cause. Happens when app is both in foreground and background ... so probably something is also not getting shut down properly.

nighelles commented 9 years ago

Hmm

On Saturday, April 4, 2015, remulasce notifications@github.com wrote:

Don't know the cause. Happens when app is both in foreground and background ... so probably something is also not getting shut down properly.

— Reply hmmto this email directly or view it on GitHub https://github.com/remulasce/metroapp/issues/189.

remulasce commented 9 years ago

Clarification: Only noticed on dev_2 branch after implementing synchronized stop-proximity updating.

remulasce commented 9 years ago

I integrated an exception-reporter library which prompts the user to email me with a stack trace and other info.

So next time it happens I'll have any sort of clue of what actually happened.

remulasce commented 9 years ago

Looks like it was a problem in NotifyService. Null pointer check / handling have resolved it. The Report A Crash thing is great, though.