java.lang.IllegalArgumentException

Attempting to write a row[2] in the range [0,2] that is already written to disk.

Samebug tips1

Increase SXSSF window size so it's bigger than the number of rows you want to merge.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web20528

  • via Google Groups by sco0ter, 6 months ago
    Attempting to write a row[2] in the range [0,2] that is already written to disk.
  • Attempting to write a row[2] in the range [0,48] that is already written to disk.
  • via Unknown by rafael, 4 months ago
    The owner protected this stack trace.
  • Stack trace

    • java.lang.IllegalArgumentException: Attempting to write a row[2] in the range [0,2] that is already written to disk. at org.apache.poi.xssf.streaming.SXSSFSheet.createRow(SXSSFSheet.java:122)[poi-ooxml-3.12.jar:3.12] at org.jxls.transform.poi.PoiTransformer.transform(PoiTransformer.java:112)[jxls-poi-1.0.8.jar:na] at org.jxls.area.XlsArea.transformStaticCells(XlsArea.java:292)[jxls-2.2.9.jar:na] at org.jxls.area.XlsArea.applyAt(XlsArea.java:182)[jxls-2.2.9.jar:na] at org.jxls.command.EachCommand.applyAt(EachCommand.java:181)[jxls-2.2.9.jar:na] at org.jxls.area.XlsArea.applyAt(XlsArea.java:144)[jxls-2.2.9.jar:na] at org.jxls.demo.SxssfDemo.executeStress1(SxssfDemo.java:73)[classes/:na] at org.jxls.demo.SxssfDemo.main(SxssfDemo.java:36)[classes/:na]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    2 more bugmates