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

NPE at NGSubScene.java:208 when width (or height) of SubScene > 8192

    XMLWordPrintable

Details

    • generic
    • generic

    Description

      FULL PRODUCT VERSION :
      java version "1.8.0_131"
      Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
      Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 10.0.14393]

      A DESCRIPTION OF THE PROBLEM :
      NPE when width or height of a SubScene is bigger than 8192


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      java.lang.NullPointerException
      at com.sun.javafx.sg.prism.NGSubScene.renderContent(NGSubScene.java:208)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGRegion.renderContent(NGRegion.java:576)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.sg.prism.NGGroup.renderContent(NGGroup.java:235)
      at com.sun.javafx.sg.prism.NGNode.doRender(NGNode.java:2053)
      at com.sun.javafx.sg.prism.NGNode.render(NGNode.java:1945)
      at com.sun.javafx.tk.quantum.ViewPainter.doPaint(ViewPainter.java:477)
      at com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:330)
      at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:91)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
      at java.lang.Thread.run(Thread.java:748)

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      import javafx.application.Application;
      import javafx.scene.Group;
      import javafx.scene.Scene;
      import javafx.scene.SubScene;
      import javafx.stage.Stage;

      public class Test extends Application {

      @Override
      public void start(Stage stage) {
      Group root = new Group();
      Scene scene = new Scene(root, 600, 600);
      SubScene subScene = new SubScene(new Group(), 8193, 600);
      root.getChildren().add(subScene);
      stage.setScene(scene);
      stage.show();
      }

      public static void main(String[] args) {
      launch(args);
      }
      }
      ---------- END SOURCE ----------

      Attachments

        Issue Links

          Activity

            People

              arapte Ambarish Rapte
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: