Closed Stormtroeperr closed 4 years ago
There should be more log-output if you enable logging with -Dorg.apache.poi.util.POILogger=org.apache.poi.util.SystemOutLogger or -Dorg.apache.poi.util.POILogger=org.apache.poi.util.CommonsLogger which might explain what happens?
Possible reasons can be missing rights to write the file at that location.
Hey, Centic thanks for coming back to me so soon!
I did as you said and for some magical reason, it all started working before I could even try the logger on the release build.
I absolutely have no clue why but ill take it :)
Thanks for the help!
Good day! Whenever I run my android application on release mode it crashes on XWPFDocument.write(out) with the following error.
org.apache.poi.openxml4j.exceptions.OpenXML4JRuntimeException: Fail to save: an error occurs while saving the package: The part /docProps/app.xml failed to be saved in the stream with marshaller org.apache.poi.openxml4j.opc.internal.marshallers.DefaultMarshaller@29b8687
I tried to google the error but I couldn't find a solution that worked for me.
public class DocumentParser extends Thread { private XWPFDocument _document;
Thanks for the help in advance!