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

[DialogPane] NPE on setExpanded if there's nothing to expand

    XMLWordPrintable

    Details

      Description

      Caused by: java.lang.NullPointerException
      at javafx.scene.control.DialogPane$8.invalidated(DialogPane.java:627)
      at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:109)
      at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:143)
      at javafx.scene.control.DialogPane.setExpanded(DialogPane.java:655)
      ... 116 more

      The use case is SceneBuilder where one can create a layout with a DialogPane: the expanded property can be set while no expandableContent is there.

        Attachments

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            yjoan Yves Joan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: