java.lang.RuntimeException: Unable to start activity ComponentInfo{com.listviewtest.listdatabase/com.listviewtest.listdatabase.ViewListContents}: android.database.sqlite.SQLiteException: near "FROM": syntax error (code 1): , while compiling: SELECT + FROM mylist_data

Stack Overflow | AgentEddie99 | 2 weeks ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Android Studio Databasehelper App Crashes

    Stack Overflow | 2 weeks ago | AgentEddie99
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.listviewtest.listdatabase/com.listviewtest.listdatabase.ViewListContents}: android.database.sqlite.SQLiteException: near "FROM": syntax error (code 1): , while compiling: SELECT + FROM mylist_data
  2. 0

    getSelectedItem().toString() returning null value

    Stack Overflow | 7 months ago | Adit R
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.rcadit.foodgenie/com.example.rcadit.foodgenie.resultActivity}: android.database.sqlite.SQLiteException: near "null": syntax error (code 1): , while compiling: SELECT foodName FROM foodDB where cuisine = null & hungerLevel = null & preparationTime null & course = null
  3. 0

    What's wrong with my table (SQLite)?

    Stack Overflow | 10 months ago | Calitoz
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.carlos.application1/com.example.carlos.application1.MainActivity}: android.database.sqlite.SQLiteException: near "values": syntax error (code 1): , while compiling: select * from values
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error with apostrophe in filling arraylist

    Stack Overflow | 3 years ago | smartmouse
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.myapp/com.example.myapp.ListMerchant}: android.database.sqlite.SQLiteException: near "Emilia": syntax error (code 1): , while compiling: Select _id,title,phone,comune from merchants where city='Reggio nell'Emilia'
  6. 0

    How to handle word with apostrophe?

    Stack Overflow | 3 years ago | smartmouse
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.myapp/com.example.myapp.ListMerchant}: android.database.sqlite.SQLiteException: near "Emilia": syntax error (code 1): , while compiling: Select _id,title,phone,comune from merchants where city='Reggio nell'Emilia'

  1. Indri Yunita 4 times, last 3 weeks ago
  2. andreeaa marin 184 times, last 1 month ago
  3. Reich 59 times, last 2 months ago
  4. gamebusterz 40 times, last 1 month ago
  5. Emrah Küçük 3 times, last 2 months ago
42 more registered users
11 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.RuntimeException

    Unable to start activity ComponentInfo{com.listviewtest.listdatabase/com.listviewtest.listdatabase.ViewListContents}: android.database.sqlite.SQLiteException: near "FROM": syntax error (code 1): , while compiling: SELECT + FROM mylist_data

    at android.app.ActivityThread.performLaunchActivity()
  2. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
    2 frames