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

StackOverflowError when using setStyle inside updateItems and then changing the column configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 8
    • None
    • javafx
    • Windows 7 64 bit. JDK 1.7.0

      I have found that the TableView class does not seem to like the number of columns to change, even by making some visible and non-visible, after it has been set the first time. If I add some columns to a table and then call setStyle inside the updateItems method of the CellFactory for the columns, and then afterwards remove a column or just make one not visible I will get a StackOverflowError. If I just remove the setStyle then I don't get the error.

            jgiles Jonathan Giles
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: