Fix potential NPE in SwingNode

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • jfx26
    • Affects Version/s: jfx25
    • Component/s: javafx
    • master

      ungrabHandler checks for lwFrame and uses it but if there is a context switch then lwFrame can be null as it is created in EDT.
      We need to do a preventive fix for this NPEs

      Context for reference:
      https://github.com/openjdk/jfx/pull/1960#discussion_r2495058308

            Assignee:
            Prasanta Sadhukhan
            Reporter:
            Prasanta Sadhukhan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: