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

BoxBlur effect leads to runtime exception in embedded JavaFX

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • emb-8u26, 8u40
    • emb-8u6, emb-8u26
    • javafx
    • i.MX6 Freescale with Linux in frame buffer mode

      The embedded JavaFX arm version throws a runtime exception when a BoxBlur effect is applied: Error creating shader program.

      The following code may be used to reproduce the error:

      import javafx.application.Application;
      import javafx.scene.Scene;
      import javafx.scene.effect.BoxBlur;
      import javafx.scene.layout.StackPane;
      import javafx.scene.shape.Circle;
      import javafx.stage.Stage;

      public class BoxBlurStandalone extends Application {

          public static void main(final String[] args) {
              Application.launch(args);
          }

          @Override
          public void start(final Stage primaryStage) throws Exception {
              final StackPane pane = new StackPane();
              final Scene scene = new Scene(pane, 400, 400);
              final Circle circle = new Circle(50);
              circle.setEffect(new BoxBlur(50, 100, 2));
              pane.getChildren().add(circle);
              primaryStage.setScene(scene);
              primaryStage.show();
          }
      }


            ckyang Chien Yang (Inactive)
            jehrkejfx Jens Ehrke (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: