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

Oracle Community | 807555 | 2 decades ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Help! Has anyone used ArrayList.toArray() ??

    Oracle Community | 2 decades ago | 807555
    java.lang.ClassCastException: [Ljava.lang.Object;

    Root Cause Analysis

    1. java.lang.ClassCastException

      [Ljava.lang.Object;

      at ArrayList2ArrayTest.main()
    2. Unknown
      ArrayList2ArrayTest.main
      1. ArrayList2ArrayTest.main(ArrayList2ArrayTest.java:17)
      1 frame