[Bug 65065] NullPointerException in org.apache.poi.xssf.usermodel.XSSFCellStyle#cloneStyleFrom
https://bz.apache.org/bugzilla/show_bug.cgi?id=65065 PJ Fanning changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #5 from PJ Fanning --- Closing as the test passes - reopen if you can provide a broken test scenario -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org
[Bug 65065] NullPointerException in org.apache.poi.xssf.usermodel.XSSFCellStyle#cloneStyleFrom
https://bz.apache.org/bugzilla/show_bug.cgi?id=65065 --- Comment #4 from PJ Fanning --- I wrote a test case that parsed the attached xlsx and tried to clone all its styles and had no issues (latest poi trunk code). In the snippet below, I renamed the test file. ``` void test65065() throws IOException { try (XSSFWorkbook wb = openSampleWorkbook("bug65065.xlsx")) { int size = wb.getStylesSource().getNumCellStyles(); for (int i = 0; i < size; i++) { XSSFCellStyle style = wb.getStylesSource().getStyleAt(i); wb.createCellStyle().cloneStyleFrom(style); } } } ``` -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org
[Bug 65065] NullPointerException in org.apache.poi.xssf.usermodel.XSSFCellStyle#cloneStyleFrom
https://bz.apache.org/bugzilla/show_bug.cgi?id=65065 Dominik Stadler changed: What|Removed |Added Status|NEEDINFO|NEW -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org
[Bug 65065] NullPointerException in org.apache.poi.xssf.usermodel.XSSFCellStyle#cloneStyleFrom
https://bz.apache.org/bugzilla/show_bug.cgi?id=65065 --- Comment #3 from liugenshui2...@163.com --- (In reply to Andreas Beeker from comment #1) > as usual: please attach the causing Excel file the causing Excel file see Comment 2 -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org
[Bug 65065] NullPointerException in org.apache.poi.xssf.usermodel.XSSFCellStyle#cloneStyleFrom
https://bz.apache.org/bugzilla/show_bug.cgi?id=65065 --- Comment #2 from liugenshui2...@163.com --- Created attachment 37693 --> https://bz.apache.org/bugzilla/attachment.cgi?id=37693&action=edit the causing Excel file the causing Excel file -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org
[Bug 65065] NullPointerException in org.apache.poi.xssf.usermodel.XSSFCellStyle#cloneStyleFrom
https://bz.apache.org/bugzilla/show_bug.cgi?id=65065 Andreas Beeker changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #1 from Andreas Beeker --- as usual: please attach the causing Excel file -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org