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

NPE in HelloTooltip

    XMLWordPrintable

    Details

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

      Windows

      Description

      Make sure tooltip is showing then close window by clicking X. Works in Mac but not in Windows.

      java -ea -cp D:\workspace\FX\8.0\build\jfx\artifacts\sdk/rt/lib/ext/jfxrt.jar;di
      st/HelloWorld.jar helloworld.HelloTooltip
      Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
              at com.sun.javafx.tk.quantum.WindowStage.requestToFront(WindowStage.java
      :669)
              at com.sun.javafx.tk.quantum.WindowStage.setVisible(WindowStage.java:381
      )
              at javafx.stage.Window$9.invalidated(Window.java:789)
              at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanProperty
      Base.java:107)
              at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.jav
      a:141)
              at javafx.stage.Window.setShowing(Window.java:827)
              at javafx.stage.Window.hide(Window.java:852)
              at javafx.stage.PopupWindow.hide(PopupWindow.java:416)
              at javafx.stage.PopupWindow$2.changed(PopupWindow.java:118)
              at javafx.stage.PopupWindow$2.changed(PopupWindow.java:113)
              at com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChanged
      Event(ExpressionHelper.java:176)
              at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(Express
      ionHelper.java:80)
              at javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.fir
      eValueChangedEvent(ReadOnlyBooleanWrapper.java:177)
              at javafx.beans.property.ReadOnlyBooleanWrapper$ReadOnlyPropertyImpl.acc
      ess$100(ReadOnlyBooleanWrapper.java:147)
              at javafx.beans.property.ReadOnlyBooleanWrapper.fireValueChangedEvent(Re
      adOnlyBooleanWrapper.java:143)
              at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanProperty
      Base.java:108)
              at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.jav
      a:141)
              at javafx.stage.Window.setShowing(Window.java:827)
              at javafx.stage.Window.hide(Window.java:852)

        Attachments

          Activity

            People

            Assignee:
            art Artem Ananiev (Inactive)
            Reporter:
            jgodinez Jennifer Godinez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: