incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guzman Rejon (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ODFTOOLKIT-375) odftoolkit-0.6 does not work in my environment
Date Mon, 02 Sep 2013 18:41:51 GMT
Guzman Rejon created ODFTOOLKIT-375:
---------------------------------------

             Summary: 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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message