What steps will reproduce the problem?
1.Lauch the application
2.Press the menu key,then select "Pick sites"
3.Show an error dialog
What is the expected output? What do you see instead?
The app should show the list of sites,but i see a dialog
and the message is "An error has occurred while retrieving the list of sites.
Make sure you are connected to the Internet and try again in a few moments."
What version of the product are you using? On what operating system?
Droidstack-1.0-11a
Please provide any additional information below.
The log is:
07-25 17:43:48.094 I/System.out(24762): [socket][1] connection
/60.28.208.23:80;LocalPort=42467(30000)
07-25 17:43:48.094 E/Droidstack(23755): Failed to get sites
07-25 17:43:48.094 E/Droidstack(23755): java.io.FileNotFoundException:
http://stackauth.com/1.0/sites/
07-25 17:43:48.094 E/Droidstack(23755): at
libcore.net.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java
:194)
07-25 17:43:48.094 E/Droidstack(23755): at
net.sf.stackwrap4j.http.HttpClient$ApiRequest.makeRequest(HttpClient.java:196)
07-25 17:43:48.094 E/Droidstack(23755): at
net.sf.stackwrap4j.http.HttpClient.sendGetRequest(HttpClient.java:113)
07-25 17:43:48.094 E/Droidstack(23755): at
net.sf.stackwrap4j.http.HttpClient.sendGetRequest(HttpClient.java:90)
07-25 17:43:48.094 E/Droidstack(23755): at
net.sf.stackwrap4j.stackauth.StackAuth.getAllSites(StackAuth.java:55)
07-25 17:43:48.094 E/Droidstack(23755): at
org.droidstack.activity.SitePickerActivity$GetSites.doInBackground(SitePickerAct
ivity.java:55)
07-25 17:43:48.094 E/Droidstack(23755): at
org.droidstack.activity.SitePickerActivity$GetSites.doInBackground(SitePickerAct
ivity.java:1)
07-25 17:43:48.094 E/Droidstack(23755): at
android.os.AsyncTask$2.call(AsyncTask.java:287)
07-25 17:43:48.094 E/Droidstack(23755): at
java.util.concurrent.FutureTask.run(FutureTask.java:234)
07-25 17:43:48.094 E/Droidstack(23755): at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
07-25 17:43:48.094 E/Droidstack(23755): at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
07-25 17:43:48.094 E/Droidstack(23755): at
java.lang.Thread.run(Thread.java:838)
07-25 17:43:48.094 I/System.out(24762): [CDS]connect[/60.28.208.23:80] tm:30
Original issue reported on code.google.com by shle...@gmail.com on 25 Jul 2014 at 9:53
Original issue reported on code.google.com by
shle...@gmail.com
on 25 Jul 2014 at 9:53