java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Long

GitHub | ralphhm | 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

    Custom Converters don't work together with multiple identical Objects (fail with ClassCastException)

    GitHub | 7 months ago | ralphhm
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Long

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String cannot be cast to java.lang.Long

      at org.robolectric.shadows.ShadowParcel$ByteBuffer.readLong()
    2. Roboelectric HTTP
      ShadowParcel.nativeReadLong
      1. org.robolectric.shadows.ShadowParcel$ByteBuffer.readLong(ShadowParcel.java:252)
      2. org.robolectric.shadows.ShadowParcel.nativeReadLong(ShadowParcel.java:117)
      2 frames
    3. Android Platform
      Parcel.readLong
      1. android.os.Parcel.nativeReadLong(Parcel.java)
      2. android.os.Parcel.readLong(Parcel.java:1575)
      2 frames
    4. Unknown
      DateConverter.fromParcel
      1. DateConverter.fromParcel(DateConverter.java:18)
      1 frame