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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by OverflowStacker
, 4 months ago
android.net.Uri$StringUri cannot be cast to java.util.ArrayList
via Stack Overflow by t0m
, 7 months ago
android.net.Uri$StringUri cannot be cast to java.util.ArrayList
via Stack Overflow by Makks129
, 2 years ago
android.net.Uri$HierarchicalUri cannot be cast to java.util.ArrayList
via Stack Overflow by Unknown author, 2 years ago
**java.lang.String cannot be cast to java.util.ArrayList**
via Stack Overflow by Sandip Armal Patil
, 3 months ago
android.net.Uri$HierarchicalUri cannot be cast to java.util.ArrayList
via GitHub by wninou
, 1 year ago
android.net.Uri$StringUri cannot be cast to java.util.ArrayList
java.lang.ClassCastException: android.net.Uri$HierarchicalUri cannot be cast to java.util.ArrayList
at android.os.Bundle.getParcelableArrayList(Bundle.java:916)
at com.whatsapp.ContactPicker.k(ContactPicker.java:618)
at com.whatsapp.ContactPicker.onCreate(ContactPicker.java:360)
at android.app.Activity.performCreate(Activity.java:6688)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2633)

Users with the same issue

3 times, 10 months ago
Once, 1 year ago
2 times, 1 year ago
Once, 1 year ago
5 times, 1 year ago
12 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.