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

Posibility of setting a null root node of a scene should be clarified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • fx2.1
    • javafx
    • None

        Currently, setting null root node on a Scene doesn't fail right away. Scene-graph code however relies on a root not being null, so NPEs are thrown later during pulse (in CSS pass or picking etc) or in invalidation of Scene's properties. We should either disallow null root node entirely or handle it in scene-graph code (e.g. treat it as an empty group).

              msladecek Martin Sládeček
              ekrejcir Eva Krejčířová (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported: