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

[TreeTable] TreeTable item selection causes a NullPointerException (regression).

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Environment:

      Linux (64bit), JDK 8u20-498c76f90ebf (64bit)

      Description

      Here is an example of the issue:

      https://gist.github.com/ryanjaeb/baa6d0d20df29fce56d6

      Steps to reproduce:

      1. Run the example.
      2. Click on the "one" item to select it.

      A NPE will be thrown. This does not happen in 8u5 or 8u17. It's worth noting that selecting the item via code does not cause a NPE. I have to select the item via mouse click to see the issue.

      This is my first try at testing something with a local OpenJFX build. My testing should be against revision 498c76f90ebf, but I'm not 100% positive I got everything right on the first try.

        Attachments

          Activity

            People

            Assignee:
            jgiles Jonathan Giles
            Reporter:
            rjaebjfx Ryan Jaeb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: