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

StringIndexOutOfBoundsException if click a hyperlink with empty address

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 3.8.2
    • Fix Version/s: 3.9.0
    • Component/s: None
    • Labels:
      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 ...

        Activity

        Hide
        henrichen henrichen added a comment -

        Fixed.

        Show
        henrichen henrichen added a comment - Fixed.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: