java.lang.ClassCastException: MyFirstApp

Coderanch | Rob Hermann | 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

    "java -cp . vs java"??

    Coderanch | 1 decade ago | Rob Hermann
    java.lang.ClassCastException: MyFirstApp
  2. 0

    java.lang.ClassCastException

    Google Groups | 1 decade ago | spradl
    java.lang.ClassCastException
  3. 0

    Classcastexception At Runtime

    wpthm.com | 2 years ago
    java.lang.ClassCastException: TreeExample
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.NoClassDefFoundError: (wrong name) | Oracle Community

    oracle.com | 1 year ago
    java.lang.ClassCastException: lotto.Lotto cannot be cast to java.applet.Applet

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      MyFirstApp

      at sun.applet.AppletPanel.createApplet()
    2. Java RT
      AppletPanel.createApplet
      1. sun.applet.AppletPanel.createApplet(Unknown Source)
      1 frame
    3. sun.plugin
      AppletViewer.createApplet
      1. sun.plugin.AppletViewer.createApplet(Unknown Source)
      1 frame
    4. Java RT
      Thread.run
      1. sun.applet.AppletPanel.runLoader(Unknown Source)
      2. sun.applet.AppletPanel.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames