Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8095567

[Toys] HelloTreeTableView throws ClassCastException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u20
    • 8u20
    • javafx
    • None
    • raspberry pi
      desktop linux

      On both linux and r-pi, HelloTreeTableView throws the following ClassCastException:

      <snip>
      Caused by: java.lang.ClassCastException: sun.awt.image.ToolkitImage cannot be cast to java.awt.image.BufferedImage
      at helloworld.HelloTreeTableView.createNode(HelloTreeTableView.java:546)
      at helloworld.HelloTreeTableView.buildFileBrowserTreeTableView(HelloTreeTableView.java:425)
      at helloworld.HelloTreeTableView.buildFileSystemBrowserTab(HelloTreeTableView.java:303)
      at helloworld.HelloTreeTableView.getContent(HelloTreeTableView.java:114)
      at helloworld.HelloTreeTableView.start(HelloTreeTableView.java:87)
      at com.sun.javafx.application.LauncherImpl$8.run(LauncherImpl.java:837)
      at com.sun.javafx.application.PlatformImpl$7.run(PlatformImpl.java:335)
      at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:301)
      at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:298)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.application.PlatformImpl$6.run(PlatformImpl.java:298)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
      at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
      at com.sun.glass.ui.gtk.GtkApplication.access$200(GtkApplication.java:48)
      at com.sun.glass.ui.gtk.GtkApplication$6$1.run(GtkApplication.java:149)
      <snip>

            jgiles Jonathan Giles
            kselle Lisa Selle (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: