java.lang.ClassCastException: [Ljava.lang.Object;

Coderanch | Aruna Agrawal | 1 decade 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

    how to typecast arrays of Objects into array of specialized objects

    Coderanch | 1 decade ago | Aruna Agrawal
    java.lang.ClassCastException: [Ljava.lang.Object;

    Root Cause Analysis

    1. java.lang.ClassCastException

      [Ljava.lang.Object;

      at ArrayTypeCasting.main()
    2. Unknown
      ArrayTypeCasting.main
      1. ArrayTypeCasting.main(ArrayTypeCasting.java:23)
      1 frame