Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Sachin Tomar
, 1 year ago
Unable to start activity ComponentInfo{user_profile.createtable/user_profile.createtable.MainActivity}: android.database.sqlite.SQLiteException: near "tableStudent_table": syntax error (code 1): , while compiling: create tableStudent_table (ID INTEGER PRIMARY KEY ,NAME TEXT,SURNAME TEXT,MARKS INTEGER)
via Stack Overflow by iDaeng
, 3 months ago
Unable to start activity ComponentInfo{com.example.acer.sqlitecrud/com.example.acer.sqlitecrud.MainActivity}: android.database.sqlite.SQLiteException: near "TABLEstudentTable": syntax error (code 1): , while compiling: CREATE TABLEstudentTable(ID INTEGER PRIMARY KEY AUTOINCREMENT, NAME TEXT, MARKS INTEGER)
via Stack Overflow by VictorBG
, 2 years ago
Unable to start activity ComponentInfo{com.vvss.gestoranime/com.vvss.gestoranime.MainActivity}: android.database.sqlite.SQLiteException: near "update": syntax error (code 1): , while compiling: CREATE TABLE Animes (title TEXT PRIMARY KEY, update TEXT, from TEXT, cap INTEGER, cap_tot INTEGER, alarm INTEGER);
via Stack Overflow by user3385560
, 2 years ago
Unable to start activity ComponentInfo{com.example.sha_elregencia.database/com.example.sha_elregencia.database.MainActivity}: android.database.sqlite.SQLiteException: near "productname": syntax error (code 1): , while compiling: CREATE TABLE products(_id INTEGER PRIMARY KEY AUTOINCREMENT productname TEXT );
via Stack Overflow by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.example.photoalbum/com.example.photoalbum.SignupActivity}: android.database.sqlite.SQLiteException: near "(": syntax error (code 1): , while compiling: CREATE TABLE ( _id INTEGER PRIMARY KEY AUTOINCREMENT, email TEXT, password TEXT, firstname TEXT, lastname TEXT, dob TEXT);
via Stack Overflow by Andrey Vedishchev
, 2 years ago
Unable to start activity ComponentInfo{it.alessandrocucci.cardrecyclerview/it.alessandrocucci.cardrecyclerview.InserimentoScadenze}: android.database.sqlite.SQLiteException: unrecognized token: """ (code 1): , while compiling: create table " + TABLE_NAME + "(ID INTEGER PRIMARY KEY AUTOINCREMENT, TIPO TEXT, NOTE TEXT, DATA TEXT) "
android.database.sqlite.SQLiteException: near "tableStudent_table": syntax error (code 1): , while compiling: create tableStudent_table (ID INTEGER PRIMARY KEY ,NAME TEXT,SURNAME TEXT,MARKS INTEGER)	at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)	at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:889)	at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:500)	at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)	at android.database.sqlite.SQLiteProgram.(SQLiteProgram.java:58)	at android.database.sqlite.SQLiteStatement.(SQLiteStatement.java:31)	at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1674)	at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1605)	at user_profile.createtable.DatabaseHelper.onCreate(DatabaseHelper.java:26)	at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:251)	at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:163)	at user_profile.createtable.DatabaseHelper.(DatabaseHelper.java:21)	at user_profile.createtable.MainActivity.onCreate(MainActivity.java:13)	at android.app.Activity.performCreate(Activity.java:6010)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413)	at android.app.ActivityThread.access$800(ActivityThread.java:155)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:135)	at android.app.ActivityThread.main(ActivityThread.java:5343)	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:905)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)