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

GridPane is still active after the last row/column was deleted.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 8
    • javafx
    • None

      To reproduce:
      1. Add an AnchorPane then add a GridPane(2x3).
      2. Delete the columns of GridPane one by one, until the last column is deleted.
      3. On Hierarchy Panel, the GridPane still there with node id GridPane(1x3). But Content Panel, the it's already out of the range.
      4. Now add a Button to the GridPane on Hierarchy Panel.

      IndexOutOfBoundsException is reported, please refer to the attached error-log.txt.

        1. empty-gridpane.avi
          916 kB
        2. error-log.txt
          13 kB
        3. error-log-new.txt
          6 kB
        4. hs_err_pid6104.log
          25 kB

            eleponn Eric Le Ponner
            jennyh Jenny Huang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: