org.zkoss.poi.openxml4j.exceptions.PartAlreadyExistsException: A part with the name '/xl/charts/chart2.xml' already exists : Packages shall not contain equivalent part names and package implementers shall neither create nor recognize packages with equivalent part names. [M1.12]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via ZK-Tracker by hawk, 1 year ago
A part with the name '/xl/charts/chart2.xml' already exists : Packages shall not contain equivalent part names and package implementers shall neither create nor recognize packages with equivalent part names. [M1.12]
via ZK-Tracker by hawk, 1 year ago
A part with the name '/xl/charts/chart2.xml' already exists : Packages shall not contain equivalent part names and package implementers shall neither create nor recognize packages with equivalent part names. [M1.12]
via ZK-Tracker by hawk, 1 year ago
A part with the name '/xl/media/image2.png' already exists : Packages shall not contain equivalent part names and package implementers shall neither create nor recognize packages with equivalent part names. [M1.12]
via ZK-Tracker by hawk, 1 year ago
A part with the name '/xl/media/image2.png' already exists : Packages shall not contain equivalent part names and package implementers shall neither create nor recognize packages with equivalent part names. [M1.12]
org.zkoss.poi.openxml4j.exceptions.PartAlreadyExistsException: A part with the name '/xl/charts/chart2.xml' already exists : Packages shall not contain equivalent part names and package implementers shall neither create nor recognize packages with equivalent part names. [M1.12]
at org.zkoss.poi.openxml4j.opc.OPCPackage.createPart(OPCPackage.java:735)
at org.zkoss.poi.openxml4j.opc.OPCPackage.createPart(OPCPackage.java:699)
at org.zkoss.poi.POIXMLDocumentPart.createRelationship(POIXMLDocumentPart.java:350)
at org.zkoss.poi.POIXMLDocumentPart.createRelationship(POIXMLDocumentPart.java:334)
at org.zkoss.poi.xssf.usermodel.XSSFDrawing.createChart(XSSFDrawing.java:203)
at org.zkoss.poi.xssf.usermodel.XSSFDrawing.createChart(XSSFDrawing.java:214)
at org.zkoss.poi.xssf.usermodel.XSSFDrawing.createChart(XSSFDrawing.java:1)
at org.zkoss.zssex.model.impl.DrawingManagerImpl.addChartX(DrawingManagerImpl.java:304)
at org.zkoss.zss.model.sys.impl.XRangeImpl.addChart(XRangeImpl.java:2249)
at org.zkoss.zss.api.impl.RangeImpl.addChart(RangeImpl.java:729)
at org.zkoss.zss.api.SheetOperationUtil.addChart(SheetOperationUtil.java:135)
at org.zkoss.zssex.ui.DefaultExUserActionHandler.doChart(DefaultExUserActionHandler.java:278)
at org.zkoss.zssex.ui.DefaultExUserActionHandler.doColumnChart(DefaultExUserActionHandler.java:285)
at org.zkoss.zssex.ui.DefaultExUserActionHandler.dispatchAction(DefaultExUserActionHandler.java:188)
at org.zkoss.zss.ui.DefaultUserActionHandler.onEvent(DefaultUserActionHandler.java:1412)
at org.zkoss.zssex.ui.DefaultExUserActionHandler.onEvent(DefaultExUserActionHandler.java:56)
at org.zkoss.zss.ui.Spreadsheet$3.onEvent(Spreadsheet.java:343)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.