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

GitHub | AndroidDeveloperLB | 4 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

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

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

    GitHub comment 28#277710793

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

    How to share image to viber app via file provider?

    Stack Overflow | 6 months ago | Yarh
    java.lang.IllegalArgumentException: column '_data' does not exist
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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.viber.voip
    HomeActivity.onCreate
    1. com.viber.voip.util.af.f(SourceFile:156)
    2. com.viber.voip.util.af.a(SourceFile:106)
    3. com.viber.voip.HomeActivity.i(SourceFile:487)
    4. com.viber.voip.HomeActivity.onCreate(SourceFile:317)
    4 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