java.lang.ClassCastException: ub4.util.BubbleSort cannot be cast to ub4.util.BubbleSort

Oracle Community | 843798 | 10 years 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

    Cannot cast to custom interface

    Oracle Community | 10 years ago | 843798
    java.lang.ClassCastException: ub4.util.BubbleSort cannot be cast to ub4.util.BubbleSort

    Root Cause Analysis

    1. java.lang.ClassCastException

      ub4.util.BubbleSort cannot be cast to ub4.util.BubbleSort

      at ub4.gui.Visualiser.run()
    2. ub4.gui
      Visualiser.run
      1. ub4.gui.Visualiser.run(Visualiser.java:140)
      1 frame
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame