java.lang.ClassCastException: com.sg.flooringplayground.TestObject cannot be cast to java.util.ArrayList

Coderanch | Paul Peterson | 8 months 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

    PrintWriter question

    Coderanch | 8 months ago | Paul Peterson
    java.lang.ClassCastException: com.sg.flooringplayground.TestObject cannot be cast to java.util.ArrayList

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.sg.flooringplayground.TestObject cannot be cast to java.util.ArrayList

      at com.sg.flooringplayground.FlooringMasteryPlayground.testDeserialize()
    2. com.sg.flooringplayground
      FlooringMasteryPlayground.testDeserialize
      1. com.sg.flooringplayground.FlooringMasteryPlayground.testDeserialize(FlooringMasteryPlayground.java:204)
      1 frame