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

GridPane -> Move Row Above throws ArrayIndexOutOfBoundsException with Preferences.fxml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7u40
    • 7u40
    • javafx
    • None

      To reproduce:
      1) Open com/oracle/javafx/authoring/preferences/Preferences.fxml
      2) Select the row #9 in the GridPane ("Default information displayed in hierarchy")
      3) Modify -> Grid Pane -> Move Row Above
          => BUG : the row is not moved
          => the exception below is thrown

      This pb does happen with SB 1.0.

      java.lang.ArrayIndexOutOfBoundsException: 10
      at javafx.scene.layout.GridPaneDesignInfo.getCellBounds(GridPaneDesignInfo.java:93)
      at com.oracle.javafx.authoring.stage.v2.handles.gridpane.GridPaneMosaic.computeCellOrGapQuad(GridPaneMosaic.java:1040)
      at com.oracle.javafx.authoring.stage.v2.handles.gridpane.GridPaneMosaic.addCellAndGaps(GridPaneMosaic.java:827)
      at com.oracle.javafx.authoring.stage.v2.handles.gridpane.GridPaneMosaic.<init>(GridPaneMosaic.java:195)
      at com.oracle.javafx.authoring.stage.v2.handles.gridpane.GridPaneSelectionHandles.createGridDividerChildren(GridPaneSelectionHandles.java:226)
      at com.oracle.javafx.authoring.stage.v2.handles.gridpane.GridPaneSelectionHandles.createChildren(GridPaneSelectionHandles.java:179)
      at com.oracle.javafx.authoring.stage.v2.handles.GenericSelectionHandles.update(GenericSelectionHandles.java:39)
      at com.oracle.javafx.authoring.stage.v2.handles.TrackerV5.updateNow(TrackerV5.java:341)
      at com.oracle.javafx.authoring.stage.v2.handles.TrackerV5.access$200(TrackerV5.java:30)
      at com.oracle.javafx.authoring.stage.v2.handles.TrackerV5$4.run(TrackerV5.java:93)
      at com.oracle.javafx.authoring.util.Utils$NextFrameTimer.handle(Utils.java:517)
      at com.sun.scenario.animation.AbstractMasterTimer.timePulseImpl(AbstractMasterTimer.java:376)
      at com.sun.scenario.animation.AbstractMasterTimer$MainLoop.run(AbstractMasterTimer.java:289)
      at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:456)
      at com.sun.javafx.tk.quantum.QuantumToolkit$9.run(QuantumToolkit.java:329)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)

            eleponn Eric Le Ponner
            eleponn Eric Le Ponner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: