You are viewing a plain text version of this content. The canonical link for it is here.
Posted to odf-dev@incubator.apache.org by "Svante Schubert (JIRA)" <ji...@apache.org> on 2017/03/15 12:06:41 UTC

[jira] [Updated] (ODFTOOLKIT-375) odftoolkit-0.6 does not work in my environment

     [ https://issues.apache.org/jira/browse/ODFTOOLKIT-375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Svante Schubert updated ODFTOOLKIT-375:
---------------------------------------
    Fix Version/s: 0.6.2-incubating

> odftoolkit-0.6 does not work in my environment
> ----------------------------------------------
>
>                 Key: ODFTOOLKIT-375
>                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-375
>             Project: ODF Toolkit
>          Issue Type: Bug
>          Components: odfdom, simple api, xslt-runner, xslt-runner-task
>    Affects Versions: 0.6-incubating
>         Environment: Java 1.6, Windows 7, 64 bits
>            Reporter: Guzman Rejon
>            Assignee: Svante Schubert
>              Labels: Error
>             Fix For: 0.6.2-incubating
>
>
> I'm doing a program to read/modify metadata of ODF documents, the program works correctly with version odftoolkit-0.5 but not with odftoolkit-0.6 version, running the first line jumps to the finally block directly without giving any kind of error, this is my code:
> try {
>        doc = (TextDocument) TextDocument.loadDocument(new File("OdfTextDocument.odt"));
>        OdfFileDom metadom = doc.getMetaDom();
>        Meta metadata = new Meta(metadom);
>        ...
> } finally {
>        if(doc != null)
> 	  doc.close();
> }
> 	            



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)