java.lang.IllegalArgumentException: column '_id' does not exist

Stack Overflow | Si8 | 2 months ago
  1. 0

    How to Create ListView From SQLite Database using cursor adapter

    Stack Overflow | 8 months ago | Maziar Shoaei
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.tempcursoradapter/com.example.tempcursoradapter.MainActivity}: java.lang.IllegalArgumentException: column '_id' does not exist
  2. 0

    Retrieving database elements to listview failed

    Stack Overflow | 3 years ago | sadabmkp
    java.lang.IllegalArgumentException: column '_id' does not exist
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    illegalstateexception in displaying list view

    Stack Overflow | 4 years ago | shivani
    java.lang.IllegalArgumentException: column '_id' does not exist
  5. 0

    SQLite Database isn't being properly filled by insert() statements

    Stack Overflow | 4 years ago | MowDownJoe
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mowdownDevelopments.nagTasks/com.mowdownDevelopments.nagTasks.NagTasksAddTasksActivity}: java.lang.IllegalArgumentException: column '_id' does not exist
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. java.lang.IllegalArgumentException

    column '_id' does not exist

    at android.database.AbstractCursor.getColumnIndexOrThrow()
  2. Android Platform
    AbstractCursor.getColumnIndexOrThrow
    1. android.database.AbstractCursor.getColumnIndexOrThrow(AbstractCursor.java:333)
    1 frame
  3. Android Support v4
    CursorAdapter.<init>
    1. android.support.v4.widget.CursorAdapter.init(CursorAdapter.java:174)
    2. android.support.v4.widget.CursorAdapter.<init>(CursorAdapter.java:151)
    2 frames
  4. ccom.myapp
    FragOne$PopulateGridView.<init>
    1. ccom.myapp.FragOne$PopulateGridView.<init>(FragOne.java:0)
    1 frame
  5. com.myapp
    FragOne.onCreateView
    1. com.myapp.FragOne.onCreateView(FragOne.java:82)
    1 frame
  6. Android Support v4
    ViewPager.onMeasure
    1. android.support.v4.app.Fragment.performCreateView(Fragment.java:2080)
    2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1108)
    3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1290)
    4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:801)
    5. android.support.v4.app.FragmentManagerImpl.execSingleAction(FragmentManager.java:1638)
    6. android.support.v4.app.BackStackRecord.commitNowAllowingStateLoss(BackStackRecord.java:679)
    7. android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:143)
    8. android.support.v4.view.ViewPager.populate(ViewPager.java:1240)
    9. android.support.v4.view.ViewPager.populate(ViewPager.java:1088)
    10. android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1614)
    10 frames
  7. Android Platform
    View.measure
    1. android.view.View.measure(View.java:19731)
    1 frame