WSDOT / wsdot-android-app

Source code for the WSDOT Android application
GNU General Public License v3.0
19 stars 12 forks source link

Runtime error when accessing TrafficMap activity #34

Closed waynedyck closed 8 years ago

waynedyck commented 8 years ago

java.lang.NullPointerException at gov.wa.wsdot.android.wsdot.ui.trafficmap.TrafficMapActivity$CalloutsOverlayTask.onPreExecute(TrafficMapActivity.java:628) at gov.wa.wsdot.android.wsdot.ui.trafficmap.TrafficMapActivity.onResume(TrafficMapActivity.java:193)

waynedyck commented 8 years ago

There are a couple of issues at work here.

waynedyck commented 8 years ago

@loganSims as per the Google's documentation on Setting Up Google Play Services, "...your app should verify the version available before attempting to perform API transactions."

Even though many of the methods are implemented in our various classes, those methods have no logic in them to show dialogs and inform the user of what actions must be taken to ensure Google Play Services gets updated.

loganSims commented 8 years ago

@waynedyck commit c56f0ea13c000be5 may have fixed this issue, correct?

waynedyck commented 8 years ago

@loganSims That's what I'm hoping. I say we monitor the crash reports and if we don't see this one appearing in the latest releases of the app then let's consider it closed.

loganSims commented 8 years ago

As expected, the error seems to be fixed in versions 4+.