java.lang.ClassCastException: cwrk2.Book

Oracle Community | 807546 | 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

    Help In Sort ...

    Oracle Community | 1 decade ago | 807546
    java.lang.ClassCastException: cwrk2.Book

    Root Cause Analysis

    1. java.lang.ClassCastException

      cwrk2.Book

      at cwrk2.Catalogue$Com_Util_ComParator.compare()
    2. cwrk2
      Catalogue$Com_Util_ComParator.compare
      1. cwrk2.Catalogue$Com_Util_ComParator.compare(Catalogue.java:73)
      1 frame
    3. Java RT
      Collections.sort
      1. java.util.Arrays.mergeSort(Arrays.java:1181)
      2. java.util.Arrays.sort(Arrays.java:1128)
      3. java.util.Collections.sort(Collections.java:121)
      3 frames