java.lang.NoSuchMethodError: 'org.apache.commons.io.input.BoundedInputStream$Builder org.apache.commons.io.input.BoundedInputStream.builder()'

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Blocker
    • None
    • Affects Version/s: 6.2.0.FL
    • Component/s: None
    • None

      Steps to Reproduce

      1. zk 10.2.0
      2. load any blank xlsx with 6.2.0.FL.20250806-Eval
                <spreadsheet id="ss" width="100%" vflex="1"
                             showContextMenu="true" showSheetbar="true" showToolbar="true" showFormulabar="true"
                             showSheetTabContextMenu="true" src="/blank.xlsx"/>
        

      Current Result

      java.lang.NoSuchMethodError: 'org.apache.commons.io.input.BoundedInputStream$Builder org.apache.commons.io.input.BoundedInputStream.builder()'
      at org.apache.poi.util.IOUtils.peekFirstNBytes(IOUtils.java:145)
      at org.apache.poi.poifs.filesystem.FileMagic.valueOf(FileMagic.java:209)
      at io.keikai.range.impl.imexp.ExcelImportAdapter.imports(ExcelImportAdapter.java:43)
      at io.keikai.range.impl.imexp.AbstractImporter.imports(AbstractImporter.java:60)
      at io.keikai.ui.Spreadsheet.getSBook(Spreadsheet.java:746)
      at io.keikai.ui.Spreadsheet.getSelectedSSheet(Spreadsheet.java:921)
      at io.keikai.ui.Spreadsheet.doInvalidate(Spreadsheet.java:2897)
      at io.keikai.ui.Spreadsheet.invalidate(Spreadsheet.java:2719)
      at io.keikai.ui.Spreadsheet.setSrc(Spreadsheet.java:993)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at org.zkoss.zk.ui.metainfo.Property.assign0(Property.java:353)
      at org.zkoss.zk.ui.metainfo.Property.assign(Property.java:186)
      at org.zkoss.zk.ui.metainfo.ComponentInfo.applyProperties(ComponentInfo.java:743)

      Expected Result

      no error, the blank is loaded

      Debug Information


      Workaround


            Assignee:
            DevChu
            Reporter:
            hawk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: