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

toster.ru | 8 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

    Sometimes SimpleCursorAdapter column '_id' does not exist, not always. Why?

    Stack Overflow | 1 year ago | strictlad
    java.lang.IllegalArgumentException: column '_id' does not exist
  2. 0

    SimpleCursorAdapter with ImageView and TextView from SQLite

    Stack Overflow | 2 years ago | Kenny Huang
    java.lang.IllegalArgumentException: column 'img' does not exist
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Column does not exist : Illegal Argument Exception in Android app

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

    Android SQLite data display to ListView

    Stack Overflow | 3 years ago | Ken Hollis
    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 'img' does not exist

    at android.database.AbstractCursor.getColumnIndexOrThrow()
  2. Android Platform
    AbstractCursor.getColumnIndexOrThrow
    1. android.database.AbstractCursor.getColumnIndexOrThrow(AbstractCursor.java:302)
    1 frame
  3. Android Support v4
    SimpleCursorAdapter.swapCursor
    1. android.support.v4.widget.SimpleCursorAdapter.findColumns(SimpleCursorAdapter.java:317)
    2. android.support.v4.widget.SimpleCursorAdapter.swapCursor(SimpleCursorAdapter.java:328)
    2 frames
  4. com.example.mytime
    MainActivity.onLoadFinished
    1. com.example.mytime.MainActivity.onLoadFinished(MainActivity.java:104)
    2. com.example.mytime.MainActivity.onLoadFinished(MainActivity.java:1)
    2 frames
  5. Android Support v4
    ModernAsyncTask$InternalHandler.handleMessage
    1. android.support.v4.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:427)
    2. android.support.v4.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:395)
    3. android.support.v4.content.Loader.deliverResult(Loader.java:104)
    4. android.support.v4.content.CursorLoader.deliverResult(CursorLoader.java:73)
    5. android.support.v4.content.CursorLoader.deliverResult(CursorLoader.java:35)
    6. android.support.v4.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:223)
    7. android.support.v4.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:61)
    8. android.support.v4.content.ModernAsyncTask.finish(ModernAsyncTask.java:461)
    9. android.support.v4.content.ModernAsyncTask.access$500(ModernAsyncTask.java:47)
    10. android.support.v4.content.ModernAsyncTask$InternalHandler.handleMessage(ModernAsyncTask.java:474)
    10 frames
  6. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:99)
    2. android.os.Looper.loop(Looper.java:137)
    3. android.app.ActivityThread.main(ActivityThread.java:4745)
    3 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
    2 frames
  9. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame