android.database.sqlite.SQLiteException

no such column: QUANTITY (code 1): , while compiling: SELECT * FROM FTS WHERE (QUANTITY MATCH ?)

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1038

  • via Stack Overflow by Grace D
    ,
  • via Stack Overflow by Khulood
    ,
  • Stack trace

    • android.database.sqlite.SQLiteException: no such column: QUANTITY (code 1): , while compiling: SELECT * FROM FTS WHERE (QUANTITY MATCH ?) at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method) at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:887) at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:498) at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588) at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58) at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:37) at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:44) at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1316) at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:400) at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:294) at com.gmd.referenceapplication.DatabaseTable.query(DatabaseTable.java:187) at com.gmd.referenceapplication.DatabaseTable.getWordMatches(DatabaseTable.java:179) at com.gmd.referenceapplication.SearchableActivity$1.onQueryTextChange(SearchableActivity.java:70) at android.support.v7.widget.SearchView.onTextChanged(SearchView.java:1150) at android.support.v7.widget.SearchView.access$2000(SearchView.java:103) at android.support.v7.widget.SearchView$12.onTextChanged(SearchView.java:1680) at android.widget.TextView.sendOnTextChanged(TextView.java:7991) at android.widget.TextView.handleTextChanged(TextView.java:8053) at android.widget.TextView$ChangeWatcher.onTextChanged(TextView.java:10157) at android.text.SpannableStringBuilder.sendTextChanged(SpannableStringBuilder.java:1033) at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:559) at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:492) at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:491) at android.view.inputmethod.BaseInputConnection.replaceText(BaseInputConnection.java:685) at android.view.inputmethod.BaseInputConnection.setComposingText(BaseInputConnection.java:445) at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:340) at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:78) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Indri YunitaIndri Yunita
    4 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    dontdropmybassdontdropmybass
    1 times, last one,
    RajeshRajesh
    21 times, last one,
    107 more bugmates