java.lang.ClassCastException: Circle

Coderanch | mike hew | 1 decade 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

    Null Pointer Exception

    Oracle Community | 1 decade ago | 807607
    java.lang.ClassCastException: Circle
  2. 0

    the instance variable shapes

    Coderanch | 1 decade ago | mike hew
    java.lang.ClassCastException: Circle

    Root Cause Analysis

    1. java.lang.ClassCastException

      Circle

      at ShapeTest.loadShapesArray()
    2. Unknown
      ShapeTest.main
      1. ShapeTest.loadShapesArray(ShapeTest.java:121)
      2. ShapeTest.main(ShapeTest.java:24)
      2 frames