java.lang.ClassCastException: sun.awt.windows.WCanvasPeer

Oracle Community | 807541 | 2 decades 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

    Anybody knows why I get this error?

    Oracle Community | 2 decades ago | 807541
    java.lang.ClassCastException: sun.awt.windows.WCanvasPeer

    Root Cause Analysis

    1. java.lang.ClassCastException

      sun.awt.windows.WCanvasPeer

      at quicktime.qd.NativeGraphics.getContext()
    2. quicktime.qd
      NativeGraphics.getContext
      1. quicktime.qd.NativeGraphics.getContext(NativeGraphics.java:51)
      2. quicktime.qd.NativeGraphics.getContext(NativeGraphics.java:31)
      2 frames
    3. quicktime.app.display
      QTCanvas.addNotify
      1. quicktime.app.display.QTCanvas.addNotify(QTCanvas.java:1264)
      1 frame
    4. Java RT
      Window.show
      1. java.awt.Container.addNotify(Unknown Source)
      2. javax.swing.JComponent.addNotify(Unknown Source)
      3. java.awt.Container.addNotify(Unknown Source)
      4. javax.swing.JComponent.addNotify(Unknown Source)
      5. java.awt.Container.addNotify(Unknown Source)
      6. javax.swing.JComponent.addNotify(Unknown Source)
      7. javax.swing.JRootPane.addNotify(Unknown Source)
      8. java.awt.Container.addNotify(Unknown Source)
      9. java.awt.Window.addNotify(Unknown Source)
      10. java.awt.Frame.addNotify(Unknown Source)
      11. java.awt.Window.show(Unknown Source)
      11 frames
    5. MediaTester
      PageDisplay.main
      1. MediaTester.PageDisplay.main(PageDisplay.java:73)
      1 frame