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

Stack Overflow | ssantos | 7 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

    Unity3d share image on android

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

    GitHub comment 617#227368216

    GitHub | 9 months ago | wninou
    java.lang.ClassCastException: android.net.Uri$StringUri 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

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

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

    GitHub comment 28#277710793

    GitHub | 2 months ago | AndroidDeveloperLB
    java.lang.ClassCastException: android.net.Uri$HierarchicalUri cannot be cast to java.util.ArrayList
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$StringUri cannot be cast to java.util.ArrayList

    at android.os.Bundle.getParcelableArrayList()
  2. Android Platform
    Intent.getParcelableArrayListExtra
    1. android.os.Bundle.getParcelableArrayList(Bundle.java:805)
    2. android.content.Intent.getParcelableArrayListExtra(Intent.java:5823)
    2 frames
  3. com.whatsapp
    ContactPicker.onCreate
    1. com.whatsapp.ContactPicker.b(ContactPicker.java:93)
    2. com.whatsapp.ContactPicker.onCreate(ContactPicker.java:551)
    2 frames
  4. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:6500)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1120)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3072)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3218)
    5. android.app.ActivityThread.access$1000(ActivityThread.java:198)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1676)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:145)
    9. android.app.ActivityThread.main(ActivityThread.java:6837)
    9 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
    2 frames