java.lang.RuntimeException: Unable to start activity ComponentInfo{ru.nag.nagupscalc/ru.nag.nagupscalc.Calc}: android.database.sqlite.SQLiteException: cannot start a transaction within a transaction (code 1)

cyberforum.ru | 4 months ago
  1. 0

    SQLite обновление базы данных - Программирование Android - CyberForum.ru

    cyberforum.ru | 4 months ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{ru.nag.nagupscalc/ru.nag.nagupscalc.Calc}: android.database.sqlite.SQLiteException: cannot start a transaction within a transaction (code 1)
  2. 0

    Android upgrading sql database using android-sqlite-asset-helper

    Stack Overflow | 1 year ago | user2901219
    android.database.sqlite.SQLiteException: cannot start a transaction within a transaction (code 1)
  3. 0

    SQLite suddenly considers everything as not an error

    Stack Overflow | 2 years ago | Nestor
    java.lang.RuntimeException: Unable to create application com.activeandroid.app.Application: android.database.sqlite.SQLiteException: not an error (code 0)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android sqlLite create table

    Stack Overflow | 4 years ago | Victor Kiricheiko
    java.lang.RuntimeException: Unable to create application com.activeandroid.app.Application: android.database.sqlite.SQLiteException: duplicate column name: id: CREATE TABLE IF NOT EXISTS Quote (Id INTEGER PRIMARY KEY AUTOINCREMENT, author TEXT, id INTEGER, text TEXT);
  6. 0

    android.database.sqlite.SQLiteException: duplicate column name: bookmark (code 1): , while compiling: ALTER TABLE draft_messages ADD COLUMN bookmark VARCHAR

    GitHub | 3 years ago | 2fast2fourier
    android.database.sqlite.SQLiteException: duplicate column name: bookmark (code 1): , while compiling: ALTER TABLE draft_messages ADD COLUMN bookmark VARCHAR
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. android.database.sqlite.SQLiteException

    cannot start a transaction within a transaction (code 1)

    at android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount()
  2. Android Platform
    SQLiteDatabase.execSQL
    1. android.database.sqlite.SQLiteConnection.nativeExecuteForChangedRowCount(Native Method)
    2. android.database.sqlite.SQLiteConnection.executeForChangedRowCount(SQLiteConnection.java:727)
    3. android.database.sqlite.SQLiteSession.executeForChangedRowCount(SQLiteSession.java:754)
    4. android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:64)
    5. android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1665)
    6. android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1594)
    6 frames
  3. com.readystatesoftware.sqliteasset
    SQLiteAssetHelper.getWritableDatabase
    1. com.readystatesoftware.sqliteasset.SQLiteAssetHelper.onUpgrade(SQLiteAssetHelper.java:328)
    2. com.readystatesoftware.sqliteasset.SQLiteAssetHelper.getWritableDatabase(SQLiteAssetHelper.java:197)
    2 frames
  4. ru.nag.nagupscalc
    Calc.onCreate
    1. ru.nag.nagupscalc.DataBase.getEmployees(DataBase.java:28)
    2. ru.nag.nagupscalc.Calc.onCreate(Calc.java:45)
    2 frames
  5. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5104)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2261)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2357)
    5. android.app.ActivityThread.access$600(ActivityThread.java:153)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247)
    7. android.os.Handler.dispatchMessage(Handler.java:99)
    8. android.os.Looper.loop(Looper.java:137)
    9. android.app.ActivityThread.main(ActivityThread.java:5226)
    9 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
    2 frames
  8. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame