Uploaded image for project: 'Keikai'
  1. Keikai
  2. KEIKAI-586

failed to show data validation dialog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Normal
    • 5.10.0
    • 5.9.0
    • None
    • Security Level: Jimmy
    • None

    Description

      Steps to Reproduce

      1. import the attached file
      2. right-click A1, click "Data validation" in the context menu to show the dialog

      Current Result

      java.lang.NullPointerException
      at io.keikai.model.CellRegion.overlaps0(CellRegion.java:125)
      at io.keikai.model.CellRegion.overlaps(CellRegion.java:121)
      at io.keikai.model.CellRegion.diff(CellRegion.java:221)
      at io.keikaiex.ui.impl.ua.DataValidationHandler.isOverlapped(DataValidationHandler.java:126)
      at io.keikaiex.ui.impl.ua.DataValidationHandler.processAction(DataValidationHandler.java:66)
      at io.keikai.ui.impl.ua.AbstractHandler.process(AbstractHandler.java:63)
      at io.keikai.ui.impl.DefaultUserActionManagerCtrl.dispatchAuxAction(DefaultUserActionManagerCtrl.java:354)
      at io.keikai.ui.impl.DefaultUserActionManagerCtrl.onEvent(DefaultUserActionManagerCtrl.java:513)
      at io.keikaiex.ui.impl.UserActionManagerCtrlImpl.onEvent(UserActionManagerCtrlImpl.java:324)
      at io.keikai.ui.Spreadsheet$4.onEvent(Spreadsheet.java:541)

      Expected Result

      show the data validation on the cell

      Debug Information


      Workaround

      CellRegion.java

      Attachments

        1. CellRegion.java
          8 kB
          hawk
        2. keikai-586.xlsx
          42 kB
          hawk

        Activity

          People

            jumperchen jumperchen
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: