at org.apache.poi.poifs.crypt.AgileDecryptor.access$200(AgileDecryptor.java:39)
at org.apache.poi.poifs.crypt.AgileDecryptor$ChunkedCipherInputStream.<init>(AgileDecryptor.java:127)
at org.apache.poi.poifs.crypt.AgileDecryptor.getDataStream(AgileDecryptor.java:103)
at org.apache.poi.poifs.crypt.Decryptor.getDataStream(Decryptor.java:85)
*/
throw new Docx4JException("Problem reading compound file: wrong password?", e);
} catch (Exception e) {
throw new Docx4JException("Problem reading compound file", e);
} finally {
new EventFinished(startEvent).publish();
}
}
try {
FlatOpcXmlImporter xmlPackage = new FlatOpcXmlImporter(is);
return xmlPackage.get();
} catch (final Exception e) {
OpcPackage.log.error(e.getMessage(), e);
throw new Docx4JException("Couldn't load xml from stream ",e);
} finally {
new EventFinished(startEvent).publish();
}
}