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

NPE on Node#localToScreen

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8u20
    • 8u20
    • javafx
    • None

    Description

      See
      public Point2D localToScreen(double localX, double localY, double localZ) {
              Scene scene = getScene();
              Window window = scene.getWindow();
              if (scene == null || window == null) {
                  return null;
              }

      note testing scene==null *after* calling scene.getWindow().

      public Point2D screenToLocal(double screenX, double screenY) {

      has the same bug.


      Attachments

        Issue Links

          Activity

            People

              fheidric Felipe Heidrich (Inactive)
              fheidric Felipe Heidrich (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: