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

UOE stack trace printed when create Scene use SceneBuilder

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: javafx
    • Environment:

      jdk 1.8 b84

      Description

      Code to reproduce :
          @Override
          public void start(Stage primaryStage) {
              primaryStage.setScene(SceneBuilder.create().root(VBoxBuilder.create().children(new Label("Hello World!")).build()).build());
              primaryStage.show();
          }


      java.lang.UnsupportedOperationException: Unsupported Scene constructor --- *** antiAliasing ***
      at javafx.scene.Scene.<init>(Scene.java:331)
      at javafx.scene.SceneBuilder.build(SceneBuilder.java:658)
      at JavaFXApplication3.start(JavaFXApplication3.java:18)
      at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:772)
      at com.sun.javafx.application.PlatformImpl$6.run(PlatformImpl.java:260)
      at com.sun.javafx.application.PlatformImpl$5$1.run(PlatformImpl.java:223)
      at com.sun.javafx.application.PlatformImpl$5$1.run(PlatformImpl.java:220)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.application.PlatformImpl$5.run(PlatformImpl.java:220)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:94)
      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$5$1.run(GtkApplication.java:138)
      at java.lang.Thread.run(Thread.java:722)

        Attachments

          Activity

            People

            • Assignee:
              yaow Yao Wang (Inactive)
              Reporter:
              slugovoy Sergey Lugovoy (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: