[Bug 65916] IndexOutOfBoundsException - Workbook.write()

2023-07-03 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65916 PJ Fanning changed: What|Removed |Added OS|Mac OS X 10.1 |All -- You are receiving this mail

[Bug 65916] IndexOutOfBoundsException - Workbook.write()

2023-06-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65916 --- Comment #14 from moimoi.chk --- sorry miss public Iterator cellIterator() { Iterator originalIterator = (Iterator)(Iterator)_cells.values().iterator(); return new Iterator() { Cell lastNext = null;

[Bug 65916] IndexOutOfBoundsException - Workbook.write()

2023-06-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65916 --- Comment #13 from moimoi.chk --- package org.apache.poi.xssf.usermodel; XSSFRow = change = public Iterator cellIterator() { Iterator originalIterator = (Iterator)(Iterator)_cells.values().iterator(); return new

[Bug 65916] IndexOutOfBoundsException - Workbook.write()

2023-06-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65916 --- Comment #12 from moimoi.chk --- package org.apache.poi.xssf.usermodel; XSSFRow -- You are receiving this mail because: You are the assignee for the bug. - To

[Bug 65916] IndexOutOfBoundsException - Workbook.write()

2023-06-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65916 --- Comment #11 from moimoi.chk --- When you do a remove operation with an iterator, it is not enough to simply remove it from the list. It must be done as in the following code. The following modification is not a clean fix, but it works.

[Bug 65916] IndexOutOfBoundsException - Workbook.write()

2023-06-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65916 --- Comment #10 from moimoi.chk --- ↑The comment up is a mistake. The correct answer is that this problem occurs when "the iterator deletes even one cell". = OK case Remove empty row = fun clearAll(sheet:

[Bug 65916] IndexOutOfBoundsException - Workbook.write()

2023-06-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65916 --- Comment #9 from moimoi.chk --- Hey Tom! This problem seems to occur when there is an empty line in the iterator. = Examples of okay case1 remove empty row = fun clearAll(sheet: Sheet) { val itr =

[Bug 65916] IndexOutOfBoundsException - Workbook.write()

2023-06-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65916 --- Comment #8 from moimoi.chk --- This link is an excel file, but it might open in Google Spreadsheet on its own. It would be better to save the file directly as an excel file if possible, but if not, I think it is possible to reproduce it by

[Bug 65916] IndexOutOfBoundsException - Workbook.write()

2023-06-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65916 --- Comment #7 from moimoi.chk --- Hey Tom! Several years have passed and I had no choice but to return to help with this problem^^/! ExcelFile:

[Bug 65916] IndexOutOfBoundsException - Workbook.write()

2023-06-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65916 --- Comment #6 from PJ Fanning --- I added r1910569 that proves creating 2 rows with same row num does not cause an exception. -- You are receiving this mail because: You are the assignee for the bug.

[Bug 65916] IndexOutOfBoundsException - Workbook.write()

2023-06-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65916 --- Comment #5 from PJ Fanning --- r.naujack - could you provide a fuller example? 2 lines with no idea what classesyou used is not a reproducible test case. -- You are receiving this mail because: You are the assignee for the bug.

[Bug 65916] IndexOutOfBoundsException - Workbook.write()

2023-06-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65916 r.naujack+...@quotas.de changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug 65916] IndexOutOfBoundsException - Workbook.write()

2023-06-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65916 --- Comment #4 from r.naujack+...@quotas.de --- I had this problem in a sheet with a duplicate created row: final Row h1Row = sheet.createRow(2); final Row h2Row = sheet.createRow(2); It works with versions <= 4.10.

[Bug 65916] IndexOutOfBoundsException - Workbook.write()

2022-12-26 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65916 Dominik Stadler changed: What|Removed |Added Status|NEEDINFO|RESOLVED Resolution|---

[Bug 65916] IndexOutOfBoundsException - Workbook.write()

2022-02-25 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65916 PJ Fanning changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #2 from PJ Fanning

[Bug 65916] IndexOutOfBoundsException - Workbook.write()

2022-02-24 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65916 --- Comment #1 from moimoi.chk --- I was mistaken. Please ignore the very last section. -- You are receiving this mail because: You are the assignee for the bug. - To