Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. SugarDb.getDB() has thrown a SQLiteException
    Unsorted
    0
    1
    0
  2. SQLiteDatabase.execSQL() has thrown a SQLiteException
    Android
    126
    38
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
android.database.sqlite.SQLiteException: near "(": syntax error (code 1): , while compiling: CREATE TABLE ( ID INTEGER PRIMARY KEY AUTOINCREMENT , THIS0 , NAME TEXT )
12 matching frames hidden
    at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:163)
    at com.orm.SugarDb.getDB(SugarDb.java:36)
    at com.orm.SugarRecord.save(SugarRecord.java:360)
    at com.example.sample.sugartest.MainActivity.onResume(MainActivity.java:27)
5 frames hidden

External results for this pattern (1)

  1. iambmeltvia GitHub5 months ago
    near "(": syntax error (code 1): , while compiling: CREATE TABLE ( ID INTEGER PRIMARY KEY AUTOINCREMENT , THIS0 , NAME TEXT )
    Show stack trace