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

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

    PrintWriter question

    Coderanch | 9 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