Issue #21 resolved

Fix problem with incorrect processing of two or more inner commands

leonate NA
repo owner created an issue

Currently when outer loop contains two or more inner loops there is an error. The exception stack looks like this:

Caused by: java.lang.ArrayIndexOutOfBoundsException: 13
        at org.jxls.common.CellRange.excludeCells(CellRange.java:106)
        at org.jxls.area.XlsArea.createCellRange(XlsArea.java:123)
        at org.jxls.area.XlsArea.applyAt(XlsArea.java:132)
        at org.jxls.command.EachCommand.applyAt(EachCommand.java:181)
        at org.jxls.area.XlsArea.applyAt(XlsArea.java:142)
        at org.jxls.util.JxlsHelper.processTemplate(JxlsHelper.java:92)
        at org.jxls.demo.TwoInnerLoopsDemo.main(TwoInnerLoopsDemo.java:35)

Comments (4)

  1. Log in to comment