android.database.sqlite.SQLiteException

near "GROUP": syntax error (code 1): , while compiling: INSERT OR REPLACE INTO PERSON(GROUP,GENDER,ID,AGE_GROUP) VALUES (?,?,?,?)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web1766

  • via GitHub by schoettl
    , 1 year ago
    near "GROUP": syntax error (code 1): , while compiling: INSERT OR REPLACE INTO PERSON(GROUP,GENDER,ID,AGE_GROUP) VALUES (?,?,?,?)
  • via Stack Overflow by clue11
    , 1 year ago
    near "group": syntax error (code 1): , while compiling: INSERT INTO login(email,name,created_at,uid,group) VALUES (?,?,?,?,?)
  • near ")": syntax error: , while compiling: INSERT INTO `person` () VALUES ()
  • Stack trace

    • android.database.sqlite.SQLiteException: near "GROUP": syntax error (code 1): , while compiling: INSERT OR REPLACE INTO PERSON(GROUP,GENDER,ID,AGE_GROUP) VALUES (?,?,?,?) 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.SQLiteStatement.<init>(SQLiteStatement.java:31) at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1469) at com.orm.SugarRecord.save(SugarRecord.java:280) at com.orm.SugarRecord.save(SugarRecord.java:416)

    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

    57 times, 1 month ago
    Unknown user
    Once, 10 months ago
    68 times, 2 days ago
    Once, 2 weeks ago
    14 times, 3 weeks ago
    108 more bugmates