Hello guys,
I still face the same issue. Could you please give solution to the error.
Just to represent - IndexOutOfBoundsException in jxl API while creating workbook
Exception in
thread "main" java.lang.IndexOutOfBoundsException: Index: 24, Size: 23
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at jxl.biff.FormattingRecords.getXFRecord(FormattingRecords.java:338)
at jxl.read.biff.CellValue.getCellFormat(CellValue.java:144)
at jxl.write.biff.CellValue.<init>(CellValue.java:127)
at jxl.write.biff.LabelRecord.<init>(LabelRecord.java:116)
at jxl.write.Label.<init>(Label.java:79)
at jxl.write.biff.SheetCopier.shallowCopyCell(SheetCopier.java:801)
at jxl.write.biff.SheetCopier.shallowCopyCells(SheetCopier.java:927)
at jxl.write.biff.SheetCopier.copySheet(SheetCopier.java:213)
at jxl.write.biff.WritableSheetImpl.copy(WritableSheetImpl.java:1539)
at jxl.write.biff.WritableWorkbookImpl.copyWorkbook(WritableWorkbookImpl.java:971)
at jxl.write.biff.WritableWorkbookImpl.<init>(WritableWorkbookImpl.java:343)
at jxl.Workbook.createWorkbook(Workbook.java:339)
at jxl.Workbook.createWorkbook(Workbook.java:320)
at generate_report_xmls.generate_prompts(generate_report_xmls.java:387)
at report_retrieval.generate_prompts(report_retrieval.java:406)
at create_excel.parseMetaData_liveServer(create_excel.java:644)
at create_excel.main(create_excel.java:720)
at Automation.main(Automation.java:36)