incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Hopf (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (ODFTOOLKIT-133) NullPointerException sometimes happened when parsing a centain kind of XML under IBM JDK
Date Thu, 10 Jan 2013 05:34:13 GMT

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

Florian Hopf closed ODFTOOLKIT-133.
-----------------------------------

    Resolution: Fixed
    
> NullPointerException sometimes happened when parsing a centain kind of XML under IBM
JDK
> ----------------------------------------------------------------------------------------
>
>                 Key: ODFTOOLKIT-133
>                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-133
>             Project: ODF Toolkit
>          Issue Type: Bug
>          Components: java
>    Affects Versions: odfdom-0.8.5
>         Environment: Operating System: All
> Platform: All
>            Reporter: kelvin
>             Fix For: odfdom-0.8.7, 0.5-incubating
>
>         Attachments: ASF.LICENSE.NOT.GRANTED--bug202_failuretest.patch, ASF.LICENSE.NOT.GRANTED--EditMetadata.java,
ASF.LICENSE.NOT.GRANTED--test.odp
>
>
> Created an attachment (id=303)
> testcase code
> I needed to change the creator name in some presentations that I am working on as I borrowed
a slide deck from someone to get her look and feel. However I did not want her name showing
up as the presentation creator. As Open Office and Symphony offer no way to edit this field
I wrote the attached small program to do it.
> In my testing I found:
> 1. If the creator name is not set yet (ie null) my program works
> 2. If the creator name is already set, the ODF toolkit throws a NullPointerException
during save().
> I am attaching a test case and a one page odp file.
> Kelvin

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