java.lang.IllegalArgumentException: You must call this method on the main thread

GitHub | MGaetan89 | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 1043#126935960

    GitHub | 2 years ago | TomHennen
    java.lang.RuntimeException: An error occured while executing doInBackground()
  2. 0

    GitHub comment 310#70868565

    GitHub | 2 years ago | abuddy
    java.lang.IllegalArgumentException: You must call this method on the main thread
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    ImageView.setTag cannot be used for ViewHolder when root of layout

    GitHub | 2 years ago | TWiStErRob
    java.lang.IllegalArgumentException: You must not call setTag() on a view Glide is targeting

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      You must call this method on the main thread

      at com.bumptech.glide.util.Util.assertMainThread()
    2. Glide
      GenericRequestBuilder.into
      1. com.bumptech.glide.util.Util.assertMainThread(Util.java:135)
      2. com.bumptech.glide.GenericRequestBuilder.into(GenericRequestBuilder.java:642)
      2 frames
    3. com.mgaetan89.showsrage
      HistoryWidgetFactory.getViewAt
      1. com.mgaetan89.showsrage.helper.ImageLoader.load(ImageLoader.kt:39)
      2. com.mgaetan89.showsrage.widget.HistoryWidgetFactory.getViewAt(HistoryWidgetFactory.kt:43)
      2 frames
    4. Android Platform
      RemoteViewsService$RemoteViewsFactoryAdapter.getViewAt
      1. android.widget.RemoteViewsService$RemoteViewsFactoryAdapter.getViewAt(RemoteViewsService.java:164)
      1 frame
    5. Android
      IRemoteViewsFactory$Stub.onTransact
      1. com.android.internal.widget.IRemoteViewsFactory$Stub.onTransact(IRemoteViewsFactory.java:85)
      1 frame
    6. Android Platform
      Binder.execTransact
      1. android.os.Binder.execTransact(Binder.java:453)
      1 frame