I did a git clone the other day, built the source and then try to run the EditEmbeddedCharts java sample under pptx4j.
When doing so I am getting the following errors:
- Code: Select all
javax.xml.bind.JAXBException: No JAXBElement has been created for this part, yet!
at org.docx4j.openpackaging.parts.JaxbXmlPart.marshal(JaxbXmlPart.java:226)
at org.docx4j.openpackaging.parts.JaxbXmlPart.marshal(JaxbXmlPart.java:202)
at org.docx4j.openpackaging.io.SaveToZipFile.saveRawXmlPart(SaveToZipFile.java:246)
at org.docx4j.openpackaging.io.SaveToZipFile.saveRawXmlPart(SaveToZipFile.java:195)
at org.docx4j.openpackaging.io.SaveToZipFile.savePart(SaveToZipFile.java:419)
at org.docx4j.openpackaging.io.SaveToZipFile.addPartsFromRelationships(SaveToZipFile.java:382)
at org.docx4j.openpackaging.io.SaveToZipFile.save(SaveToZipFile.java:165)
at org.pptx4j.samples.EditEmbeddedCharts.main(EditEmbeddedCharts.java:152)
org.docx4j.openpackaging.exceptions.Docx4JException: Failed to add parts from relationships of /
at org.docx4j.openpackaging.io.SaveToZipFile.addPartsFromRelationships(SaveToZipFile.java:387)
at org.docx4j.openpackaging.io.SaveToZipFile.save(SaveToZipFile.java:165)
at org.pptx4j.samples.EditEmbeddedCharts.main(EditEmbeddedCharts.java:152)
Caused by: org.docx4j.openpackaging.exceptions.Docx4JException: Problem saving part xl/workbook.xml
at org.docx4j.openpackaging.io.SaveToZipFile.saveRawXmlPart(SaveToZipFile.java:304)
at org.docx4j.openpackaging.io.SaveToZipFile.saveRawXmlPart(SaveToZipFile.java:195)
at org.docx4j.openpackaging.io.SaveToZipFile.savePart(SaveToZipFile.java:419)
at org.docx4j.openpackaging.io.SaveToZipFile.addPartsFromRelationships(SaveToZipFile.java:382)
... 2 more
Caused by: javax.xml.bind.JAXBException: No JAXBElement has been created for this part, yet!
at org.docx4j.openpackaging.parts.JaxbXmlPart.marshal(JaxbXmlPart.java:226)
at org.docx4j.openpackaging.parts.JaxbXmlPart.marshal(JaxbXmlPart.java:202)
at org.docx4j.openpackaging.io.SaveToZipFile.saveRawXmlPart(SaveToZipFile.java:246)
... 5 more
Exception in thread "main" org.docx4j.openpackaging.exceptions.Docx4JException: Failed to add parts from relationships of /
at org.docx4j.openpackaging.io.SaveToZipFile.addPartsFromRelationships(SaveToZipFile.java:387)
at org.docx4j.openpackaging.io.SaveToZipFile.save(SaveToZipFile.java:165)
at org.pptx4j.samples.EditEmbeddedCharts.main(EditEmbeddedCharts.java:152)
Caused by: org.docx4j.openpackaging.exceptions.Docx4JException: Problem saving part xl/workbook.xml
at org.docx4j.openpackaging.io.SaveToZipFile.saveRawXmlPart(SaveToZipFile.java:304)
at org.docx4j.openpackaging.io.SaveToZipFile.saveRawXmlPart(SaveToZipFile.java:195)
at org.docx4j.openpackaging.io.SaveToZipFile.savePart(SaveToZipFile.java:419)
at org.docx4j.openpackaging.io.SaveToZipFile.addPartsFromRelationships(SaveToZipFile.java:382)
... 2 more
Caused by: javax.xml.bind.JAXBException: No JAXBElement has been created for this part, yet!
at org.docx4j.openpackaging.parts.JaxbXmlPart.marshal(JaxbXmlPart.java:226)
at org.docx4j.openpackaging.parts.JaxbXmlPart.marshal(JaxbXmlPart.java:202)
at org.docx4j.openpackaging.io.SaveToZipFile.saveRawXmlPart(SaveToZipFile.java:246)
... 5 more
I was able to run the RoundTripTest program without any errors to verify that I built the library correctly.
Any insight as to a possible solution or workaround for this?
Thanks in Advance.