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

Samebug tips

  1. ,
    Expert tip

    activity.OnCreate is executed every time the app launches or the screen is rotated, so, putting your DB initialization inside it will cause the DB to be called too many times causing the exception. Try to use the MyDatabase.onCreate method for this.

Solutions on the web

via GitHub by kistitan
, 7 months ago
via GitHub by dwaynehoy
, 2 years ago
UNIQUE constraint failed: PointOfInterest._id (code 1555)
via Stack Overflow by Giordano
, 2 years ago
via Stack Overflow by Unknown author, 2 years ago
column NAME is not unique (code 19)
via Stack Overflow by John
, 2 years ago
UNIQUE constraint failed: PictureInfos.idPicture (code 1555)
android.database.sqlite.SQLiteConstraintException: UNIQUE constraint failed: NewMessage.type (code 1555)	at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)	at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(	at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(	at android.database.sqlite.SQLiteStatement.executeInsert(	at	at	at	at	at	at	at$	at$	at java.util.concurrent.ThreadPoolExecutor.runWorker(	at java.util.concurrent.ThreadPoolExecutor$	at