incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devin Han (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ODFTOOLKIT-133) NullPointerException sometimes happened when parsing a centain kind of XML under IBM JDK
Date Fri, 21 Oct 2011 09:26:32 GMT

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

Devin Han resolved ODFTOOLKIT-133.
----------------------------------

    Resolution: Fixed
      Assignee:     (was: Ying Chun Guo)
    
> 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: 0.8.5
>         Environment: Operating System: All
> Platform: All
>            Reporter: kelvin
>             Fix For: 0.8.7
>
>         Attachments: EditMetadata.java, bug202_failuretest.patch, 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message