Uploaded image for project: 'ZK Spreadsheet'
  1. ZK Spreadsheet
  2. ZSS-1211

StringIndexOutOfBoundsException if click a hyperlink with empty address

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Normal
    • 3.9.0
    • 3.8.2
    • None
    • None

    Description

      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 ...

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: