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

Force Close when enter word with apostrophe #2

Open
slumdroid opened this Issue Nov 9, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@slumdroid
Copy link

slumdroid commented Nov 9, 2014

E/AndroidRuntime( 727): FATAL EXCEPTION: AsyncTask #1
E/AndroidRuntime( 727): java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime( 727): at android.os.AsyncTask$3.done(AsyncTask.java:299)
E/AndroidRuntime( 727): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
E/AndroidRuntime( 727): at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
E/AndroidRuntime( 727): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
E/AndroidRuntime( 727): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
E/AndroidRuntime( 727): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
E/AndroidRuntime( 727): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
E/AndroidRuntime( 727): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
E/AndroidRuntime( 727): at java.lang.Thread.run(Thread.java:856)
E/AndroidRuntime( 727): Caused by: android.database.sqlite.SQLiteException: near "s": syntax error (code 1): , while compiling: SELECT word, _id FROM words_en WHERE stems LIKE '%slumdroid's test %' OR stems LIKE 'slumdroid's test' ORDER BY LENGTH(word) LIMIT 10
E/AndroidRuntime( 727): at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
E/AndroidRuntime( 727): at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:882)
E/AndroidRuntime( 727): at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:493)
E/AndroidRuntime( 727): at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
E/AndroidRuntime( 727): at android.database.sqlite.SQLiteProgram.(SQLiteProgram.java:58)
E/AndroidRuntime( 727): at android.database.sqlite.SQLiteQuery.(SQLiteQuery.java:37)
E/AndroidRuntime( 727): at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:44)
E/AndroidRuntime( 727): at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1314)
E/AndroidRuntime( 727): at android.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1253)
E/AndroidRuntime( 727): at com.olam.DatabaseHelper.getSimilarStems(DatabaseHelper.java:115)
E/AndroidRuntime( 727): at com.olam.MainSearch$doSearch.doInBackground(MainSearch.java:255)
E/AndroidRuntime( 727): at com.olam.MainSearch$doSearch.doInBackground(MainSearch.java:228)
E/AndroidRuntime( 727): at android.os.AsyncTask$2.call(AsyncTask.java:287)
E/AndroidRuntime( 727): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
E/AndroidRuntime( 727): ... 5 more

@tapanprakasht

This comment has been minimized.

Copy link

tapanprakasht commented Feb 21, 2016

Please close this issue. This issue is reproducible only in Play store version. I think the issue has been fixed in the current repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.