java.lang.ClassCastException: android.net.Uri$HierarchicalUri cannot be cast to java.util.ArrayList

GitHub | AndroidDeveloperLB | 2 weeks 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

    GitHub comment 28#277710793

    GitHub | 2 weeks ago | AndroidDeveloperLB
    java.lang.ClassCastException: android.net.Uri$HierarchicalUri cannot be cast to java.util.ArrayList
  2. 0

    How to share an image file to WhatsApp and Viber on Android 7.1.1?

    Stack Overflow | 2 weeks ago | android developer
    java.lang.ClassCastException: android.net.Uri$HierarchicalUri cannot be cast to java.util.ArrayList
  3. 0

    Sharing cached images using FileProvider

    Stack Overflow | 3 years ago | Makks129
    java.lang.ClassCastException: android.net.Uri$HierarchicalUri cannot be cast to java.util.ArrayList
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 617#227368216

    GitHub | 8 months ago | wninou
    java.lang.ClassCastException: android.net.Uri$StringUri cannot be cast to java.util.ArrayList
  6. 0

    Unity3d share image on android

    Stack Overflow | 6 months ago | ssantos
    java.lang.ClassCastException: android.net.Uri$StringUri cannot be cast to java.util.ArrayList

  1. gamebusterz 3 times, last 2 months ago
  2. ajinkya_w 2 times, last 4 months ago
  3. Diogo Jaym 1 times, last 8 months ago
  4. Riyaz 1 times, last 9 months ago
  5. bayukresno 5 times, last 9 months ago
9 more registered users
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.ClassCastException

    android.net.Uri$HierarchicalUri cannot be cast to java.util.ArrayList

    at android.os.Bundle.getParcelableArrayList()
  2. Android Platform
    Intent.getParcelableArrayListExtra
    1. android.os.Bundle.getParcelableArrayList(Bundle.java:916)
    2. android.content.Intent.getParcelableArrayListExtra(Intent.java:6357)
    2 frames
  3. com.whatsapp
    ContactPicker.onCreate
    1. com.whatsapp.ContactPicker.k(ContactPicker.java:618)
    2. com.whatsapp.ContactPicker.onCreate(ContactPicker.java:360)
    2 frames
  4. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:6688)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2633)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2741)
    4 frames