Bug 58711 - unable to write to excel file ( .xlsx).
Summary: unable to write to excel file ( .xlsx).
Status: RESOLVED INVALID
Alias: None
Product: POI
Classification: Unclassified
Component: XSSF (show other bugs)
Version: 3.13-FINAL
Hardware: PC All
: P2 blocker (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-09 16:29 UTC by Bheemal Naik
Modified: 2015-12-27 09:07 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bheemal Naik 2015-12-09 16:29:45 UTC
when i try to write something to excel (.xlsx) file
getting below errror.

Exception in thread "main" org.apache.poi.openxml4j.exceptions.OpenXML4JRuntimeException: Rule M2.4 exception : this error should NEVER happen! Please raise a bug at https://bz.apache.org/bugzilla/enter_bug.cgi?product=POI and attach a file that triggers it, thanks!
	at org.apache.poi.openxml4j.opc.internal.ContentTypeManager.getContentType(ContentTypeManager.java:343)
	at org.apache.poi.openxml4j.opc.internal.ContentTypeManager.removeContentType(ContentTypeManager.java:256)
	at org.apache.poi.openxml4j.opc.OPCPackage.removePart(OPCPackage.java:943)
	at org.apache.poi.openxml4j.opc.PackagePart.getOutputStream(PackagePart.java:522)
	at org.apache.poi.xssf.usermodel.XSSFWorkbook.commit(XSSFWorkbook.java:1678)
	at org.apache.poi.POIXMLDocumentPart.onSave(POIXMLDocumentPart.java:341)
	at org.apache.poi.POIXMLDocument.write(POIXMLDocument.java:206)
	at WorkingWithExcel.ReadXlsx.main(ReadXlsx.java:80)
Comment 1 Nick Burch 2015-12-09 16:41:07 UTC
As the exception requests, could you please upload the file you used to trigger this exception with, along with any steps needed?
Comment 2 Dominik Stadler 2015-12-27 09:07:39 UTC
No response on request for more information, therefore closing this for now, please reopen when you can attach a file which reproduces the problem.