java.lang.IllegalArgumentException: null rgb array

ZK-Tracker | hawk | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    h2. steps to reproduce # load the attached file h2. current result {quote} java.lang.IllegalArgumentException: null rgb array at org.zkoss.zss.model.impl.ColorImpl.<init>(ColorImpl.java:42) at org.zkoss.zss.range.impl.imexp.ExcelXlsxImporter.prepareColorScale(ExcelXlsxImporter.java:958) at org.zkoss.zss.range.impl.imexp.ExcelXlsxImporter.prepareConditonalFormattingRuleImpl(ExcelXlsxImporter.java:879) at org.zkoss.zss.range.impl.imexp.ExcelXlsxImporter.prepareConditionalFormattingImpl(ExcelXlsxImporter.java:847) at org.zkoss.zss.range.impl.imexp.ExcelXlsxImporter.importConditionalFormatting(ExcelXlsxImporter.java:829) at org.zkoss.zss.range.impl.imexp.AbstractExcelImporter.importSheet(AbstractExcelImporter.java:397) at org.zkoss.zss.range.impl.imexp.AbstractExcelImporter.imports(AbstractExcelImporter.java:154) at org.zkoss.zss.range.impl.imexp.ExcelImportAdapter.imports(ExcelImportAdapter.java:46) at org.zkoss.zss.range.impl.imexp.AbstractImporter.imports(AbstractImporter.java:54) at org.zkoss.zss.ui.Spreadsheet.getSBook(Spreadsheet.java:653) at org.zkoss.zss.ui.Spreadsheet.getSelectedSSheet(Spreadsheet.java:851) at org.zkoss.zss.ui.Spreadsheet.doInvalidate(Spreadsheet.java:5465) at org.zkoss.zss.ui.Spreadsheet.invalidate(Spreadsheet.java:4314) at org.zkoss.zss.ui.Spreadsheet.setSrc(Spreadsheet.java:891) {quote} h2. root cause * zss doesn't support theme color !themeColor.png! h2. debug info * ctColor value is <xml-fragment theme="8" tint="-0.249977111117893" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"/>

    ZK-Tracker | 6 months ago | hawk
    java.lang.IllegalArgumentException: null rgb array

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      null rgb array

      at org.zkoss.zss.model.impl.ColorImpl.<init>()
    2. org.zkoss.zss
      Spreadsheet.setSrc
      1. org.zkoss.zss.model.impl.ColorImpl.<init>(ColorImpl.java:42)
      2. org.zkoss.zss.range.impl.imexp.ExcelXlsxImporter.prepareColorScale(ExcelXlsxImporter.java:958)
      3. org.zkoss.zss.range.impl.imexp.ExcelXlsxImporter.prepareConditonalFormattingRuleImpl(ExcelXlsxImporter.java:879)
      4. org.zkoss.zss.range.impl.imexp.ExcelXlsxImporter.prepareConditionalFormattingImpl(ExcelXlsxImporter.java:847)
      5. org.zkoss.zss.range.impl.imexp.ExcelXlsxImporter.importConditionalFormatting(ExcelXlsxImporter.java:829)
      6. org.zkoss.zss.range.impl.imexp.AbstractExcelImporter.importSheet(AbstractExcelImporter.java:397)
      7. org.zkoss.zss.range.impl.imexp.AbstractExcelImporter.imports(AbstractExcelImporter.java:154)
      8. org.zkoss.zss.range.impl.imexp.ExcelImportAdapter.imports(ExcelImportAdapter.java:46)
      9. org.zkoss.zss.range.impl.imexp.AbstractImporter.imports(AbstractImporter.java:54)
      10. org.zkoss.zss.ui.Spreadsheet.getSBook(Spreadsheet.java:653)
      11. org.zkoss.zss.ui.Spreadsheet.getSelectedSSheet(Spreadsheet.java:851)
      12. org.zkoss.zss.ui.Spreadsheet.doInvalidate(Spreadsheet.java:5465)
      13. org.zkoss.zss.ui.Spreadsheet.invalidate(Spreadsheet.java:4314)
      14. org.zkoss.zss.ui.Spreadsheet.setSrc(Spreadsheet.java:891)
      14 frames