-
Bug
-
Resolution: Fixed
-
Normal
-
5.12.0
-
None
-
Security Level: Jimmy
-
None
-
None
Steps to Reproduce
Import attached emptyNote.xlsx in Keikai
Current Result
NPE
java.lang.NullPointerException: null
at io.keikai.model.util.RichTextHelper.escapeText(RichTextHelper.java:216)
at io.keikai.ui.SpreadsheetCtrlImpl.getCellAttr(SpreadsheetCtrlImpl.java:622)
at io.keikai.ui.SpreadsheetCtrlImpl.getRangeAttrs(SpreadsheetCtrlImpl.java:390)
at io.keikai.ui.Spreadsheet.createActiveRange(Spreadsheet.java:2040)
at io.keikai.ui.Spreadsheet.renderProperties(Spreadsheet.java:1980)
at org.zkoss.zk.ui.AbstractComponent.redraw(AbstractComponent.java:2181)
at org.zkoss.zk.ui.impl.UiVisualizer.redraw(UiVisualizer.java:1003)
Expected Result
Doesn't cause exception
Debug Information
JSON content of text node is null if text is empty
Workaround
don't put empty notes in document