android.database.sqlite.SQLiteException: table triplog has no column named name (code 1): , while compiling: INSERT INTO triplog(carRental,days,name,milesOnHighway,date,departFrom,unitGasPrice,milesInTown,destination) VALUES (?,?,?,?,?,?,?,?,?)

coderanch.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    SQLiteexception table triplog has no column named name (Android forum at JavaRanch)

    coderanch.com | 1 year ago
    android.database.sqlite.SQLiteException: table triplog has no column named name (code 1): , while compiling: INSERT INTO triplog(carRental,days,name,milesOnHighway,date,departFrom,unitGasPrice,milesInTown,destination) VALUES (?,?,?,?,?,?,?,?,?)
  2. 0

    SQLiteexception table triplog has no column named name (Android forum at Coderanch)

    coderanch.com | 6 months ago
    android.database.sqlite.SQLiteException: table triplog has no column named name (code 1): , while compiling: INSERT INTO triplog(carRental,days,name,milesOnHighway,date,departFrom,unitGasPrice,milesInTown,destination) VALUES (?,?,?,?,?,?,?,?,?)
  3. 0

    SQLiteexception table triplog has no column named name

    Coderanch | 3 years ago | Michelle Lot
    android.database.sqlite.SQLiteException: table triplog has no column named name (code 1): , while compiling: INSERT INTO triplog(carRental,days,name,milesOnHighway,date,departFrom,unitGasPrice,milesInTown,destination) VALUES (?,?,?,?,?,?,?,?,?)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Table not saved

    GitHub | 3 years ago | gorje001
    android.database.sqlite.SQLiteException: no such table: API_CACHE_TABLE (code 1): , while compiling: INSERT INTO API_CACHE_TABLE(TIMESTAMP,MODEL_NAME,JSON,PARAM_HASH_CODE) VALUES (?,?,?,?)
  6. 0

    foregin key mismatch !!

    GitHub | 3 years ago | yazeed44
    android.database.sqlite.SQLiteException: foreign key mismatch (code 1): , while compiling: INSERT INTO Items(Name,Category) VALUES (?,?)
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

    table triplog has no column named name (code 1): , while compiling: INSERT INTO triplog(carRental,days,name,milesOnHighway,date,departFrom,unitGasPrice,milesInTown,destination) VALUES (?,?,?,?,?,?,?,?,?)

    at android.database.sqlite.SQLiteConnection.nativePrepareStatement()
  2. Android Platform
    SQLiteDatabase.insert
    1. android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
    2. android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:889)
    3. android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:500)
    4. android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
    5. android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:58)
    6. android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:31)
    7. android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1467)
    8. android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1339)
    8 frames
  3. com.example.roadtriplog
    NewTrip.addNewTrip
    1. com.example.roadtriplog.TripDB.insertTrip(TripDB.java:71)
    2. com.example.roadtriplog.NewTrip.addNewTrip(NewTrip.java:109)
    2 frames
  4. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  5. Android Platform
    ActivityThread.main
    1. android.view.View$1.onClick(View.java:3818)
    2. android.view.View.performClick(View.java:4438)
    3. android.view.View$PerformClick.run(View.java:18422)
    4. android.os.Handler.handleCallback(Handler.java:733)
    5. android.os.Handler.dispatchMessage(Handler.java:95)
    6. android.os.Looper.loop(Looper.java:136)
    7. android.app.ActivityThread.main(ActivityThread.java:5017)
    7 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
    2 frames
  8. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame