java.lang.ClassCastException: java.util.Arrays$ArrayList cannot be cast to java.util.ArrayList

Coderanch | Ronald Castillo | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Why is this happening? (ClassCastException) (Beginning Java forum at Coderanch)

    coderanch.com | 1 year ago
    java.lang.ClassCastException: java.util.Arrays$ArrayList cannot be cast to java.util.ArrayList
  2. 0

    Why is this happening? (ClassCastException)

    Coderanch | 6 years ago | Ronald Castillo
    java.lang.ClassCastException: java.util.Arrays$ArrayList cannot be cast to java.util.ArrayList

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.util.Arrays$ArrayList cannot be cast to java.util.ArrayList

      at net.ronaldcastillo.utils.ArrayUtils.toArrayList()
    2. net.ronaldcastillo.utils
      ArrayUtils.toArrayList
      1. net.ronaldcastillo.utils.ArrayUtils.toArrayList(ArrayUtils.java:20)
      1 frame
    3. net.ronaldcastillo
      UtilsTester.main
      1. net.ronaldcastillo.UtilsTester.main(UtilsTester.java:15)
      1 frame