Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


On 07.01.2016 10:15, Zhang, William wrote:
1.       Open a .ods file manually, save it with password.

/2.       /In code, execute *“SpreadsheetDocument.loadDocument(File
file, String password)**”*, it always throw NullPointer Exception.//

->After checking the source code, the code in ZipHelper.line87:
*System.getProperty(**“Java.version**”).equals(**…) *in try/catch will
throw NullPointer.

that sounds like a bug.

Based on this situation, I don’t know if you tried with this API before.
And do you have some more information?

no i haven't - i only use (and occasionally improve) the ODF Validator,
which uses only some parts of ODFDOM.

i suggest you ask on the ODF Toolkit mailing lists and/or file bugs in
the JIRA tracker.

https://incubator.apache.org/odftoolkit/mailing-lists.html

https://issues.apache.org/jira/browse/ODFTOOLKIT

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.