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

BoxBlur effect leads to runtime exception in embedded JavaFX

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: emb-8u6, emb-8u26
    • Fix Version/s: emb-8u26, 8u40
    • Component/s: javafx
    • Environment:

      i.MX6 Freescale with Linux in frame buffer mode

      Description

      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();
          }
      }


        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: