[
https://issues.apache.org/jira/browse/ODFTOOLKIT-375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Svante Schubert reassigned ODFTOOLKIT-375:
------------------------------------------
Assignee: Svante Schubert
> 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
>
> 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)