StringIndexOutOfBoundsException if click a hyperlink with empty address

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 3.9.0
    • Affects Version/s: 3.8.2
    • Component/s: None
    • None

      StringIndexOutOfBoundsException when click on a hyperlink with empty reference address (such as ZSS-457).

      java.lang.StringIndexOutOfBoundsException: String index out of range: 0
      at java.lang.String.charAt(String.java:658)
      at org.zkoss.poi.ss.util.CellReference.separateRefParts(CellReference.java:355)
      at org.zkoss.poi.ss.util.CellReference.<init>(CellReference.java:93)
      at org.zkoss.poi.ss.util.AreaReference.<init>(AreaReference.java:60)
      at org.zkoss.poi.ss.util.AreaReference.<init>(AreaReference.java:44)
      at org.zkoss.zss.ui.Spreadsheet.service(Spreadsheet.java:5972)
      at ...

            Assignee:
            henrichen
            Reporter:
            henrichen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: