zh-wang / YWeatherGetter4a

An Yahoo Weather API wrapper for android
99 stars 45 forks source link

Unhandle exception when user location is not found #12

Closed raicas closed 10 years ago

raicas commented 10 years ago

java.lang.NullPointerException at zh.wang.android.apis.yweathergetter4a.YahooWeather.gotLocation(YahooWeather.java:194) at zh.wang.android.apis.yweathergetter4a.UserLocationUtils$GetLastLocation.run(UserLocationUtils.java:100) at java.util.Timer$TimerImpl.run(Timer.java:284)

zh-wang commented 10 years ago

I fixed it. :)