Hi, I have a hunch that the http request just gets aborted/reset so the output stream just gets closed.
But I still think it would be nice for the root exception to be preserved, for future cases, to avoid guessing. Maybe I can convince the devs to update that line to include it. Thank you. On Thu, Jun 30, 2016 at 9:05 PM, Dominik Stadler <dominik.stad...@gmx.at> wrote: > Hi, > > If you can debug the application in an IDE you can set a breakpoint and > investigate the Exception or call "e.printStackTrace()" on it to get the > full details printed to stdout. > > A nother option might be to try to narrow down into a unit test to get a > better reproducer that shows the root cause more easily. > > If that is too much effort you might need to patch the class and add it to > the classpath of your J2EE App so that it prints out full details. > > Dominik. > > > On Thu, Jun 30, 2016 at 6:22 PM, Andrei Ivanov <andrei.iva...@gmail.com> > wrote: > >> Hi, >> I'm getting some exceptions in the production logs of a web application: >> >> 30-Jun-2016 14:03:50.820 WARNING [http-apr-443-exec-12] >> com.sun.faces.lifecycle.InvokeApplicationPhase.execute 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@526becbb >> 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@526becbb >> at >> org.apache.poi.openxml4j.opc.ZipPackage.saveImpl(ZipPackage.java:502) >> at org.apache.poi.openxml4j.opc.OPCPackage.save(OPCPackage.java:1467) >> at org.apache.poi.POIXMLDocument.write(POIXMLDocument.java:217) >> at >> org.primefaces.component.export.ExcelExporter.writeExcelToResponse(ExcelExporter.java:216) >> .... >> 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@526becbb >> at >> org.apache.poi.openxml4j.opc.ZipPackage.saveImpl(ZipPackage.java:482) >> ... 90 more >> >> >> I'm trying to investigate the issue, but as far as I see in >> >> https://svn.apache.org/repos/asf/poi/trunk/src/ooxml/java/org/apache/poi/openxml4j/opc/internal/marshallers/ZipPackagePropertiesMarshaller.java >> , >> it swallows the root cause, on line 59 :-( >> >> Using POI 3.14 with Primefaces 6.0 on Tomcat 8.0.36 and JDK 1.8.0_92-b14 >> >> Any clues on how to proceed? >> >> Thank you. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@poi.apache.org >> For additional commands, e-mail: user-h...@poi.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@poi.apache.org For additional commands, e-mail: user-h...@poi.apache.org