java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Syntax error when querying SQLite
    via Stack Overflow by java progammera
    ,
  • Bad query string
    via GitHub by samueltardieu
    ,
    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.hamira.wordmatchinggame/com.example.hamira.wordmatchinggame.ingameinterface}: android.database.sqlite.SQLiteException: no such table: tblwords (code 1): , while compiling: select max(case when Key_Word = 'Questn' then Val end) Question, max(case when Key_Word = 'Defi' then Val end) Definition, max(case when Key_Word = 'Cc1' then Val end) Choice1, max(case when Key_Word = 'Cc2' then Val end) Choice2, max(case when Key_Word = 'Cc3' then Val end) Choice3, max(case when Key_Word = 'Cc4' then Val end) Choice4, max(case when Key_Word = 'Ans' then Val end) Answer, max(case when Key_Word = 'Stats' then Val end) Status from tblwords where prima = '8' at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2525) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2617) at android.app.ActivityThread.access$800(ActivityThread.java:182) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1474) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:218) at android.app.ActivityThread.main(ActivityThread.java:5657) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:990) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:785) Caused by: android.database.sqlite.SQLiteException: no such table: tblwords (code 1): , while compiling: select max(case when Key_Word = 'Questn' then Val end) Question, max(case when Key_Word = 'Defi' then Val end) Definition, max(case when Key_Word = 'Cc1' then Val end) Choice1, max(case when Key_Word = 'Cc2' then Val end) Choice2, max(case when Key_Word = 'Cc3' then Val end) Choice3, max(case when Key_Word = 'Cc4' then Val end) Choice4, max(case when Key_Word = 'Ans' then Val end) Answer, max(case when Key_Word = 'Stats' then Val end) Status from tblwords where prima = '8' at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method) at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:898) at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:509) 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:1346) at android.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1285) at com.example.hamira.wordmatchinggame.DataConn.getAllData(DataConn.java:38) at com.example.hamira.wordmatchinggame.ingameinterface.hereWeGo(ingameinterface.java:167) at com.example.hamira.wordmatchinggame.ingameinterface.onCreate(ingameinterface.java:37) at android.app.Activity.performCreate(Activity.java:6135) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1112) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2472)

    Users with the same issue

    Indri Yunita
    2 times, last one,
    Aria Pahlavan
    8 times, last one,
    Unknown visitor1 times, last one,
    mrokay97
    2 times, last one,
    Unknown visitor1 times, last one,
    107 more bugmates