Error-DOMSource cannot be processed: | Selenium Forum
M
Posted on 03/11/2015
Hi, I am getting this error message on Module 20 , when I run the
attached code.
Error
DOMSource cannot be processed: check that saxon8-dom.jar is on the classpath
Error
DOMSource cannot be processed: check that saxon8-dom.jar is on the classpath
org.apache.poi.openxml4j.exceptions.OpenXML4JRuntimeException: Fail to save: an error occurs while saving the package : The part /docProps/core.xml fail to be saved in the stream with marshaller org.apache.poi.openxml4j.opc.internal.marshallers.ZipPackagePropertiesMarshaller@795eac8b
at org.apache.poi.openxml4j.opc.ZipPackage.saveImpl(ZipPackage.java:503)
at org.apache.poi.openxml4j.opc.OPCPackage.save(OPCPackage.java:1441)
at org.apache.poi.POIXMLDocument.write(POIXMLDocument.java:212)
at utility.Xls_Reader.setCellData(Xls_Reader.java:223)
at test.UpdateResult_DataSet.reportDataSetResult(UpdateResult_DataSet.java:19)
at test.UpdateResult_DataSet.main(UpdateResult_DataSet.java:12)
Caused by: org.apache.poi.openxml4j.exceptions.OpenXML4JException: The part /docProps/core.xml fail to be saved in the stream with marshaller org.apache.poi.openxml4j.opc.internal.marshallers.ZipPackagePropertiesMarshaller@795eac8b
at org.apache.poi.openxml4j.opc.ZipPackage.saveImpl(ZipPackage.java:486)
... 5 more
java.io.EOFException: Unexpected end of ZLIB input stream
at java.util.zip.InflaterInputStream.fill(Unknown Source)
at java.util.zip.InflaterInputStream.read(Unknown Source)
at java.util.zip.ZipInputStream.read(Unknown Source)
at org.apache.poi.openxml4j.util.ZipSecureFile$ThresholdInputStream.read(ZipSecureFile.java:168)
at java.io.FilterInputStream.read(Unknown Source)
at org.apache.poi.openxml4j.util.ZipInputStreamZipEntrySource$FakeZipEntry.<init>(ZipInputStreamZipEntrySource.java:130)
at org.apache.poi.openxml4j.util.ZipInputStreamZipEntrySource.<init>(ZipInputStreamZipEntrySource.java:57)
at org.apache.poi.openxml4j.opc.ZipPackage.<init>(ZipPackage.java:91)
at org.apache.poi.openxml4j.opc.OPCPackage.open(OPCPackage.java:273)
at org.apache.poi.util.PackageHelper.open(PackageHelper.java:37)
at org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:273)
at utility.Xls_Reader.setCellData(Xls_Reader.java:183)
at test.UpdateResult_DataSet.reportDataSetResult(UpdateResult_DataSet.java:19)
at test.UpdateResult_DataSet.main(UpdateResult_DataSet.java:13)

M
Replied on 03/11/2015

use the latest version of [color=#FF0000:frq5er50]saxon9-dom.jar[/color:frq5er50]


M
Replied on 04/11/2015

Thanks for your support Responsive image .