Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IllegalArgumentException in SearchBar #1

Open
slumdroid opened this issue Jul 2, 2013 · 1 comment
Open

IllegalArgumentException in SearchBar #1

slumdroid opened this issue Jul 2, 2013 · 1 comment

Comments

@slumdroid
Copy link

WikiCFP version used is 1.1.2 (the latest version on the market)
Application crashes with the following stack trace when I typed in SearchBar "2014 " (the last character in text is a "space"):

E/AndroidRuntime( 2914): FATAL EXCEPTION: AsyncTask #2
E/AndroidRuntime( 2914): java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime( 2914): at android.os.AsyncTask$3.done(AsyncTask.java:299)
E/AndroidRuntime( 2914): at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
E/AndroidRuntime( 2914): at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
E/AndroidRuntime( 2914): at java.util.concurrent.FutureTask.run(FutureTask.java:239)
E/AndroidRuntime( 2914): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
E/AndroidRuntime( 2914): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
E/AndroidRuntime( 2914): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
E/AndroidRuntime( 2914): at java.lang.Thread.run(Thread.java:856)
E/AndroidRuntime( 2914): Caused by: java.lang.IllegalArgumentException: Illegal character in query at index 49: http://wikicfp.com/cfp/servlet/tool.search?q=2014 &year=a
E/AndroidRuntime( 2914): at java.net.URI.create(URI.java:727)
E/AndroidRuntime( 2914): at org.apache.http.client.methods.HttpGet.(HttpGet.java:75)
E/AndroidRuntime( 2914): at net.kuratkoo.wikicfp.tools.Tools.getContent(Tools.java:21)
E/AndroidRuntime( 2914): at net.kuratkoo.wikicfp.model.EventSet.search(EventSet.java:37)
E/AndroidRuntime( 2914): at net.kuratkoo.wikicfp.SearchActivity$CategoryAsyncTask.doInBackground(SearchActivity.java:91)
E/AndroidRuntime( 2914): at net.kuratkoo.wikicfp.SearchActivity$CategoryAsyncTask.doInBackground(SearchActivity.java:80)
E/AndroidRuntime( 2914): at android.os.AsyncTask$2.call(AsyncTask.java:287)
E/AndroidRuntime( 2914): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
E/AndroidRuntime( 2914): ... 4 more

@slumdroid
Copy link
Author

Application crashes if you enter a phrase that contains spaces, too...
such as "software engineering"

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

No branches or pull requests

1 participant