Hi Jason,
When I add an excel in PPTX as table , it throws null pointer java.lang.IllegalArgumentException: Unexpected node type: null.
Can you please advise if this is possible?
I need to color code PPTX based on the values.
I thought I can add excel and add formula to the cell to make it work .. but when I add excel (with or with out formatting cell ) the parsing fails.
It works great with the charts ..
Here is full stack trace.. appreciate your help. I am in the final stages of release.. please help.
Thanks,
IK
14878 [main] INFO org.docx4j.openpackaging.parts.Part - /ppt/drawings/vmlDrawing1.vml
java.lang.IllegalArgumentException: Unexpected node type: null
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:309)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:286)
at org.docx4j.openpackaging.parts.JaxbXmlPart.unmarshal(JaxbXmlPart.java:285)
at org.docx4j.convert.in.FlatOpcXmlImporter.getRawPart(FlatOpcXmlImporter.java:466)
at org.docx4j.convert.in.FlatOpcXmlImporter.getRawPart(FlatOpcXmlImporter.java:387)
at org.docx4j.convert.in.FlatOpcXmlImporter.getPart(FlatOpcXmlImporter.java:326)
at org.docx4j.convert.in.FlatOpcXmlImporter.addPartsFromRelationships(FlatOpcXmlImporter.java:256)
at org.docx4j.convert.in.FlatOpcXmlImporter.getPart(FlatOpcXmlImporter.java:343)
at org.docx4j.convert.in.FlatOpcXmlImporter.addPartsFromRelationships(FlatOpcXmlImporter.java:256)
at org.docx4j.convert.in.FlatOpcXmlImporter.getPart(FlatOpcXmlImporter.java:343)
at org.docx4j.convert.in.FlatOpcXmlImporter.addPartsFromRelationships(FlatOpcXmlImporter.java:256)
at org.docx4j.convert.in.FlatOpcXmlImporter.get(FlatOpcXmlImporter.java:183)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:240)
at org.docx4j.openpackaging.packages.OpcPackage.load(OpcPackage.java:210)
at com.cisco.cstg.cds.comp.orf.ooxml.pptx.PptxHandlerImpl.parse(PptxHandlerImpl.java:73)
at com.cisco.cstg.cds.comp.orf.delegate.process.PptxMetadataGenerator.execute(PptxMetadataGenerator.java:43)
at com.cisco.cstg.cds.comp.orf.wkf.EngineWorkflowImpl.execute(EngineWorkflowImpl.java:44)
at com.cisco.cstg.cds.comp.orf.ReportEngineServcieImpl.run(ReportEngineServcieImpl.java:100)
at com.cisco.cstg.cds.comp.orf.ReportEngineDriver.fireEngineRequest(ReportEngineDriver.java:95)
at com.cisco.cstg.cds.comp.orf.ReportEngineDriver.exec(ReportEngineDriver.java:48)
at com.cisco.cstg.cds.comp.orf.ReportEngineDriver.main(ReportEngineDriver.java:28)
Reason:com.cisco.cstg.cds.comp.orf.wkf.WorkflowException: Error while parse in running metadata generationFailed to add parts from relationships
at com.cisco.cstg.cds.comp.orf.delegate.process.PptxMetadataGenerator.execute(PptxMetadataGenerator.java:51)
at com.cisco.cstg.cds.comp.orf.wkf.EngineWorkflowImpl.execute(EngineWorkflowImpl.java:44)