Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Getting FileNotFoundException #298

Open
tarunkukreja003 opened this issue Oct 13, 2016 · 0 comments
Open

Getting FileNotFoundException #298

tarunkukreja003 opened this issue Oct 13, 2016 · 0 comments

Comments

@tarunkukreja003
Copy link

I am getting the following exception after granting the permission of accessing the Internet and as I click the "Refresh" in menu i get the following exception

java.io.FileNotFoundException: http://api.openweathermap.org/data/2.5/forecast/daily?q=94043&mode=json&units=metric&cnt=7&APPID=yourApiKey
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:238)
at com.example.tarunkukreja.weather.ForecastFragment$FetchWeatherTask.doInBackground(ForecastFragment.java:126)
at com.example.tarunkukreja.weather.ForecastFragment$FetchWeatherTask.doInBackground(ForecastFragment.java:97)
at android.os.AsyncTask$2.call(AsyncTask.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant